@font-face {
    font-family: 'Aref Ruqaa';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/aref-ruqaa-700-arabic.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
    font-family: 'Aref Ruqaa';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/aref-ruqaa-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Sans Arabic';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ibm-plex-sans-arabic-400-arabic.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
    font-family: 'IBM Plex Sans Arabic';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ibm-plex-sans-arabic-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Sans Arabic';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/ibm-plex-sans-arabic-500-arabic.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
    font-family: 'IBM Plex Sans Arabic';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/ibm-plex-sans-arabic-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Sans Arabic';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/ibm-plex-sans-arabic-600-arabic.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
    font-family: 'IBM Plex Sans Arabic';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/ibm-plex-sans-arabic-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'IBM Plex Sans Arabic';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/ibm-plex-sans-arabic-700-arabic.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
    font-family: 'IBM Plex Sans Arabic';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/ibm-plex-sans-arabic-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Marcellus';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/marcellus-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --navy: #0E1B33;
    --navy-2: #12223f;
    --navy-deep: #08111f;
    --gold: #C8A24C;
    --gold-l: #E6CF8F;
    --text: #F5F1E6;
    --muted: #D3DAE6;
    --line: rgba(200, 162, 76, 0.35);
    --line-soft: rgba(200, 162, 76, 0.18);
    --glass-bg: rgba(245, 241, 230, 0.04);
    --glass-border: rgba(230, 207, 143, 0.18);
    --paper: #F7F2E4;
    --ink: #0E1B33;

    --font-brand: 'Aref Ruqaa', serif;
    --font-main: 'IBM Plex Sans Arabic', system-ui, sans-serif;
    --font-latin: 'Marcellus', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--navy);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.latin { font-family: var(--font-latin); direction: ltr; unicode-bidi: isolate; letter-spacing: 0.02em; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ============ Brand (logo) ============ */
.brand { display: inline-flex; flex-direction: column; align-items: center; }
.brand-name {
    font-family: var(--font-brand);
    font-weight: 700;
    color: var(--gold-l);
    line-height: 1.25;
    white-space: nowrap;
}
.brand-arrow { width: 100%; height: auto; margin-top: -0.15em; overflow: visible; fill: none; stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

.brand-sub { color: var(--text); font-weight: 600; margin-top: 0.35rem; white-space: nowrap; }

/* ============ Header ============ */
.header {
    position: fixed; top: 0; inset-inline: 0;
    z-index: 200;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%;
    transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    background: rgba(14, 27, 51, 0.82);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line-soft);
    padding-block: 0.7rem;
}
.logo .brand-name { font-size: 1.55rem; }
.logo .brand-arrow { stroke-width: 5; }
.logo { transition: opacity 0.4s ease; }
.header:not(.scrolled) .logo { opacity: 0; pointer-events: none; }

.nav {
    display: none;
    gap: 0.35rem;
    padding: 0.35rem;
    border-radius: 100px;
    background: rgba(245, 241, 230, 0.05);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(245, 241, 230, 0.04);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.nav-item {
    color: var(--muted);
    font-size: 0.9rem; font-weight: 500;
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    transition: all 0.3s ease;
}
.nav-item:hover, .nav-item.active { background: var(--gold); color: var(--navy); }

.contact-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-weight: 600; font-size: 0.9rem; white-space: nowrap;
    transition: all 0.3s ease;
}
.contact-btn:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

/* ============ Hero ============ */
.hero {
    position: relative;
    min-height: 100vh; min-height: 100svh;
    padding: 6.5rem 5% 3rem;
    overflow: hidden;
    isolation: isolate;
    /* إضاءة كحلي هادية في النص — من غير ألوان تانية */
    background: radial-gradient(circle at 50% 55%, #1a2f55 0%, var(--navy) 50%, var(--navy-deep) 100%);
}
.hero::after { /* خط ذهبي رفيع تحت الهيرو */
    content: ""; position: absolute; inset-inline: 5%; bottom: 0; height: 1px; background: var(--line-soft);
}

#sparks-container { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.spark {
    position: absolute; bottom: -40px;
    border: 1px solid var(--gold-l);
    border-radius: 50%;
    pointer-events: none;
}
.spark::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: var(--gold-l); opacity: 0.6; }
@keyframes floatUpSpark {
    0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
    10%  { opacity: var(--o, 0.4); }
    90%  { opacity: var(--o, 0.4); }
    100% { transform: translateY(-110vh) translateX(30px) rotate(360deg); opacity: 0; }
}

.hero-content {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    gap: 2rem;
    min-height: calc(100svh - 9.5rem);
    text-align: center;
}

/* --- Floating symbols (far background, like the leaves) --- */
.symbols-container, .nums-container, .nums-container-bg {
    position: absolute; inset: 0; pointer-events: none;
    transition: transform 0.1s ease-out;
}
.symbols-container { z-index: -1; }
.nums-container-bg { z-index: 0; }
.nums-container { z-index: 110; }

.sym {
    position: absolute;
    font-family: var(--font-latin);
    font-size: 64px; line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.2px var(--gold);
}
.s1 { top: 10%; inset-inline-start: 15%; }
.s2 { top: 40%; inset-inline-start: 80%; font-size: 120px; opacity: 0.35; }
.s3 { top: 70%; inset-inline-start: 75%; font-size: 72px; opacity: 0.6; }
.s4 { top: 85%; inset-inline-start: 20%; font-size: 110px; opacity: 0.3; }
.sym.ar { font-family: var(--font-brand); }

/* --- Floating Arabic numerals (the "berries") --- */
.num {
    --s: 120px; --k: 0.5;
    position: absolute;
    width: calc(var(--s) * var(--k)); height: calc(var(--s) * var(--k));
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}
.num span {
    display: block;
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: calc(var(--s) * var(--k) * 0.95);
    line-height: 1;
    color: var(--gold-l);
    /* بروز ثلاثي الأبعاد للرقم */
    text-shadow:
        0.012em 0.012em 0 #dcc07a,
        0.024em 0.024em 0 #c8a24c,
        0.036em 0.036em 0 #b38f3f,
        0.048em 0.048em 0 #9b7b34,
        0.060em 0.060em 0 #82672b,
        0.09em 0.16em 0.2em rgba(0, 0, 0, 0.5);
    animation: wobble 7s ease-in-out infinite;
}
.num:nth-child(2n) span { animation-duration: 9s; animation-direction: reverse; }
.num:nth-child(3n) span { animation-duration: 11s; }
@keyframes wobble {
    0%, 100% { transform: perspective(500px) rotateY(-28deg) rotateX(8deg); }
    50%      { transform: perspective(500px) rotateY(28deg) rotateX(-8deg); }
}
.n1 { --s: 220px; top: 25%; inset-inline-start: 30%; }
.n2 { --s: 100px; top: 60%; inset-inline-start: 42%; }
.n3 { --s: 250px; top: 30%; inset-inline-start: 62%; }
.n4 { --s: 140px; top: 15%; inset-inline-start: 48%; }
.n5 { --s: 120px; top: 75%; inset-inline-start: 20%; }
.n6 { --s: 180px; top: 45%; inset-inline-start: 75%; }
.n7 { --s: 80px;  top: 15%; inset-inline-start: 40%; opacity: 0.7; }
.n8 { --s: 70px;  top: 50%; inset-inline-start: 55%; opacity: 0.6; }
.n9 { --s: 75px;  top: 80%; inset-inline-start: 35%; opacity: 0.7; }
.nums-container-bg .num span { filter: blur(0.6px); }

/* --- Start column (title + CTA) --- */
.hero-start {
    position: relative; z-index: 100;
    display: flex; flex-direction: column; align-items: center;
    gap: 1.25rem;
}
.hero-start .brand-name { font-size: 2.3rem; }
.hero-start .brand-sub { font-size: 0.85rem; color: var(--muted); font-weight: 500; }

.main-title, .side-title {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: clamp(3.4rem, 15vw, 5rem);
    line-height: 1.12;
    color: var(--text);
    white-space: nowrap;
}
.main-title .gold, .side-title .gold { color: var(--gold-l); }

.description { color: var(--muted); font-size: 1.05rem; line-height: 1.9; max-width: 400px; }

.primary-btn {
    display: inline-flex; align-items: center; gap: 1.1rem;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 0.4rem 1.5rem 0.4rem 0.4rem;
    border-radius: 100px;
    font-weight: 700; font-size: 1rem;
    width: fit-content;
    transition: all 0.3s ease;
}
.primary-btn:hover { background: rgba(0, 0, 0, 0.7); transform: translateY(-3px); border-color: var(--gold); }
.plus-icon {
    order: 2;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--gold); color: var(--navy);
}
.plus-icon .ico { width: 20px; height: 20px; stroke-width: 2; }

.award-badge { display: flex; align-items: center; gap: 0.9rem; text-align: start; }
.award-icon {
    width: 48px; height: 48px; flex: none;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--glass-bg);
    color: var(--gold-l);
}
.award-text { display: flex; flex-direction: column; line-height: 1.45; }
.award-title { font-size: 0.75rem; color: var(--muted); }
.award-subtitle { font-size: 0.9rem; font-weight: 600; }

/* --- Center: the 3D invoice (the "can") --- */
.hero-center {
    position: relative; z-index: 1;
    width: 100%; height: 440px;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 0.3s forwards, float 6s ease-in-out infinite;
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.doc-glow {
    position: absolute; width: 420px; height: 420px; border-radius: 50%;
    border: 1px solid var(--line-soft);
    box-shadow: 0 0 120px 30px rgba(200, 162, 76, 0.07);
}
.doc-glow::before { content: ""; position: absolute; inset: 40px; border-radius: 50%; border: 1px dashed rgba(200, 162, 76, 0.14); }

.doc-stage { perspective: 1400px; will-change: filter; }
.doc {
    position: relative;
    width: 260px; aspect-ratio: 1 / 1.42;
    transform-style: preserve-3d;
    transform: rotateZ(-8deg);
    font-size: 8.6px; /* كل مقاسات الفاتورة بالـ em عشان تتظبط مع الحجم */
}
.doc-face {
    position: absolute; inset: 0;
    border-radius: 0.9em;
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    overflow: hidden;
}
.doc-front {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--gold);
    box-shadow: 0 4em 8em rgba(0, 0, 0, 0.55), 0 1em 2em rgba(0, 0, 0, 0.3);
}
.doc-front::before { /* إطار ذهبي داخلي رفيع */
    content: ""; position: absolute; inset: 0.9em; border: 1px solid rgba(200, 162, 76, 0.55); border-radius: 0.4em; pointer-events: none;
}
.doc-back {
    transform: rotateY(180deg);
    background: var(--navy);
    border: 1px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4em 8em rgba(0, 0, 0, 0.55);
}
.doc-back::before { content: ""; position: absolute; inset: 0.9em; border: 1px solid var(--line); border-radius: 0.4em; }
.doc-back .brand-name { font-size: 3.6em; }
.doc-back .brand-sub { font-size: 1.1em; color: var(--muted); }

.doc-content {
    position: absolute; inset: 0;
    padding: 2.4em 2.3em 2em;
    display: flex; flex-direction: column; gap: 1em;
    visibility: hidden;
}
.doc-content.is-active { visibility: visible; }

.doc-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid rgba(14, 27, 51, 0.15); padding-bottom: 0.9em; }
.doc-head .brand { align-items: flex-start; }
.doc-head .brand-name { font-size: 2.1em; color: var(--ink); }
.doc-head .brand-arrow { stroke-width: 6; }
.doc-type { text-align: end; font-weight: 700; font-size: 1.7em; line-height: 1.3; }
.doc-type small { display: block; font-weight: 500; font-size: 0.6em; color: #5b6478; }

.doc-meta { display: flex; justify-content: space-between; font-size: 1.15em; color: #4a546a; }
.doc-meta b { color: var(--ink); font-weight: 600; }

.doc-table { width: 100%; border-collapse: collapse; font-size: 1.2em; }
.doc-table th { text-align: start; font-weight: 600; color: var(--paper); background: var(--ink); padding: 0.4em 0.8em; }
.doc-table th:last-child, .doc-table td:last-child { text-align: end; }
.doc-table td { padding: 0.42em 0.8em; border-bottom: 1px solid rgba(14, 27, 51, 0.1); }
.doc-table tr:nth-child(even) td { background: rgba(200, 162, 76, 0.08); }

.doc-totals { margin-top: auto; display: flex; flex-direction: column; gap: 0.2em; font-size: 1.15em; }
.doc-totals div { display: flex; justify-content: space-between; color: #4a546a; }
.doc-totals .grand { margin-top: 0.3em; padding: 0.45em 0.8em; border: 1px solid var(--gold); color: var(--ink); font-weight: 700; font-size: 1.2em; border-radius: 0.3em; }

.doc-foot { display: flex; justify-content: space-between; align-items: center; }
.stamp {
    width: 5.6em; height: 5.6em; border-radius: 50%;
    border: 0.18em solid var(--gold);
    color: #a8842f;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1em; line-height: 1.3;
    transform: rotate(-14deg);
    position: relative;
}
.stamp::before { content: ""; position: absolute; inset: 0.35em; border-radius: 50%; border: 1px dashed var(--gold); }
.stamp small { font-size: 0.75em; font-weight: 500; }
.qr { width: 4.8em; height: 4.8em; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.12em; }
.qr i { background: var(--ink); border-radius: 0.06em; }
.qr i.o { background: transparent; }

.stmt-rows { display: flex; flex-direction: column; font-size: 1.25em; }
.stmt-rows div { display: flex; justify-content: space-between; padding: 0.55em 0.2em; border-bottom: 1px solid rgba(14, 27, 51, 0.1); }
.stmt-rows .sub { font-weight: 700; border-bottom-color: var(--gold); }
.stmt-rows .neg { color: #6b7385; }
.stmt-rows .net { margin-top: 0.4em; padding: 0.6em 0.8em; background: var(--ink); color: var(--gold-l); font-weight: 700; border-radius: 0.3em; border: none; }
.chart { direction: ltr; margin-top: auto; display: flex; align-items: flex-end; gap: 0.9em; height: 8em; padding: 0 0.4em; border-bottom: 1px solid rgba(14, 27, 51, 0.25); position: relative; }
.chart i { flex: 1; background: var(--ink); border-radius: 0.2em 0.2em 0 0; }
.chart i:last-child { background: var(--gold); }
.chart-tag { position: absolute; top: -0.4em; inset-inline-start: 0.4em; font-weight: 700; font-size: 1.2em; color: #a8842f; display: flex; align-items: center; gap: 0.3em; }

/* --- End column (document carousel + side title) --- */
.hero-end {
    position: relative; z-index: 100;
    display: flex; flex-direction: column; align-items: center;
    gap: 2rem;
    width: 100%;
    pointer-events: none;
}
.product-carousel { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; pointer-events: auto; padding-top: 3rem; }
.carousel-cards { display: flex; gap: 1rem; }
.card {
    position: relative;
    width: 140px;
    padding: 5rem 1rem 1rem;
    display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    color: var(--text); font: inherit;
    cursor: pointer;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card:hover { background: rgba(245, 241, 230, 0.08); border-color: rgba(230, 207, 143, 0.5); }
.card.active { border-color: var(--gold); }
.card:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 3px; }

.mini-doc {
    width: 84px; aspect-ratio: 1 / 1.38;
    margin-top: -8rem;
    background: var(--paper);
    border: 1px solid var(--gold);
    border-radius: 6px;
    padding: 9px 8px;
    display: flex; flex-direction: column; gap: 5px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.5);
    transform: rotate(-6deg);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
    pointer-events: none;
}
.card:hover .mini-doc { transform: translateY(-30px) rotate(-12deg) scale(1.15); }
.card:not(.active) .mini-doc { filter: brightness(0.75); }
.mini-doc .h { height: 9px; width: 55%; background: var(--ink); border-radius: 2px; }
.mini-doc .l { height: 3px; background: rgba(14, 27, 51, 0.25); border-radius: 2px; }
.mini-doc .l.s { width: 65%; }
.mini-doc .t { height: 7px; background: var(--ink); border-radius: 1px; margin-top: 2px; }
.mini-doc .g { margin-top: auto; height: 9px; border: 1px solid var(--gold); border-radius: 2px; }
.mini-doc .bars { direction: ltr; margin-top: auto; display: flex; align-items: flex-end; gap: 4px; height: 28px; }
.mini-doc .bars i { flex: 1; background: var(--ink); border-radius: 1px 1px 0 0; }
.mini-doc .bars i:last-child { background: var(--gold); }

.card-info { display: flex; flex-direction: column; font-size: 0.8rem; line-height: 1.5; }
.card-info span:first-child { font-weight: 600; }
.card-info span:last-child { color: var(--muted); font-size: 0.72rem; }

.carousel-nav { display: flex; gap: 0.75rem; }
.nav-arrow {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    color: var(--gold-l); cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}
.nav-arrow:hover { background: rgba(245, 241, 230, 0.1); border-color: var(--gold); }
.nav-arrow .ico { width: 18px; height: 18px; }

.side-title { font-size: clamp(2.6rem, 11vw, 4rem); }

/* --- Desktop hero: same composition as the original --- */
@media (min-width: 1000px) {
    .nav { display: flex; }
    .hero { height: 100vh; min-height: 720px; padding: 5rem 4% 0; }
    .hero-content {
        flex-direction: row; justify-content: space-between; align-items: stretch;
        height: 100%; min-height: 0; gap: 0; text-align: start;
    }
    .num { --k: 1; }
    .hero-start { align-items: flex-start; justify-content: flex-start; padding: 3.5rem 0 3rem; gap: 1.6rem; max-width: 40%; }
    .hero-start .brand { align-items: flex-start; }
    .main-title { font-size: clamp(4rem, min(7.4vw, 12vh), 8.5rem); line-height: 1.08; }
    .side-title { font-size: clamp(3rem, min(5.4vw, 9vh), 6.5rem); line-height: 1.08; align-self: flex-end; text-align: end; }
    .award-badge { margin-top: auto; }
    .hero-center { position: absolute; inset: 0; height: auto; }
    .doc { width: clamp(270px, 25vw, 380px); font-size: clamp(8.9px, 0.83vw, 12.6px); }
    .doc-glow { width: clamp(440px, 40vw, 620px); height: clamp(440px, 40vw, 620px); }
    .hero-end {
        width: 440px; align-items: flex-end; justify-content: space-between;
        padding: 6rem 0 5.5rem; text-align: end;
    }
    .product-carousel { align-items: flex-end; padding-top: 0; }
}

/* ============ Sections ============ */
section { position: relative; }
.section { padding: 5.5rem 5%; }
.wrap { max-width: 1180px; margin: 0 auto; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.kicker {
    display: inline-flex; align-items: center; gap: 0.6rem;
    color: var(--gold); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.75rem;
}
.kicker::before, .kicker::after { content: ""; width: 26px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(1.7rem, 5.2vw, 2.6rem); font-weight: 700; line-height: 1.45; }
.section-title .ruqaa { font-family: var(--font-brand); color: var(--gold-l); font-size: 1.15em; }
.section-lead { color: var(--muted); margin-top: 0.75rem; font-size: 1.05rem; }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) and (max-width: 999px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.panel {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--glass-bg);
    padding: 1.75rem 1.5rem;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, background 0.3s;
}
.panel:hover { transform: translateY(-6px); border-color: var(--gold); background: rgba(245, 241, 230, 0.06); }
.panel-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--gold); border-radius: 14px;
    color: var(--gold-l);
    margin-bottom: 1.25rem;
}
.panel-icon .ico { width: 26px; height: 26px; }
.panel h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.panel p { color: var(--muted); font-size: 0.97rem; }
.panel-no {
    position: absolute; top: 1.2rem; inset-inline-end: 1.4rem;
    font-family: var(--font-latin); color: var(--line); font-size: 1.6rem; line-height: 1;
}

/* Why us */
.why { background: var(--navy-2); border-block: 1px solid var(--line-soft); }
.why-item { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem 0; border-top: 1px solid var(--line-soft); }
.why-item:first-child { border-top: 0; }
.why-item .panel-icon { flex: none; margin: 0; }
.why-item h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.why-item p { color: var(--muted); font-size: 0.97rem; }
@media (min-width: 1000px) {
    .why-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; align-items: center; }
    .why-layout .section-head { text-align: start; margin: 0; }
}
.why-quote {
    margin-top: 1.75rem; padding: 1.25rem 1.4rem;
    border-inline-start: 2px solid var(--gold);
    color: var(--text); font-size: 1.05rem;
    background: var(--glass-bg);
    border-radius: 12px; border-start-start-radius: 0; border-end-start-radius: 0;
}

/* Process */
.steps { display: grid; gap: 1.25rem; counter-reset: s; }
.step { position: relative; text-align: center; padding: 0 0.5rem; }
.step-dot {
    position: relative; z-index: 1;
    width: 76px; height: 76px; margin: 0 auto 1.1rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--navy);
    border: 1px solid var(--gold);
    font-family: var(--font-brand); font-size: 2rem; color: var(--gold-l);
    box-shadow: 0 0 0 7px var(--navy), 0 0 0 8px var(--line-soft);
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.95rem; max-width: 260px; margin: 0 auto; }
.step-arrow { display: flex; justify-content: center; color: var(--gold); }

@media (min-width: 1000px) {
    .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
    .steps::before { content: ""; position: absolute; top: 38px; inset-inline: 12%; height: 1px; background: var(--line); }
    .steps { position: relative; }
    .step-arrow { display: none; }
}

/* Signs */
.signs { background: var(--navy-2); border-block: 1px solid var(--line-soft); }
.sign {
    display: flex; gap: 1.1rem; align-items: flex-start;
    padding: 1.5rem;
    border: 1px solid var(--line-soft); border-radius: 18px;
    background: var(--navy);
    transition: border-color 0.3s, transform 0.4s;
}
.sign:hover { border-color: var(--gold); transform: translateY(-4px); }
.sign-no {
    flex: none; width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-brand); font-size: 1.7rem; color: var(--navy);
    background: var(--gold); border-radius: 50%;
}
.sign h3 { font-size: 1.12rem; margin-bottom: 0.3rem; }
.sign p { color: var(--muted); font-size: 0.95rem; }
.signs-cta { text-align: center; margin-top: 2.5rem; }
.signs-cta p { color: var(--text); font-size: 1.1rem; margin-bottom: 1.1rem; }

/* Contact */
.contact-card {
    max-width: 860px; margin: 0 auto;
    border: 1px solid var(--gold); border-radius: 28px;
    padding: 3rem 1.5rem;
    text-align: center;
    position: relative;
    background: var(--glass-bg);
}
.contact-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line-soft); border-radius: 20px; pointer-events: none; }
.contact-card .brand-name { font-size: clamp(2.4rem, 9vw, 3.6rem); }
.contact-card .brand { margin-bottom: 1.25rem; }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; margin-top: 2rem; }
.btn-gold {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
    background: var(--gold); color: var(--navy);
    padding: 0.85rem 1.8rem; border-radius: 100px;
    font-weight: 700; font-size: 1.05rem;
    transition: transform 0.3s, background 0.3s;
    position: relative; z-index: 1;
}
.btn-gold:hover { background: var(--gold-l); transform: translateY(-3px); }
.btn-gold .latin { font-size: 1.2rem; }
.btn-line {
    display: inline-flex; align-items: center; gap: 0.6rem;
    color: var(--text);
    padding: 0.75rem 1.5rem; border-radius: 100px;
    border: 1px solid var(--line);
    font-weight: 600;
    transition: border-color 0.3s, color 0.3s;
    position: relative; z-index: 1;
}
.btn-line:hover { border-color: var(--gold); color: var(--gold-l); }
.btn-line .latin { font-size: 1.15rem; }
@media (min-width: 700px) { .contact-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; } }

/* Footer */
.footer { padding: 3rem 5% 6rem; text-align: center; border-top: 1px solid var(--line-soft); }
.footer .brand-name { font-size: 2.2rem; }
.footer .brand-sub { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.4rem; margin: 1.75rem 0 1.25rem; color: var(--muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-l); }
.copy { color: rgba(211, 218, 230, 0.6); font-size: 0.85rem; }
.copy .latin { font-size: 0.95rem; }

/* Floating WhatsApp */
.wa-float {
    position: fixed; z-index: 300;
    left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom));
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold); color: var(--navy);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 28px; height: 28px; stroke-width: 1.8; }
.wa-float::before {
    content: ""; position: absolute; inset: -6px; border-radius: 50%;
    border: 1px solid var(--gold);
    animation: ring 2.4s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.35); opacity: 0; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.1s; }
.reveal[data-d="2"] { transition-delay: 0.2s; }
.reveal[data-d="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
    .hero-center { opacity: 1; }
    .reveal { opacity: 1; transform: none; }
}

/* كانت style جوه الـ HTML */
.sprite { position: absolute; }
.chart-ico { width: 1.3em; height: 1.3em; }
.h-38 { height: 38%; }
.h-40 { height: 40%; }
.h-46 { height: 46%; }
.h-50 { height: 50%; }
.h-60 { height: 60%; }
.h-64 { height: 64%; }
.h-75 { height: 75%; }
.h-78 { height: 78%; }
.h-96 { height: 96%; }
.h-100 { height: 100%; }

/* صفحة 404 */
.notfound { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; padding: 2rem 5%; text-align: center; }
.notfound-no { font-family: var(--font-brand); font-weight: 700; font-size: clamp(5rem, 22vw, 9rem); line-height: 1.1; color: var(--gold-l); }
.notfound .brand-name { font-size: 2rem; }
.notfound p { color: var(--muted); }

/* سياسة الخصوصية */
.legal { max-width: 720px; margin: 0 auto; padding: 3rem 5% 5rem; }
.legal-brand { display: inline-block; font-size: 2rem; margin-bottom: 2.5rem; }
.legal-date { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.legal h2 { color: var(--gold-l); font-size: 1.2rem; font-weight: 700; margin: 2rem 0 0.5rem; }
.legal p { color: var(--muted); }
.legal-link { color: var(--gold-l); text-decoration: underline; text-underline-offset: 3px; }
.legal-back { margin-top: 2.5rem; }
