:root {
    --bg: #08111f;
    --bg-soft: #0d1730;
    --panel: rgba(10, 19, 34, 0.76);
    --panel-strong: rgba(10, 19, 34, 0.92);
    --panel-2: rgba(15, 27, 49, 0.9);
    --text: #f3f5fb;
    --muted: #b5bfd4;
    --muted-strong: #d7dfef;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 204, 92, 0.38);
    --accent: #f7c952;
    --accent-strong: #ffd86f;
    --accent-shadow: rgba(247, 201, 82, 0.24);
    --shadow-xl: 0 34px 90px rgba(0, 0, 0, 0.38);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.28);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: min(1240px, calc(100vw - 48px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Cairo", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(255, 198, 86, 0.14), transparent 28%),
        radial-gradient(circle at bottom left, rgba(255, 185, 56, 0.12), transparent 26%),
        linear-gradient(180deg, #08111f 0%, #0a1324 38%, #091423 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 16, 0.28);
    backdrop-filter: blur(0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease, backdrop-filter 0.24s ease;
    z-index: 35;
}

body.lang-en {
    letter-spacing: 0.01em;
}

body.nav-menu-open {
    overflow: hidden;
}

body.nav-menu-open::before {
    opacity: 1;
    backdrop-filter: blur(6px);
}

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

img {
    max-width: 100%;
}

h1,
h2,
h3,
.brand span,
.footer-brand span {
    margin: 0;
    font-family: "Space Grotesk", "Cairo", sans-serif;
}

p {
    margin: 0;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.site-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.backdrop-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(100px);
    opacity: 0.55;
}

.backdrop-glow-a {
    width: 460px;
    height: 460px;
    top: -120px;
    right: -150px;
    background: rgba(247, 201, 82, 0.18);
}

.backdrop-glow-b {
    width: 520px;
    height: 520px;
    bottom: -210px;
    left: -180px;
    background: rgba(28, 56, 122, 0.5);
}

.backdrop-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 88%);
    opacity: 0.5;
}

.hero {
    position: relative;
    padding: 34px 0 70px;
}

.hero::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.top-nav {
    position: relative;
    z-index: 40;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    min-height: 94px;
    padding: 16px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(13, 22, 40, 0.9), rgba(8, 17, 31, 0.82));
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-lg);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 1.12rem;
    font-weight: 700;
    white-space: nowrap;
}

.brand img,
.footer-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 50%;
    padding: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-strong);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.nav-links a {
    position: relative;
    color: var(--muted-strong);
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.24s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.lang-switch {
    position: relative;
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 4px;
    direction: ltr;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.035);
    overflow: hidden;
}

.lang-switch::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 10px 24px var(--accent-shadow);
    transition: transform 0.26s ease;
}

.lang-switch.is-en::before {
    transform: translateX(100%);
}

.lang-btn {
    position: relative;
    z-index: 1;
    min-width: 106px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted-strong);
    font: inherit;
    font-size: 0.94rem;
    font-weight: 800;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lang-btn.active {
    color: #0c1320;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.nav-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 204, 92, 0.34);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

body.nav-menu-open .nav-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 204, 92, 0.34);
}

body.nav-menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.nav-menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
    padding-top: 34px;
    direction: ltr;
}

.hero-copy,
.hero-visual {
    direction: rtl;
}

.hero-visual {
    flex: 0 1 56%;
    min-width: 0;
}

.hero-copy {
    flex: 0 1 44%;
    min-width: 360px;
    max-width: 590px;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 5vw, 5.3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero-copy h1 .accent-line,
.hero-copy h1 strong {
    color: var(--accent);
}

.hero-text,
.section-text,
.project-description,
.post-card p,
.legal-card p,
.policy-list {
    color: var(--muted);
    line-height: 1.95;
    font-size: 1.08rem;
}

.hero-text {
    margin-top: 28px;
    max-width: 620px;
}

.hero-cta,
.legal-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    color: #0d1320;
    background: linear-gradient(135deg, var(--accent), #ffd86f);
    box-shadow: 0 18px 34px rgba(247, 201, 82, 0.24);
}

.btn-ghost {
    color: var(--text);
    border-color: rgba(255, 204, 92, 0.48);
    background: rgba(255, 255, 255, 0.03);
}

.hero-visual-frame {
    position: relative;
    min-height: 640px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(8, 17, 31, 0.22), rgba(8, 17, 31, 0.9)),
        linear-gradient(135deg, rgba(255, 198, 86, 0.08), transparent 42%);
    box-shadow: var(--shadow-xl);
}

.hero-visual-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 201, 82, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(4, 10, 21, 0.08), rgba(4, 10, 21, 0.72));
    z-index: 1;
}

.hero-visual-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    filter: saturate(0.75) contrast(1.08);
}

.hero-plaque {
    position: absolute;
    right: 68px;
    bottom: 74px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    border-radius: 26px;
    border: 1px solid rgba(255, 204, 92, 0.38);
    background: rgba(8, 16, 30, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.26);
}

.hero-plaque img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    border-radius: 50%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 204, 92, 0.24);
}

.hero-plaque strong {
    display: block;
    color: var(--accent);
    font-size: 3.1rem;
    line-height: 0.88;
}

.hero-plaque span {
    display: block;
    margin-top: 4px;
    color: #e6eaf4;
    font-size: 1.55rem;
    font-weight: 700;
}

.hero-line {
    position: absolute;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255, 204, 92, 0), rgba(255, 204, 92, 0.92), rgba(255, 204, 92, 0));
    box-shadow: 0 0 20px rgba(255, 204, 92, 0.28);
}

.hero-line-a {
    top: 56px;
    left: 46px;
    width: 1px;
    height: calc(100% - 112px);
}

.hero-line-b {
    left: 46px;
    bottom: 94px;
    width: 240px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 204, 92, 0.9), rgba(255, 204, 92, 0));
}

.section {
    position: relative;
    padding: 98px 0;
}

.section::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 800;
}

.section-label-centered,
.section-heading-centered,
.section-text-centered,
.contact-head {
    text-align: center;
}

.section h2 {
    font-size: clamp(2rem, 4vw, 3.9rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.section-text {
    margin-top: 18px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
}

.about-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    direction: ltr;
}

.about-media,
.project-media,
.project-placeholder {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(12, 22, 39, 0.8), rgba(9, 17, 31, 0.96));
    box-shadow: var(--shadow-lg);
}

.about-media {
    flex: 0 1 56%;
    min-width: 0;
}

.about-media {
    min-height: 440px;
}

.about-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 17, 31, 0.06), rgba(8, 17, 31, 0.74)),
        linear-gradient(135deg, rgba(255, 204, 92, 0.12), transparent 42%);
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.04);
}

.about-copy {
    flex: 0 1 44%;
    min-width: 0;
    direction: rtl;
}

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

.stat-card {
    padding: 24px 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(16, 27, 48, 0.72), rgba(8, 15, 28, 0.94));
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.stat-card strong {
    display: block;
    color: var(--accent);
    font-family: "Space Grotesk", "Cairo", sans-serif;
    font-size: 2rem;
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 12px;
    color: var(--muted-strong);
    font-size: 1rem;
    font-weight: 700;
}

.services-shell {
    padding-top: 12px;
}

.section-heading-centered {
    max-width: 780px;
    margin-inline: auto;
}

.services-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    gap: 30px;
    margin-top: 44px;
    align-items: stretch;
}

.service-stack {
    display: grid;
    gap: 18px;
}

.service-card {
    position: relative;
    padding: 28px 28px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(180deg, rgba(14, 24, 43, 0.74), rgba(9, 16, 29, 0.96));
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.service-card::before {
    content: attr(data-step);
    position: absolute;
    top: 20px;
    left: 24px;
    color: rgba(255, 204, 92, 0.14);
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
}

.service-card h3 {
    margin-bottom: 10px;
    padding-inline-start: 18px;
    font-size: 1.34rem;
}

.service-card p {
    color: var(--muted);
    padding-inline-start: 18px;
}

.services-axis {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.services-axis::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 204, 92, 0), rgba(255, 204, 92, 0.6), rgba(255, 204, 92, 0));
}

.services-axis span {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 8px rgba(247, 201, 82, 0.08);
}

.portfolio-list {
    display: grid;
    gap: 22px;
}

.project-card {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: 26px;
    align-items: center;
    padding: 28px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(13, 23, 42, 0.82), rgba(8, 15, 28, 0.98)),
        linear-gradient(135deg, rgba(255, 204, 92, 0.08), transparent 40%);
    box-shadow: var(--shadow-lg);
}

.project-card:first-child {
    min-height: 420px;
}

.project-card h3 {
    font-size: 2rem;
    line-height: 1.18;
}

.project-content {
    display: grid;
    gap: 16px;
}

.project-media {
    min-height: 260px;
    padding: 18px;
}

.project-images {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.project-images img {
    width: 100%;
    height: clamp(240px, 28vw, 360px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    background: rgba(255, 255, 255, 0.03);
}

.project-placeholder {
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 28px;
}

.project-placeholder::before {
    content: "";
    position: absolute;
    inset: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 204, 92, 0.14);
}

.project-placeholder-mark {
    position: relative;
    z-index: 1;
    text-align: center;
}

.project-placeholder-mark img {
    width: 88px;
    height: 88px;
    margin-bottom: 14px;
    border-radius: 50%;
    padding: 8px;
    border: 1px solid rgba(255, 204, 92, 0.28);
    background: rgba(255, 255, 255, 0.02);
}

.project-placeholder-mark strong {
    display: block;
    color: var(--accent);
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.5rem;
    line-height: 0.9;
}

.project-placeholder-mark span {
    display: block;
    margin-top: 6px;
    color: var(--muted-strong);
    font-size: 1.15rem;
    font-weight: 700;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 204, 92, 0.26);
    background: rgba(255, 255, 255, 0.03);
    font-weight: 800;
}

.store-btn.android i {
    color: #8ee58f;
}

.store-btn.ios i {
    color: #dfe4ef;
}

.store-btn.disabled {
    opacity: 0.45;
    pointer-events: none;
}

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

.post-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 250px;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(180deg, rgba(14, 24, 43, 0.76), rgba(8, 16, 29, 0.96));
    box-shadow: var(--shadow-lg);
}

.post-image {
    width: 100%;
    height: 190px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.post-card h3 {
    font-size: 1.44rem;
    line-height: 1.35;
}

.post-card time {
    margin-top: auto;
    color: var(--accent);
    font-weight: 800;
}

.contact-shell {
    max-width: 980px;
}

.contact-head {
    max-width: 720px;
    margin: 0 auto 34px;
}

.contact-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.contact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-link {
    display: grid;
    grid-template-columns: 66px 1fr;
    align-items: center;
    gap: 18px;
    min-height: 132px;
    padding: 22px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(180deg, rgba(14, 24, 43, 0.76), rgba(8, 16, 29, 0.96));
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 204, 92, 0.34);
    background: linear-gradient(180deg, rgba(17, 28, 49, 0.84), rgba(9, 16, 29, 0.98));
}

.contact-link i {
    display: inline-grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 1px solid rgba(255, 204, 92, 0.54);
    color: var(--accent);
    font-size: 1.45rem;
}

.contact-link strong,
.contact-link span {
    display: block;
}

.contact-link strong {
    font-size: 1.3rem;
}

.contact-link span {
    color: var(--muted);
    margin-top: 8px;
    font-size: 1.04rem;
}

.hero-home {
    position: relative;
    min-height: 100vh;
    padding-bottom: 0;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(5, 11, 22, 0.08) 0%, rgba(5, 11, 22, 0.34) 38%, rgba(5, 11, 22, 0.96) 62%, rgba(5, 11, 22, 0.98) 100%),
        linear-gradient(180deg, rgba(4, 9, 18, 0.04) 0%, rgba(4, 9, 18, 0.18) 78%, #091423 100%),
        url("hero-background.png") left center / cover no-repeat;
}

.hero-home::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 124px;
    z-index: -1;
    background:
        radial-gradient(68% 120% at 50% 100%, rgba(9, 20, 35, 0.9), transparent 66%),
        linear-gradient(180deg, transparent, #091423);
    pointer-events: none;
}

.hero-home-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    gap: 44px;
    align-items: center;
    min-height: calc(100vh - 150px);
    padding-top: 26px;
    padding-bottom: 50px;
}

.hero-home-shell::after {
    content: "";
    position: absolute;
    inset-inline: -4vw;
    bottom: -6px;
    height: 56px;
    border-bottom: 1px solid rgba(255, 204, 92, 0.34);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    opacity: 0.62;
}

.hero-home-visual {
    display: none;
}

.hero-home-copy {
    grid-column: 2;
    align-self: stretch;
}

.hero-home-frame {
    min-height: 760px;
    border-radius: 0;
    border: 0;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5, 11, 22, 0.08), rgba(5, 11, 22, 0.82) 62%, rgba(5, 11, 22, 0.96)),
        radial-gradient(circle at left center, rgba(255, 204, 92, 0.12), transparent 34%);
    box-shadow: none;
}

.hero-home-frame::before {
    background:
        linear-gradient(90deg, rgba(8, 16, 30, 0.04), rgba(8, 16, 30, 0.42) 54%, rgba(8, 16, 30, 0.88) 100%),
        linear-gradient(180deg, rgba(8, 17, 31, 0.01), rgba(8, 17, 31, 0.26));
}

.hero-home-frame .hero-visual-image {
    opacity: 0.48;
    filter: saturate(0.78) brightness(0.86) contrast(1.05);
}

.hero-logo-wall {
    position: absolute;
    left: 10%;
    top: 24%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.hero-logo-wall img {
    width: 132px;
    height: 132px;
    object-fit: contain;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.34));
}

.hero-logo-wall-copy strong,
.hero-logo-wall-copy span {
    display: block;
    text-shadow: 0 10px 22px rgba(0, 0, 0, 0.56);
}

.hero-logo-wall-copy strong {
    color: #f7cf64;
    font-family: "Space Grotesk", "Cairo", sans-serif;
    font-size: clamp(4.6rem, 6.5vw, 6.8rem);
    line-height: 0.9;
}

.hero-logo-wall-copy span {
    margin-top: 6px;
    color: rgba(244, 247, 253, 0.92);
    font-family: "Space Grotesk", "Cairo", sans-serif;
    font-size: clamp(2.3rem, 3.4vw, 3.3rem);
    line-height: 0.94;
}

.hero-beam {
    position: absolute;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255, 204, 92, 0), rgba(255, 204, 92, 0.92), rgba(255, 204, 92, 0));
    box-shadow: 0 0 26px rgba(255, 204, 92, 0.28);
}

.hero-beam-a {
    left: 14%;
    top: 11%;
    bottom: 20%;
    width: 1px;
}

.hero-beam-b {
    left: -7%;
    top: 35%;
    width: 29%;
    height: 1px;
    transform: rotate(43deg);
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(255, 204, 92, 0.96), rgba(255, 204, 92, 0));
}

.hero-beam-c {
    left: 14%;
    bottom: 12%;
    width: 46%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 204, 92, 0.86), rgba(255, 204, 92, 0));
}

.hero-home-copy {
    display: grid;
    align-content: center;
    justify-items: end;
    max-width: none;
    min-width: 0;
    padding-bottom: 70px;
    text-align: right;
}

.hero-home-copy h1 {
    max-width: 640px;
    font-size: clamp(4rem, 5.2vw, 6rem);
    line-height: 1.16;
}

.hero-home-copy h1 .title-line,
.hero-home-copy h1 .accent-line {
    display: block;
}

.hero-home-copy h1 .accent-line,
.hero-home-copy h1 strong {
    color: var(--accent);
}

.hero-home-copy .hero-text {
    max-width: 620px;
    margin-top: 26px;
    font-size: 1.02rem;
    line-height: 2;
}

.hero-home-copy .hero-cta {
    gap: 22px;
}

.hero-home-copy .btn {
    min-width: 226px;
    min-height: 70px;
    border-radius: 16px;
    font-size: 1.05rem;
}

.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--accent);
    z-index: 2;
}

.hero-scroll-indicator span,
.hero-scroll-indicator span::before {
    display: block;
    width: 18px;
    height: 18px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.hero-scroll-indicator span::before {
    content: "";
    margin-top: -7px;
}

.section-about,
.section-services,
.section-portfolio,
.section-contact {
    padding-top: 88px;
    padding-bottom: 88px;
}

.section-posts {
    padding-top: 34px;
    padding-bottom: 88px;
}

.about-reference {
    direction: ltr;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    grid-template-areas: "media copy";
    gap: 64px;
    align-items: center;
}

.about-media-wrap {
    position: relative;
    min-width: 0;
    padding: 18px 28px 36px 0;
}

.about-dots {
    position: absolute;
    top: 16px;
    left: 6px;
    width: 28px;
    height: 96px;
    background-image: radial-gradient(circle, rgba(255, 204, 92, 0.96) 0 2px, transparent 2.5px);
    background-size: 14px 16px;
    opacity: 0.9;
}

.about-reference-media {
    min-height: 408px;
    border-radius: 24px;
    border-color: rgba(255, 255, 255, 0.13);
}

.about-reference-media::after {
    background:
        linear-gradient(180deg, rgba(5, 12, 24, 0.12), rgba(5, 12, 24, 0.72)),
        linear-gradient(135deg, rgba(255, 204, 92, 0.06), transparent 42%);
}

.about-frame-accent {
    position: absolute;
    right: 0;
    bottom: 18px;
    width: 170px;
    height: 96px;
    border-right: 2px solid rgba(255, 204, 92, 0.86);
    border-bottom: 2px solid rgba(255, 204, 92, 0.86);
    border-radius: 0 0 18px 0;
}

.about-reference-copy {
    grid-area: copy;
    direction: rtl;
    text-align: right;
}

.about-media-wrap {
    grid-area: media;
}

.about-reference-copy .section-text {
    max-width: 640px;
    font-size: 1.08rem;
}

.stats-reference {
    gap: 24px;
    margin-top: 34px;
}

.stats-reference .stat-card {
    padding: 26px 18px 22px;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.15);
}

.stats-reference .stat-card strong {
    font-size: 2.2rem;
}

.stats-reference .stat-card span::before {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    margin: 0 auto 14px;
    background: rgba(255, 204, 92, 0.86);
}

.services-reference {
    position: relative;
}

.section-underline {
    display: block;
    width: 118px;
    height: 3px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 92, 0.96), transparent);
}

.services-timeline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr);
    gap: 34px;
    margin-top: 52px;
    align-items: stretch;
}

.service-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-column-right {
    gap: 36px;
}

.service-column-left {
    gap: 86px;
    padding-top: 78px;
}

.service-node {
    display: grid;
    align-items: center;
    gap: 18px;
}

.service-node-right {
    grid-template-columns: minmax(0, 1fr) 88px;
}

.service-node-left {
    grid-template-columns: 88px minmax(0, 1fr);
}

.service-node-copy {
    max-width: 560px;
}

.service-node-right .service-node-copy {
    text-align: right;
}

.service-node-left .service-node-copy {
    text-align: left;
}

.service-node h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-node p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 1rem;
}

.service-node-icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    border: 2px solid rgba(255, 204, 92, 0.9);
    color: var(--accent);
    font-size: 1.8rem;
}

.services-axis-reference {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0 18px;
}

.services-axis-reference::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.services-axis-reference span {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 4px rgba(247, 201, 82, 0.08);
}

.work-reference {
    display: grid;
    gap: 42px;
}

.project-showcase {
    direction: ltr;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr);
    grid-template-areas: "media copy";
    gap: 44px;
    align-items: start;
}

.project-showcase-media {
    grid-area: media;
    min-width: 0;
}

.project-showcase-frame {
    position: relative;
    min-height: 448px;
    padding: 34px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(13, 23, 42, 0.78), rgba(8, 15, 28, 0.98)),
        linear-gradient(135deg, rgba(255, 204, 92, 0.06), transparent 40%);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.project-showcase-device {
    position: absolute;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    object-fit: cover;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 28px 50px rgba(0, 0, 0, 0.34);
}

.project-showcase-device.front {
    top: 28px;
    left: 50%;
    width: min(46%, 290px);
    height: calc(100% - 58px);
    transform: translateX(-50%) rotate(4deg);
    z-index: 3;
    border-color: rgba(255, 204, 92, 0.38);
}

.project-showcase-device.back-left {
    left: 18%;
    top: 90px;
    width: 31%;
    height: calc(100% - 154px);
    transform: rotate(-8deg);
    opacity: 0.76;
}

.project-showcase-device.back-right {
    right: 17%;
    top: 108px;
    width: 27%;
    height: calc(100% - 180px);
    transform: rotate(6deg);
    opacity: 0.68;
}

.project-thumb-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 16px;
}

.project-thumb-arrow {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), transform var(--transition), background var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.project-thumb-arrow:hover,
.project-thumb-arrow:focus-visible {
    border-color: rgba(255, 204, 92, 0.7);
    color: var(--accent);
    background: rgba(255, 204, 92, 0.08);
    transform: translateY(-1px);
    outline: none;
}

.project-thumb-arrow:disabled {
    cursor: default;
    opacity: 0.42;
    transform: none;
}

.project-thumb-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.project-thumb {
    position: relative;
    min-height: 92px;
    padding: 6px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.project-thumb.is-active {
    border-color: rgba(255, 204, 92, 0.92);
    box-shadow: inset 0 0 0 1px rgba(255, 204, 92, 0.24);
}

.project-thumb:hover,
.project-thumb:focus-visible {
    border-color: rgba(255, 204, 92, 0.72);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
    outline: none;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.project-showcase-copy {
    grid-area: copy;
    direction: rtl;
    padding-top: 34px;
}

.project-showcase-copy h2 {
    margin-top: 6px;
}

.project-showcase-copy .section-text {
    margin-top: 18px;
    max-width: 520px;
}

.project-featured-title {
    margin-top: 34px;
    color: var(--accent);
    font-size: 2.05rem;
    line-height: 1.3;
}

.project-showcase-copy .project-description {
    margin-top: 14px;
    max-width: 540px;
}

.project-meta-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.project-meta-row {
    display: grid;
    grid-template-columns: 128px 1fr;
    align-items: center;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.project-meta-label {
    color: var(--muted);
    font-weight: 700;
}

.project-meta-value {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
}

.project-meta-value i {
    color: var(--accent);
}

.project-showcase-actions {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.posts-showcase {
    direction: ltr;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    grid-template-areas: "media copy";
    gap: 44px;
    align-items: start;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.posts-intro {
    grid-area: copy;
    direction: rtl;
    padding-top: 18px;
}

.posts-reference-grid {
    grid-area: media;
}

.posts-intro .section-text {
    max-width: 460px;
    margin-top: 18px;
}

.posts-cta {
    min-width: 232px;
    margin-top: 28px;
}

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

.posts-reference-grid .post-card {
    min-height: 356px;
    padding: 18px 18px 20px;
    border-radius: 24px;
}

.posts-reference-grid .post-image {
    height: 180px;
    border-radius: 16px;
}

.posts-reference-grid .post-card h3 {
    font-size: 1.28rem;
}

.posts-reference-grid .post-card time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted-strong);
    font-weight: 700;
}

.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
}

.post-read-more {
    color: var(--accent);
    font-weight: 800;
}

.post-image-placeholder {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 204, 92, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(15, 26, 46, 0.92), rgba(8, 16, 29, 1));
}

.contact-reference {
    display: grid;
    gap: 34px;
}

.reference-head {
    max-width: 780px;
    margin-inline: auto;
}

.contact-divider {
    position: relative;
    height: 22px;
}

.contact-divider::before,
.contact-divider::after {
    content: "";
    position: absolute;
    top: 10px;
    width: calc(50% - 24px);
    height: 1px;
    background: rgba(255, 204, 92, 0.82);
}

.contact-divider::before {
    right: 0;
}

.contact-divider::after {
    left: 0;
}

.contact-divider span {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 24px;
    height: 12px;
    border-left: 1px solid rgba(255, 204, 92, 0.82);
    border-right: 1px solid rgba(255, 204, 92, 0.82);
    border-bottom: 1px solid rgba(255, 204, 92, 0.82);
    transform: translateX(-50%) rotate(45deg);
    background: var(--bg);
}

.contact-board {
    direction: ltr;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.contact-card {
    direction: rtl;
    display: grid;
    align-items: center;
    min-height: 126px;
    padding: 0 34px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(13, 23, 42, 0.8), rgba(8, 15, 28, 0.98));
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 204, 92, 0.34);
}

.contact-card-left {
    grid-template-columns: 82px 1fr;
}

.contact-card-right {
    grid-template-columns: 1fr 82px;
}

.contact-card-right .contact-card-copy {
    text-align: right;
}

.contact-card-icon {
    display: inline-grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 1px solid rgba(255, 204, 92, 0.82);
    color: var(--accent);
    font-size: 1.7rem;
}

.contact-card-copy {
    display: grid;
    gap: 6px;
}

.contact-card-copy strong {
    font-size: 1.25rem;
}

.contact-card-copy span {
    color: var(--muted);
    font-size: 1.04rem;
}

.site-footer {
    position: relative;
    padding-top: 10px;
    padding-bottom: 28px;
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer::before {
    top: 0;
}

.site-footer::after {
    bottom: 0;
}

.footer-reference {
    display: grid;
    gap: 28px;
    padding-top: 34px;
}

.footer-top {
    direction: ltr;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 30px;
    align-items: center;
}

.footer-brand-large {
    justify-self: start;
}

.footer-brand-large img {
    width: 86px;
    height: 86px;
}

.footer-brand-large div {
    display: grid;
    gap: 6px;
}

.footer-brand-large strong {
    font-family: "Space Grotesk", "Cairo", sans-serif;
    font-size: 2.05rem;
}

.footer-brand-large span {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 600;
}

.footer-manifesto {
    position: relative;
    direction: rtl;
    padding-right: 30px;
    color: var(--muted-strong);
    font-size: 1.1rem;
    line-height: 1.9;
}

.footer-manifesto::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 0;
    width: 2px;
    background: rgba(255, 204, 92, 0.72);
}

.footer-bottom {
    direction: ltr;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.footer-bottom .footer-link {
    position: relative;
    padding-inline-end: 18px;
    color: var(--muted-strong);
}

.footer-bottom .footer-link::before {
    content: "\2039";
    position: absolute;
    inset-inline-end: 0;
    color: var(--accent);
}

.hero-compact {
    padding-bottom: 28px;
}

.nav-links-static {
    justify-content: center;
}

.legal-hero {
    max-width: 760px;
    padding-top: 44px;
}

.policy-updated {
    margin-top: 18px;
    color: var(--accent);
    font-weight: 800;
}

.legal-card {
    padding: 34px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(180deg, rgba(13, 23, 42, 0.82), rgba(8, 15, 28, 0.98)),
        linear-gradient(135deg, rgba(255, 204, 92, 0.06), transparent 42%);
    box-shadow: var(--shadow-lg);
}

.legal-card h2 {
    margin-top: 30px;
    margin-bottom: 12px;
    font-size: 1.42rem;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.policy-list {
    margin: 0;
    padding-right: 20px;
}

.policy-list li {
    margin-bottom: 10px;
}

.empty-state {
    padding: 28px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    color: var(--muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.025);
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 28px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    color: var(--muted);
    text-align: center;
}

.footer-links-row {
    margin-top: 8px;
}

.footer-link {
    color: var(--accent);
    font-weight: 800;
}

.admin-logo-link {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.admin-logo-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 204, 92, 0.4);
}

.admin-logo-link img {
    width: 72%;
    height: 72%;
    object-fit: contain;
}

.skeleton-card {
    pointer-events: none;
}

.skeleton {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
    animation: skeletonShimmer 1.2s ease-in-out infinite;
}

.skeleton-line {
    height: 14px;
    margin-top: 12px;
}

.skeleton-title {
    width: min(280px, 72%);
    height: 26px;
    margin-top: 0;
}

.skeleton-line.short {
    width: 54%;
}

.skeleton-media {
    width: 100%;
    height: 280px;
    margin-top: 16px;
}

.skeleton-media.post {
    height: 180px;
    margin-top: 0;
}

.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

body.lang-en .hero-copy,
body.lang-en .about-copy,
body.lang-en .section,
body.lang-en .legal-card,
body.lang-en .footer-copy,
body.lang-en .contact-link {
    text-align: left;
}

body.lang-en .hero-home-copy,
body.lang-en .about-reference-copy,
body.lang-en .project-showcase-copy,
body.lang-en .posts-intro,
body.lang-en .footer-manifesto {
    text-align: left;
    justify-items: start;
}

body.lang-en .service-node-right .service-node-copy,
body.lang-en .service-node-left .service-node-copy,
body.lang-en .contact-card-copy {
    text-align: left;
}

body.lang-en .policy-list {
    padding-left: 20px;
    padding-right: 0;
}

body.lang-en .contact-link {
    direction: ltr;
}

body.lang-en .section-label-centered,
body.lang-en .section-heading-centered,
body.lang-en .section-text-centered,
body.lang-en .contact-head {
    text-align: center;
}

@keyframes skeletonShimmer {
    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 1180px) {
    .hero-shell {
        flex-direction: column-reverse;
        gap: 34px;
    }

    .about-panel {
        flex-direction: column;
        gap: 34px;
    }

    .hero-copy {
        min-width: 0;
        max-width: none;
    }

    .hero-visual-frame {
        min-height: 520px;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .hero-home-shell,
    .about-reference,
    .project-showcase,
    .posts-showcase,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .hero-home-shell {
        min-height: auto;
    }

    .hero-home-copy,
    .project-showcase-copy,
    .posts-intro {
        padding-top: 0;
    }

    .project-showcase-copy,
    .posts-intro,
    .footer-manifesto {
        max-width: none;
    }

    .footer-brand-large,
    .footer-manifesto {
        justify-self: start;
    }
}

@media (max-width: 980px) {
    .top-nav {
        grid-template-columns: auto auto;
        grid-template-areas:
            "brand toggle"
            "actions actions";
        gap: 16px;
        min-height: auto;
    }

    .brand {
        grid-area: brand;
    }

    .nav-toggle {
        grid-area: toggle;
        justify-self: end;
        display: inline-flex;
    }

    .nav-actions {
        grid-area: actions;
        justify-content: flex-start;
    }

    .nav-links {
        position: fixed;
        top: 118px;
        inset-inline: 16px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        max-height: calc(100vh - 150px);
        padding: 18px 16px 16px;
        overflow-y: auto;
        border-radius: 28px;
        border: 1px solid rgba(255, 204, 92, 0.18);
        background:
            linear-gradient(180deg, rgba(14, 24, 42, 0.99), rgba(7, 15, 28, 0.97)),
            radial-gradient(circle at top right, rgba(255, 204, 92, 0.16), transparent 44%);
        backdrop-filter: blur(22px);
        box-shadow: 0 28px 64px rgba(2, 7, 15, 0.58);
        z-index: 60;
        opacity: 0;
        transform: translateY(-20px) scale(0.96);
        transform-origin: top center;
        clip-path: inset(0 0 100% 0 round 24px);
        pointer-events: none;
        transition: opacity 0.24s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), clip-path 0.3s ease;
    }

    .nav-links::before {
        content: attr(data-menu-label);
        display: block;
        margin: 0 2px 10px;
        padding: 0 6px 12px;
        border-bottom: 1px solid rgba(255, 204, 92, 0.14);
        color: var(--accent);
        font-size: 0.8rem;
        font-weight: 800;
        letter-spacing: 0.08em;
    }

    .nav-links.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        clip-path: inset(0 0 0 0 round 24px);
        pointer-events: auto;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 54px;
        padding: 14px 16px;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.02);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015));
        opacity: 0;
        transform: translateY(-6px) translateX(10px);
        transition: opacity 0.18s ease, transform 0.24s ease, background 0.2s ease, border-color 0.2s ease;
    }

    .nav-links a::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: 1px solid rgba(255, 204, 92, 0.65);
        background: rgba(255, 204, 92, 0.12);
        box-shadow: 0 0 0 6px rgba(255, 204, 92, 0.05);
        flex: 0 0 auto;
    }

    .nav-links.open a {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }

    .nav-links.open a:nth-child(1) {
        transition-delay: 0.04s;
    }

    .nav-links.open a:nth-child(2) {
        transition-delay: 0.07s;
    }

    .nav-links.open a:nth-child(3) {
        transition-delay: 0.1s;
    }

    .nav-links.open a:nth-child(4) {
        transition-delay: 0.13s;
    }

    .nav-links.open a:nth-child(5) {
        transition-delay: 0.16s;
    }

    .nav-links.open a:nth-child(6) {
        transition-delay: 0.19s;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 204, 92, 0.18);
    }

    .nav-links a::after {
        display: none;
    }

    body.nav-menu-open .nav-actions {
        opacity: 0.32;
        transform: translateY(-4px);
        pointer-events: none;
    }

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

    .services-axis {
        display: none;
    }

    .services-timeline,
    .contact-board {
        grid-template-columns: 1fr;
    }

    .services-axis-reference {
        display: none;
    }

    .service-column-left {
        padding-top: 0;
        gap: 36px;
    }

    .service-column-right {
        gap: 36px;
    }

    .service-node-right,
    .service-node-left {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .service-node-right .service-node-copy,
    .service-node-left .service-node-copy {
        text-align: right;
    }

    .project-thumb-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-row,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        text-align: center;
        justify-items: center;
    }
}

@media (max-width: 760px) {
    :root {
        --container: min(100vw - 28px, 100%);
    }

    html {
        scroll-padding-top: 12px;
    }

    .hero {
        padding-top: 12px;
        padding-bottom: 42px;
    }

    .hero-home {
        min-height: auto;
        background:
            linear-gradient(180deg, rgba(5, 11, 22, 0.18) 0%, rgba(5, 11, 22, 0.66) 42%, rgba(5, 11, 22, 0.96) 82%, #091423 100%),
            url("hero-background.png") 22% top / auto 40vh no-repeat,
            linear-gradient(180deg, #07101d 0%, #091423 100%);
    }

    .top-nav {
        padding: 14px;
        border-radius: 24px;
    }

    .brand,
    .footer-brand {
        gap: 10px;
        font-size: 0.98rem;
    }

    .brand img,
    .footer-brand img {
        width: 48px;
        height: 48px;
    }

    .lang-btn {
        min-width: 88px;
        padding: 9px 12px;
        font-size: 0.86rem;
    }

    .hero-shell {
        padding-top: 18px;
        gap: 22px;
    }

    .hero-home-shell {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 18px;
    }

    .hero-home-copy {
        grid-column: 1;
        order: 1;
        padding-bottom: 0;
        justify-items: stretch;
        padding-top: clamp(170px, 28vh, 230px);
    }

    .hero-home-visual {
        display: none;
    }

    .hero-copy h1 {
        font-size: clamp(2.2rem, 11vw, 3.3rem);
    }

    .hero-home-copy h1 {
        width: 100%;
        max-width: 100%;
        font-size: 2.1rem;
        line-height: 1.22;
        overflow-wrap: normal;
        text-align: right;
    }

    .hero-home-copy .hero-text {
        line-height: 1.85;
    }

    .hero-text,
    .section-text,
    .project-description,
    .post-card p,
    .legal-card p,
    .policy-list {
        font-size: 1rem;
    }

    .hero-visual-frame {
        min-height: 420px;
    }

    .hero-home-frame {
        min-height: 330px;
        border-radius: 28px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-home-shell::after {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-logo-wall {
        left: 10%;
        top: 18%;
    }

    .hero-logo-wall img {
        width: 82px;
        height: 82px;
    }

    .hero-logo-wall-copy strong {
        font-size: 2.7rem;
    }

    .hero-logo-wall-copy span {
        font-size: 1.5rem;
    }

    .services-timeline {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 34px;
    }

    .service-column,
    .service-column-right,
    .service-column-left {
        display: grid;
        gap: 16px;
        padding-top: 0;
    }

    .service-node-right,
    .service-node-left {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        min-width: 0;
        padding: 20px;
        border-radius: 22px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: linear-gradient(180deg, rgba(17, 29, 51, 0.54), rgba(9, 18, 34, 0.76));
    }

    .service-node-left .service-node-icon,
    .service-node-right .service-node-icon {
        order: 0;
    }

    .service-node-left .service-node-copy,
    .service-node-right .service-node-copy {
        order: 1;
        width: 100%;
        max-width: none;
        text-align: right;
    }

    .service-node-icon {
        width: 58px;
        height: 58px;
        font-size: 1.45rem;
    }

    .service-node h3 {
        font-size: 1.28rem;
        line-height: 1.45;
    }

    .service-node p {
        font-size: 1rem;
        line-height: 1.9;
    }

    .hero-plaque {
        right: 22px;
        bottom: 24px;
        padding: 18px;
        gap: 12px;
    }

    .hero-plaque img {
        width: 62px;
        height: 62px;
    }

    .hero-plaque strong {
        font-size: 2.2rem;
    }

    .hero-plaque span {
        font-size: 1.12rem;
    }

    .hero-cta,
    .legal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding: 72px 0;
    }

    .section h2 {
        font-size: clamp(1.9rem, 8vw, 2.7rem);
    }

    .about-media {
        min-height: 300px;
    }

    .about-media-wrap {
        padding: 0 0 26px;
    }

    .about-dots,
    .about-frame-accent,
    .hero-beam-b,
    .hero-beam-c {
        display: none;
    }

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

    .project-card,
    .post-card,
    .contact-link,
    .legal-card {
        padding: 22px;
    }

    .project-media {
        min-height: 220px;
    }

    .project-images {
        grid-auto-columns: minmax(220px, 1fr);
    }

    .project-images img {
        height: 250px;
    }

    .project-showcase-frame {
        min-height: 270px;
        padding: 14px;
    }

    .project-showcase-device.front {
        top: 18px;
        width: 50%;
        height: calc(100% - 34px);
    }

    .project-showcase-device.back-left,
    .project-showcase-device.back-right {
        top: 56px;
        width: 24%;
        height: calc(100% - 104px);
    }

    .project-showcase-actions,
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .project-showcase,
    .posts-showcase {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "media";
        gap: 22px;
        direction: rtl;
    }

    .project-showcase-copy,
    .posts-intro,
    .posts-reference-grid {
        direction: rtl;
    }

    .project-thumb-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .project-thumb-arrow {
        display: none;
    }

    .project-thumb-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .project-thumb {
        min-height: 62px;
        border-radius: 14px;
    }

    .project-thumb img {
        border-radius: 10px;
    }

    .project-meta-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px;
    }

    .project-meta-label,
    .project-meta-value {
        justify-content: flex-start;
        text-align: right;
    }

    .posts-reference-grid {
        grid-template-columns: 1fr;
    }

    .posts-reference-grid .post-card {
        min-height: auto;
    }

    .contact-link {
        grid-template-columns: 56px 1fr;
        min-height: 108px;
        gap: 14px;
    }

    .contact-link i {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
    }

    .contact-card {
        min-height: 112px;
        padding: 18px 22px;
    }

    .contact-card-left,
    .contact-card-right {
        grid-template-columns: 64px 1fr;
    }

    .contact-card-right .contact-card-icon {
        order: -1;
    }

    .contact-card-icon {
        width: 58px;
        height: 58px;
        font-size: 1.28rem;
    }

    .footer-brand-large strong {
        font-size: 1.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
