/* ===== LOCAL FONTS (Cairo + IBM Plex Sans Arabic) - self-hosted, deploy lesson: no external font CDN ===== */
/* arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/gf-1.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-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-10EC4, U+10EFC-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;
}
/* latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/gf-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/gf-3.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;
}
/* arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/gf-4.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-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-10EC4, U+10EFC-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;
}
/* latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/gf-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/gf-6.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;
}
/* arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/gf-7.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-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-10EC4, U+10EFC-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;
}
/* latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/gf-8.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/gf-9.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;
}
/* arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/gf-10.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-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-10EC4, U+10EFC-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;
}
/* latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/gf-11.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/gf-12.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;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/gf-13.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-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-10EC4, U+10EFC-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/gf-14.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/gf-15.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/gf-16.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;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/gf-17.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-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-10EC4, U+10EFC-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/gf-18.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/gf-19.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/gf-20.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;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/gf-21.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-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-10EC4, U+10EFC-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/gf-22.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/gf-23.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/gf-24.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;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/gf-25.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-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-10EC4, U+10EFC-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/gf-26.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/gf-27.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/gf-28.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;
}

/* ===== END LOCAL FONTS ===== */

/* ============================================================
   Codext Soft — Design System (RTL)
   الهوية: Codext Blue Technology + Royal Gold Accent
   مستخرج من تحليل codextsoft-logo.png
   ============================================================ */

:root {
  /* اللوحة الأساسية (من تحليل الشعار) */
  --navy-950: #020B25;
  --navy-900: #001238;
  --navy-850: #001133;
  --blue-800: #0B3A8F;
  --blue-700: #07409F;
  --blue-600: #0566DB;
  --blue-500: #1E7BE8;
  --cyan-400: #679BC8;
  --cyan-300: #9CC3E4;
  --silver: #CDD2D4;
  --steel: #3B4A5F;
  --slate-500: #5B6B82;
  --gold: #D4AF37;
  --gold-soft: #E8CE6E;
  --white: #FFFFFF;
  --ink: #0B1220;
  --bg-dark: #020B25;
  --bg-section: #071536;

  /* نظام */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 10px rgba(2, 11, 37, .08);
  --shadow-md: 0 8px 30px rgba(2, 11, 37, .14);
  --shadow-lg: 0 20px 60px rgba(2, 11, 37, .22);
  --shadow-glow: 0 0 0 1px rgba(103, 156, 200, .18), 0 12px 44px rgba(5, 102, 219, .22);
  --font-head: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Cairo', 'Segoe UI', sans-serif;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --transition: .32s var(--ease);
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--silver);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan-300); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

::selection { background: rgba(5, 102, 219, .45); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--white);
  line-height: 1.35;
  font-weight: 800;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ============ Typography ============ */
.display-title {
  font-size: clamp(1.9rem, 4.6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -.5px;
  line-height: 1.25;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 800; }
.section-subtitle { color: var(--cyan-400); font-size: 1.05rem; max-width: 640px; }

.gold-text {
  background: linear-gradient(120deg, #f5e08a 0%, var(--gold) 45%, #b8860b 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.blue-text {
  background: linear-gradient(120deg, var(--cyan-300), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead { font-size: 1.12rem; color: var(--silver); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff;
  box-shadow: 0 8px 24px rgba(5, 102, 219, .35);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(5, 102, 219, .5);
}

.btn-gold {
  background: linear-gradient(135deg, #e9cf72, var(--gold) 60%, #b8860b);
  color: var(--navy-950);
  box-shadow: 0 8px 24px rgba(212, 175, 55, .3);
}
.btn-gold:hover {
  color: var(--navy-950);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(212, 175, 55, .45);
}

.btn-outline {
  border-color: rgba(103, 156, 200, .45);
  color: var(--cyan-300);
  background: rgba(5, 102, 219, .06);
}
.btn-outline:hover {
  border-color: var(--cyan-300);
  color: #fff;
  background: rgba(5, 102, 219, .14);
  transform: translateY(-2px);
}

.btn-ghost { color: var(--silver); background: transparent; border-color: transparent; }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .06); }

.btn-sm { padding: 9px 18px; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: 17px 38px; font-size: 1.08rem; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .3);
}
.btn-whatsapp:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 40px rgba(37, 211, 102, .45); }

/* ============ Badges ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  border: 1px solid rgba(103, 156, 200, .35);
  color: var(--cyan-300);
  background: rgba(5, 102, 219, .1);
  letter-spacing: .3px;
}
.badge-gold {
  border-color: rgba(212, 175, 55, .4);
  color: var(--gold-soft);
  background: rgba(212, 175, 55, .08);
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ============ Section Header ============ */
.section-head {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}
.section-head .badge { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 12px; }
.section-head .section-subtitle { margin-inline: auto; }

.tech-divider {
  width: 72px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}
.tech-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
  transform: scaleX(.5);
  filter: blur(6px);
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.site-header.scrolled {
  background: rgba(2, 11, 37, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(103, 156, 200, .14), 0 10px 40px rgba(0, 0, 0, .35);
  border-bottom: 1px solid rgba(103, 156, 200, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.brand img { height: 44px; width: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
.brand-name small { display: block; font-size: .62rem; font-weight: 600; color: var(--gold); letter-spacing: 2px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--silver);
  font-size: .95rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover { color: #fff; background: rgba(5, 102, 219, .12); }
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--gold));
  transition: width var(--transition);
}
.main-nav a:hover::after { width: 40%; }

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

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(103, 156, 200, .3);
  background: rgba(5, 102, 219, .1);
  color: var(--cyan-300);
  font-size: 1.3rem;
  align-items: center;
  justify-content: center;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 75% 20%, rgba(5, 102, 219, .28), transparent 60%),
    radial-gradient(ellipse 45% 40% at 12% 75%, rgba(11, 58, 143, .35), transparent 65%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 156, 200, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 156, 200, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 102, 219, .22), transparent 65%);
  filter: blur(10px);
  animation: float 9s ease-in-out infinite;
}
.hero-glow.one { top: -140px; right: -100px; }
.hero-glow.two { bottom: -180px; left: -120px; animation-delay: -4.5s; background: radial-gradient(circle, rgba(212, 175, 55, .1), transparent 65%); }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.hero-copy .badge { margin-bottom: 22px; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lead { margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(103, 156, 200, .15);
}
.hero-meta-item { display: flex; align-items: center; gap: 10px; color: var(--cyan-400); font-size: .9rem; font-weight: 600; }
.hero-meta-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

/* Hero Visual — لوجو + حلقات تقنية */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-orbit {
  position: relative;
  width: min(420px, 88vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-orbit .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(103, 156, 200, .22);
}
.hero-orbit .ring.r2 { inset: 12%; border-color: rgba(212, 175, 55, .18); }
.hero-orbit .ring.r3 { inset: 24%; border-style: dashed; border-color: rgba(5, 102, 219, .3); animation: spin 40s linear infinite; }
.hero-orbit .core {
  width: 55%;
  aspect-ratio: 1;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(11, 58, 143, .5), rgba(2, 11, 37, .7));
  border: 1px solid rgba(103, 156, 200, .3);
  box-shadow: 0 0 80px rgba(5, 102, 219, .35), inset 0 0 60px rgba(5, 102, 219, .12);
  backdrop-filter: blur(6px);
  animation: float 6s ease-in-out infinite;
}
.hero-orbit .core img { width: 62%; height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .4)); }
.hero-orbit .orb {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(212, 175, 55, .8);
  animation: spin 14s linear infinite;
  transform-origin: center;
}
.hero-stats-mini {
  position: absolute;
  bottom: 6%;
  left: 0;
  display: flex;
  gap: 14px;
}
.chip {
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(2, 11, 37, .7);
  border: 1px solid rgba(103, 156, 200, .25);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--cyan-300);
  box-shadow: var(--shadow-md);
  animation: float 7s ease-in-out infinite;
}
.chip svg { width: 18px; height: 18px; color: var(--gold); }
.chip strong { color: #fff; font-family: var(--font-head); }

/* ============ Sections base ============ */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-section); }
.section-dark { background: var(--navy-950); }
.section-light { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); }

/* ============ Cards ============ */
.card {
  background: linear-gradient(160deg, rgba(11, 58, 143, .18), rgba(2, 11, 37, .55));
  border: 1px solid rgba(103, 156, 200, .16);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue-500), var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(103, 156, 200, .4);
  box-shadow: var(--shadow-glow);
}
.card:hover::before { opacity: 1; }

/* Service Card */
.service-card { display: flex; flex-direction: column; gap: 16px; }
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(5, 102, 219, .25), rgba(11, 58, 143, .3));
  border: 1px solid rgba(103, 156, 200, .3);
  color: var(--cyan-300);
  transition: transform var(--transition), color var(--transition), border-color var(--transition);
}
.service-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.06);
  color: var(--gold-soft);
  border-color: rgba(212, 175, 55, .5);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.service-card p { font-size: .95rem; color: var(--slate-500); flex: 1; }
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--cyan-300);
  margin-top: 4px;
}
.service-card .card-link:hover { color: var(--gold-soft); gap: 12px; }
.service-card .card-link svg { width: 11px; height: 11px; transition: transform var(--transition); }

/* رابط "اقرأ المزيد" العام — كل البطاقات (سهم صغير لا يشتت) */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--cyan-300);
  margin-top: 4px;
  text-decoration: none;
}
.card-link:hover { color: var(--gold-soft); gap: 9px; }
.card-link svg { width: 11px; height: 11px; transition: transform var(--transition); }

/* ============ Grids ============ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-services { grid-template-columns: repeat(4, 1fr); }

/* ============ Reveal Animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ============ Stats ============ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(11, 58, 143, .22), rgba(2, 11, 37, .5));
  border: 1px solid rgba(103, 156, 200, .22);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, .4); box-shadow: var(--shadow-md); }
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--cyan-300);
  line-height: 1.1;
}
.stat-label { color: var(--slate-500); font-weight: 600; margin-top: 6px; }

/* ============ Process Timeline ============ */
.process-track { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; }
.process-track::before {
  content: '';
  position: absolute;
  top: 34px;
  inset-inline: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--gold));
  opacity: .4;
}
.process-step {
  text-align: center;
  position: relative;
  padding-top: 74px;
}
.process-step .step-num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  background: radial-gradient(circle at 30% 25%, var(--navy-850), var(--navy-950));
  border: 2px solid rgba(5, 102, 219, .5);
  color: var(--cyan-300);
  box-shadow: 0 0 0 6px rgba(5, 102, 219, .08);
  transition: transform var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.process-step:hover .step-num {
  transform: translateX(-50%) scale(1.08);
  border-color: var(--gold);
  color: var(--gold-soft);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, .12), 0 0 30px rgba(212, 175, 55, .25);
}
.process-step h3 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: .82rem; color: var(--slate-500); }

/* ============ Why Us ============ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card { padding: 34px 28px; }
.why-card .why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, rgba(212, 175, 55, .16), rgba(5, 102, 219, .12));
  border: 1px solid rgba(212, 175, 55, .3);
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.why-card .why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.why-card p { font-size: .94rem; color: var(--slate-500); }

/* ============ Portfolio / Products / News Cards ============ */
.media-card { overflow: hidden; display: flex; flex-direction: column; padding: 0; }
.media-card .card-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, var(--navy-850), var(--navy-950));
}
.media-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media-card:hover .card-media img { transform: scale(1.06); }
.media-card .card-media .card-tag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  background: rgba(2, 11, 37, .8);
  border: 1px solid rgba(212, 175, 55, .4);
  color: var(--gold-soft);
  backdrop-filter: blur(6px);
}
.media-card .card-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.media-card .card-body h3 { font-size: 1.08rem; }
.media-card .card-body p { font-size: .9rem; color: var(--slate-500); flex: 1; }

/* ============ Hosting Plans ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.pricing-card { position: relative; display: flex; flex-direction: column; padding: 36px 30px; }
.pricing-card.recommended {
  padding-top: 52px;
  border-color: rgba(212, 175, 55, .5);
  background: linear-gradient(160deg, rgba(212, 175, 55, .1), rgba(2, 11, 37, .6));
  box-shadow: 0 20px 60px rgba(212, 175, 55, .12);
}
.pricing-card .plan-ribbon {
  position: absolute;
  top: 14px;
  inset-inline-end: 24px;
  padding: 6px 18px;
  border-radius: 100px;
  background: linear-gradient(135deg, #e9cf72, var(--gold));
  color: var(--navy-950);
  font-size: .78rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(212, 175, 55, .35);
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.pricing-card .plan-billing { color: var(--slate-500); font-size: .85rem; margin-bottom: 18px; }
.plan-price {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.plan-price small { font-size: .9rem; color: var(--cyan-400); font-weight: 600; }
.plan-features { margin: 22px 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: var(--silver);
}
.plan-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 900;
  flex-shrink: 0;
}

/* ============ Offers ============ */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.offer-card .offer-price { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; }
.offer-price .old { text-decoration: line-through; color: var(--slate-500); font-size: .95rem; }
.offer-price .current { font-family: var(--font-head); font-size: 1.8rem; font-weight: 900; color: var(--gold-soft); }
.offer-discount {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  padding: 8px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  box-shadow: 0 8px 20px rgba(231, 76, 60, .35);
}

/* ============ FAQ ============ */
.faq-wrap { max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid rgba(103, 156, 200, .18);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(2, 11, 37, .5);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open { border-color: rgba(212, 175, 55, .4); box-shadow: var(--shadow-glow); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  text-align: start;
}
.faq-q .faq-arrow {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(103, 156, 200, .3);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-300);
  font-size: .9rem;
  transition: transform var(--transition), background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); background: rgba(212, 175, 55, .15); color: var(--gold-soft); border-color: rgba(212, 175, 55, .4); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-a-inner { padding: 0 24px 22px; color: var(--slate-500); font-size: .95rem; }

/* ============ Testimonials ============ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { position: relative; padding: 30px; }
.testi-card .quote-mark {
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 1;
  color: rgba(212, 175, 55, .25);
  position: absolute;
  top: 14px;
  inset-inline-end: 22px;
}
.testi-card p { font-size: .95rem; color: var(--silver); margin-bottom: 20px; }
.testi-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(212, 175, 55, .4); }
.testi-author strong { display: block; color: #fff; font-size: .95rem; }
.testi-author span { font-size: .8rem; color: var(--slate-500); }

/* ============ CTA Banner ============ */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(5, 102, 219, .3), transparent 65%),
    linear-gradient(145deg, var(--navy-850), var(--navy-950));
  border: 1px solid rgba(103, 156, 200, .22);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 156, 200, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 156, 200, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
}
.cta-banner h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin-bottom: 14px; position: relative; }
.cta-banner p { max-width: 560px; margin: 0 auto 30px; color: var(--cyan-400); position: relative; }
.cta-banner .hero-ctas { justify-content: center; position: relative; }

/* ============ Breadcrumb ============ */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--slate-500);
  margin-bottom: 18px;
}
.breadcrumbs a { color: var(--cyan-400); }
.breadcrumbs a:hover { color: var(--gold-soft); }
.breadcrumbs .sep { color: var(--steel); }
.breadcrumbs .current { color: var(--silver); }

/* ============ Page Hero (صفحات داخلية) ============ */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 64px;
  background:
    radial-gradient(ellipse 55% 60% at 80% 0%, rgba(5, 102, 219, .22), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  overflow: hidden;
}
.page-hero .page-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 156, 200, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 156, 200, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .section-subtitle { margin: 0; }

/* ============ Forms ============ */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-weight: 600; font-size: .92rem; color: var(--cyan-300); }
.form-label .req { color: var(--gold); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(103, 156, 200, .25);
  background: rgba(2, 11, 37, .6);
  color: #fff;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-control::placeholder { color: var(--steel); }
.form-control:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(5, 102, 219, .18);
  background: rgba(2, 11, 37, .85);
}
select.form-control option { background: var(--navy-900); color: #fff; }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--slate-500); }
.form-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.form-error { color: #ff8080; font-size: .82rem; }
.form-hint { color: var(--steel); font-size: .8rem; }

/* ============ Toast ============ */
.toast-stack {
  position: fixed;
  top: 90px;
  inset-inline-end: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
}
.toast {
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(2, 11, 37, .92);
  border: 1px solid rgba(103, 156, 200, .3);
  color: #fff;
  font-size: .92rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastIn .4s var(--ease);
}
.toast.success { border-color: rgba(37, 211, 102, .5); }
.toast.success::before { content: '✓'; color: #25D366; font-weight: 900; }
.toast.error { border-color: rgba(255, 99, 99, .5); }
.toast.error::before { content: '✕'; color: #ff8080; font-weight: 900; }

/* ============ Empty State ============ */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  border: 1px dashed rgba(103, 156, 200, .25);
  border-radius: var(--radius-lg);
  background: rgba(2, 11, 37, .4);
}
.empty-state .empty-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5, 102, 219, .12);
  border: 1px solid rgba(103, 156, 200, .25);
  color: var(--cyan-400);
}
.empty-state .empty-icon svg { width: 34px; height: 34px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--slate-500); max-width: 420px; margin: 0 auto 22px; }

/* ============ Pagination ============ */
.pagination { display: flex; justify-content: center; margin-top: 48px; }
.pagination ul { display: flex; gap: 8px; flex-wrap: wrap; }
.page-link {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(103, 156, 200, .25);
  color: var(--cyan-300);
  font-weight: 700;
  transition: all var(--transition);
  background: rgba(2, 11, 37, .5);
}
.page-link:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.page-link.active {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(5, 102, 219, .35);
}
.page-dots { color: var(--steel); align-self: center; padding: 0 4px; }

/* ============ Blog Content ============ */
.article-body { font-size: 1.02rem; color: var(--silver); line-height: 2; }
.article-body h2, .article-body h3 { margin: 30px 0 14px; }
.article-body p { margin-bottom: 18px; }
.article-body img { border-radius: var(--radius-md); margin: 24px 0; }
.article-body ul { list-style: disc; padding-inline-start: 24px; margin-bottom: 18px; }
.article-body blockquote {
  border-inline-start: 3px solid var(--gold);
  padding: 16px 22px;
  margin: 24px 0;
  background: rgba(212, 175, 55, .06);
  border-radius: 0 12px 12px 0;
  color: var(--cyan-300);
  font-style: italic;
}
.article-body code {
  background: rgba(5, 102, 219, .14);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .88em;
  direction: ltr;
  unicode-bidi: embed;
}
.article-body pre {
  direction: ltr;
  text-align: left;
  background: var(--navy-950);
  border: 1px solid rgba(103, 156, 200, .2);
  border-radius: var(--radius-md);
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
}
.article-body pre code { background: transparent; padding: 0; }

/* ============ Gallery ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(103, 156, 200, .2);
  cursor: zoom-in;
  aspect-ratio: 4/3;
  background: var(--navy-850);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(2, 5, 15, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox .lb-close {
  position: absolute;
  top: 24px;
  inset-inline-end: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox .lb-close:hover { background: rgba(255, 80, 80, .4); }

/* ============ Modal ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(2, 5, 15, .7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  width: 100%;
  max-width: 560px;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--navy-850), var(--navy-950));
  border: 1px solid rgba(103, 156, 200, .25);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  animation: modalIn .35s var(--ease);
}

/* ============ WhatsApp Widget ============ */
.wa-widget {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.wa-panel {
  width: min(360px, calc(100vw - 40px));
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--navy-850), var(--navy-950));
  border: 1px solid rgba(37, 211, 102, .3);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-origin: bottom;
  animation: waIn .35s var(--ease);
}
.wa-panel-head {
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(37, 211, 102, .18), rgba(18, 140, 126, .14));
  border-bottom: 1px solid rgba(37, 211, 102, .2);
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-panel-head .wa-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.wa-panel-head .wa-avatar svg { width: 24px; height: 24px; }
.wa-panel-head strong { display: block; color: #fff; font-family: var(--font-head); }
.wa-panel-head span { font-size: .78rem; color: #25D366; display: flex; align-items: center; gap: 6px; }
.wa-panel-head span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #25D366; display: inline-block; }
.wa-panel-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.wa-panel-body .form-label { font-size: .82rem; }
.wa-msg-preview {
  background: rgba(2, 11, 37, .7);
  border: 1px solid rgba(103, 156, 200, .18);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: .82rem;
  color: var(--cyan-300);
  max-height: 110px;
  overflow-y: auto;
  white-space: pre-wrap;
}
.wa-fab {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 36px rgba(37, 211, 102, .4);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 16px 44px rgba(37, 211, 102, .55); }
.wa-fab svg { width: 24px; height: 24px; }
.wa-fab::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .4);
  animation: pulse 2.2s ease-out infinite;
}

/* ============ Footer ============ */
.site-footer {
  position: relative;
  background: var(--navy-950);
  border-top: 1px solid rgba(103, 156, 200, .12);
  padding-top: 72px;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .5), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { height: 46px; margin-bottom: 16px; aspect-ratio: 1 / 1; object-fit: contain; }
.footer-brand p { font-size: .92rem; color: var(--slate-500); max-width: 320px; }
.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--slate-500); font-size: .92rem; transition: color var(--transition), padding var(--transition); }
.footer-col a:hover { color: var(--gold-soft); padding-inline-start: 5px; }
.footer-contact li { display: flex; gap: 10px; font-size: .9rem; color: var(--slate-500); align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(103, 156, 200, .25);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-400);
  transition: all var(--transition);
}
.footer-social a:hover { color: var(--gold-soft); border-color: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom {
  border-top: 1px solid rgba(103, 156, 200, .1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--steel);
}
.footer-bottom .legal { display: flex; gap: 18px; }
.footer-bottom .legal a { color: var(--steel); }
.footer-bottom .legal a:hover { color: var(--cyan-300); }

/* ============ Error Pages ============ */
.error-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 60px;
}
.error-code {
  font-family: var(--font-head);
  font-size: clamp(6rem, 18vw, 11rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(160deg, #fff 10%, var(--cyan-300) 45%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 20px 60px rgba(5, 102, 219, .35));
}
.error-page h1 { margin: 18px 0 12px; }
.error-page p { color: var(--slate-500); max-width: 460px; margin: 0 auto 30px; }

/* ============ Maintenance ============ */
.maintenance-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 40px 24px;
}
.maintenance-logo { margin-bottom: 30px; }
.maintenance-logo img { height: 80px; margin-inline: auto; }

/* ============ Search ============ */
.search-box { position: relative; max-width: 640px; margin-inline: auto; }
.search-box .form-control { padding: 16px 50px 16px 20px; border-radius: 16px; font-size: 1.05rem; }
.search-box .search-icon {
  position: absolute;
  inset-inline-start: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--steel);
  width: 20px; height: 20px;
}
.search-results-group { margin-bottom: 40px; }
.search-results-group h2 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-results-group h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(103, 156, 200, .3), transparent);
}

/* ============ Admin link bar (اختياري للموقع) ============ */

/* ============ Animations ============ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to { opacity: 1; transform: none; }
}
@keyframes waIn {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0% { transform: scale(.9); opacity: .8; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .grid-services, .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(4, 1fr); row-gap: 48px; }
  .process-track::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset-inline: 0;
    top: var(--header-h);
    bottom: 0;
    background: rgba(2, 11, 37, .97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 6px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    overflow-y: auto;
    z-index: 990;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 16px 18px; font-size: 1.05rem; border-radius: 12px; border: 1px solid transparent; }
  .main-nav a:hover { border-color: rgba(103, 156, 200, .25); }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-ctas, .hero-meta { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-orbit { width: min(300px, 80vw); }
  .hero-stats-mini { display: none; }
  .grid-2, .grid-3, .grid-services { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .offer-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .testi-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-banner { padding: 44px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .grid-4, .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }
  .header-actions .btn { display: none; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .brand-name { font-size: 1.05rem; }
  .brand img { height: 38px; }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Wave 1 — Topbar / Hero Particles / Spotlight / Mobile CTA
   ============================================================ */
:root { --topbar-h: 38px; }
.topbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1001;
  background: rgba(2, 11, 37, .97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(103, 156, 200, .14);
  font-size: .82rem;
}
.site-header { top: var(--topbar-h); }
html { scroll-padding-top: calc(var(--header-h) + var(--topbar-h)); }
.hero { padding-top: calc(var(--header-h) + var(--topbar-h) + 40px); }
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 38px;
  padding-block: 6px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--slate-400, #8aa3c0);
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}
.topbar-item:hover { color: var(--gold-soft, #e6c96a); }
.topbar-item svg { width: 15px; height: 15px; color: var(--gold, #D4AF37); flex-shrink: 0; }
.topbar-wa { margin-inline-start: auto; }
.topbar-wa svg { color: #25D366; }
.topbar-support { color: var(--slate-500, #5B6B82); }

/* Hero particles canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: .5;
  pointer-events: none;
}

/* Hero staggered entrance */
.hero-copy > *,
.hero-visual > * {
  opacity: 0;
  animation: heroRise .8s cubic-bezier(.22, .8, .36, 1) forwards;
}
.hero-copy .badge { animation-delay: .05s; }
.hero-copy h1 { animation-delay: .18s; }
.hero-copy .lead { animation-delay: .32s; }
.hero-copy .hero-ctas { animation-delay: .46s; }
.hero-copy .hero-meta { animation-delay: .6s; }
.hero-visual { animation-delay: .25s !important; }
.hero-visual .hero-orbit,
.hero-visual .hero-stats-mini { opacity: 0; animation: heroScale .9s cubic-bezier(.22, .8, .36, 1) forwards; animation-delay: .25s; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroScale {
  from { opacity: 0; transform: scale(.88); }
  to { opacity: 1; transform: scale(1); }
}

/* Spotlight on cards */
.card {
  --mx: 50%;
  --my: 40%;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(212, 175, 55, .12), transparent 62%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 55;
  background: rgba(2, 11, 37, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(103, 156, 200, .18);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(5, 102, 219, .25), rgba(11, 58, 143, .35));
  border: 1px solid rgba(103, 156, 200, .35);
  color: var(--silver, #CDD2D4);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition);
}
.mobile-cta-btn:active { transform: scale(.97); }
.mobile-cta-btn svg { width: 19px; height: 19px; color: var(--gold, #D4AF37); }
.mobile-cta-wa { background: linear-gradient(135deg, rgba(37, 211, 102, .2), rgba(18, 140, 66, .3)); }
.mobile-cta-wa svg { color: #25D366; }

@media (max-width: 640px) {
  .topbar { display: none; }
  .site-header { top: 0; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  html { scroll-padding-top: var(--header-h); }
  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
  .wa-fab { bottom: 84px; }
  .wa-panel { bottom: 150px; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .topbar-hide-sm { display: none; }
  .topbar-hide-md { display: none; }
}
@media (min-width: 1025px) and (max-width: 1279px) {
  .topbar-hide-md { display: none; }
}

/* ============================================================
   Wave 1b — Dropdown Nav / Brand (القوائم المنسدلة + اللوغو)
   ============================================================ */
.brand img { height: 54px; }
.brand-name { font-size: 1.32rem; white-space: nowrap; }
.brand-name small {
  display: none;
  font-size: .66rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1.5px;
  white-space: nowrap;
  margin-top: 2px;
}
@media (min-width: 1024px) {
  .brand-name small { display: block; }
}

/* Dropdown (كمبيوتر: hover / جوال: أكورديون) */
.nav-dd { position: relative; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: 4px; }
.nav-dd-chevron { width: 13px; height: 13px; color: var(--gold); transition: transform var(--transition); }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 236px;
  max-width: min(320px, 90vw);
  background: rgba(4, 16, 44, .97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(103, 156, 200, .22);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 95;
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dd:hover .nav-dd-chevron { transform: rotate(180deg); }
.nav-dd-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .92rem;
  white-space: normal;
}
.nav-dd-menu a:hover { background: rgba(5, 102, 219, .16); color: #fff; }
.nav-dd-menu a:hover::after { width: 0; }

/* Dropdown داخل قائمة الجوال (أكورديون) */
@media (max-width: 900px) {
  .nav-dd { display: block; width: 100%; }
  .nav-dd-toggle { width: 100%; justify-content: space-between; padding: 16px 18px; font-size: 1.05rem; border-radius: 12px; }
  .nav-dd-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease;
    min-width: 0;
  }
  .nav-dd.open .nav-dd-chevron { transform: rotate(180deg); }
  .nav-dd-menu a { padding: 12px 18px; font-size: .98rem; border: 1px solid transparent; }
  .nav-dd-menu a:hover { border-color: rgba(103, 156, 200, .25); }
}

/* مبدّل اللغة داخل قائمة الجوال (يظهر بدل شريط التوب بار المخفي) */
.nav-lang { display: none; }

/* زر لغة دائم الظهور في رأس الجوال (اختصار بجانب زر القائمة) */
.lang-pill {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(103, 156, 200, .35);
  border-radius: 12px;
  font-size: .8rem;
  font-weight: 800;
  color: var(--gold-soft, #e6c96a);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}
.lang-pill:hover { border-color: var(--gold, #D4AF37); color: var(--gold, #D4AF37); }
@media (max-width: 900px) {
  .lang-pill { display: inline-flex; }
  .nav-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 18px 14px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(103, 156, 200, .2);
    font-size: .95rem;
    font-weight: 600;
  }
  .nav-lang a { padding: 0 !important; font-size: .95rem !important; border: none !important; border-radius: 0 !important; }
  .nav-lang a:hover { border-color: transparent !important; color: var(--gold); background: transparent !important; }
  .nav-lang-current { color: var(--silver); }
}

/* صفحات قانونية (سياسة الخصوصية) */
.legal { max-width: 780px; }
.legal h2 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin: 30px 0 12px;
  padding-inline-start: 14px;
  border-inline-start: 3px solid var(--gold);
}
.legal p { margin-bottom: 12px; color: var(--silver); line-height: 1.9; }
.legal ul { margin: 0 0 14px; padding-inline-start: 22px; }
.legal li { margin-bottom: 8px; color: var(--silver); line-height: 1.8; }
.legal a { color: var(--cyan-300); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Wave 2+3 — Estimator / Comparison Slider / Offer Banner /
               Map / Back-to-top
   ============================================================ */

/* ----- أداة تقدير المشروع ----- */
.estimator { max-width: 900px; margin-inline: auto; padding: 40px; }
.estimator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.estimator-scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--steel); margin-top: 4px; }
.estimator input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
  background: rgba(103, 156, 200, .2);
  height: 6px;
  border-radius: 6px;
  appearance: none;
  -webkit-appearance: none;
}
.estimator input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b8912a);
  border: 3px solid #0a1b3f;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, .4);
  cursor: grab;
}
.estimator-result {
  margin-top: 26px;
  padding: 22px 26px;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, .1), rgba(5, 102, 219, .08));
  border: 1px solid rgba(212, 175, 55, .28);
}
.estimator-result-label { display: block; font-size: .82rem; color: var(--slate-500); margin-bottom: 6px; }
.estimator-result-range {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 900;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- مقارنة قبل/بعد ----- */
.cmp-slider { user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.cmp-stage {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(103, 156, 200, .25);
  box-shadow: var(--shadow-glow);
  background: var(--navy-900);
  direction: ltr;
}
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp-clip {
  position: absolute; inset: 0;
  width: var(--cmp-pos, 50%);
  overflow: hidden;
  border-inline-end: 2px solid rgba(212, 175, 55, .9);
}
.cmp-clip .cmp-img-before { width: calc(100% / (var(--cmp-pos, .5))); max-width: none; }
.cmp-divider {
  position: absolute; top: 0; bottom: 0;
  left: var(--cmp-pos, 50%);
  width: 0;
  transform: translateX(-50%);
  cursor: ew-resize;
  touch-action: none;
}
.cmp-handle {
  position: absolute; top: 50%; left: 0;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b8912a);
  color: #0a1b3f;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .5);
}
.cmp-tag {
  position: absolute; top: 14px;
  font-size: .75rem; font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(2, 11, 37, .75);
  color: var(--silver);
  backdrop-filter: blur(6px);
}
.cmp-tag-before { left: 14px; }
.cmp-tag-after { right: 14px; color: var(--gold-soft); border: 1px solid rgba(212, 175, 55, .4); }

/* ----- بانر العرض النشط ----- */
.offer-banner {
  position: fixed;
  top: calc(var(--header-h) + var(--topbar-h));
  inset-inline: 0;
  z-index: 950;
  background: linear-gradient(90deg, rgba(212, 175, 55, .16), rgba(5, 102, 219, .2), rgba(212, 175, 55, .16));
  border-bottom: 1px solid rgba(212, 175, 55, .35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: .88rem;
}
.offer-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 9px;
  flex-wrap: wrap;
}
.offer-banner-badge {
  background: linear-gradient(135deg, var(--gold), #b8912a);
  color: #0a1b3f;
  font-weight: 900;
  font-size: .72rem;
  padding: 4px 12px;
  border-radius: 999px;
}
.offer-banner-text { flex: 1; min-width: 200px; color: var(--white); font-weight: 700; }
.offer-banner-rotator { flex: 1; min-width: 200px; position: relative; }
.offer-banner-slide { display: none; align-items: center; gap: 12px; flex-wrap: wrap; }
.offer-banner-slide.is-active { display: flex; animation: offerFade .5s ease; }
@keyframes offerFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.offer-banner-date { color: var(--gold-soft); font-size: .78rem; white-space: nowrap; }
.offer-banner-link { color: var(--cyan-300); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.offer-banner-close {
  background: rgba(103, 156, 200, .12);
  border: 1px solid rgba(103, 156, 200, .3);
  color: var(--silver);
  width: 24px; height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .8rem;
  line-height: 1;
  transition: background var(--transition), color var(--transition);
}
.offer-banner-close:hover { background: rgba(255, 90, 90, .2); color: #ff9090; }
@media (max-width: 640px) {
  .offer-banner { top: var(--header-h); }
}

/* ----- الخريطة ----- */
.map-card {
  max-width: 900px;
  margin-inline: auto;
  padding: 28px;
}
.map-head { text-align: center; margin-bottom: 18px; }
.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(103, 156, 200, .25);
  box-shadow: var(--shadow-glow);
  line-height: 0;
}
.map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
  filter: saturate(.85) contrast(1.05);
}

/* ----- زر العودة للأعلى ----- */
.back-to-top {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 54;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(103, 156, 200, .35);
  background: rgba(2, 11, 37, .85);
  backdrop-filter: blur(10px);
  color: var(--cyan-300);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: var(--gold); border-color: rgba(212, 175, 55, .5); }
@media (max-width: 640px) {
  .back-to-top { bottom: 148px; left: 16px; width: 42px; height: 42px; }
  .estimator-grid { grid-template-columns: 1fr; }
  .estimator { padding: 26px 20px; }
}

/* ----- النشرة البريدية في الفوتر ----- */
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding: 22px 26px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(5, 102, 219, .12), rgba(212, 175, 55, .08));
  border: 1px solid rgba(103, 156, 200, .18);
}
.footer-newsletter-info h4 { font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; }
.footer-newsletter-info p { color: var(--slate-500); font-size: .85rem; max-width: 380px; }
.footer-newsletter-form { display: flex; gap: 8px; flex: 1; min-width: 260px; max-width: 440px; }
.footer-newsletter-form .form-control {
  background: rgba(2, 11, 37, .55);
  border-color: rgba(103, 156, 200, .3);
  color: var(--white);
}
.footer-newsletter-form .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .footer-newsletter { padding: 18px; }
  .footer-newsletter-form { flex-direction: column; max-width: none; }
}

/* ----- شريط تقدم القراءة (المقالات) ----- */
.reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  width: 0;
  z-index: 1100;
  background: linear-gradient(90deg, var(--gold), var(--cyan-400));
  border-radius: 0 0 3px 0;
  box-shadow: 0 0 12px rgba(212, 175, 55, .55);
  pointer-events: none;
}

/* ============================================================
   Wave 6 — Theme toggle (نهاري/ليلي) / Print / misc
   ============================================================ */

/* زر تبديل المظهر في التوب بار */
.theme-toggle {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(103, 156, 200, .35);
  background: rgba(103, 156, 200, .12);
  color: var(--cyan-300);
  cursor: pointer;
  font-size: .78rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.theme-toggle:hover { border-color: rgba(212, 175, 55, .5); color: var(--gold); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* زر الثيم في شريط الجوال السفلي */
.mobile-cta .theme-toggle {
  margin-inline-start: 0;
  border: 1px solid rgba(103, 156, 200, .35);
  background: linear-gradient(135deg, rgba(103, 156, 200, .16), rgba(5, 102, 219, .22));
}
.mobile-cta .theme-toggle svg { width: 20px; height: 20px; color: var(--gold, #D4AF37); }

/* ---------- الثيم النهاري (Light) ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --navy-950: #f2f6fb;
  --navy-900: #ffffff;
  --navy-850: #e9f0f8;
  --silver: #334155;
  --steel: #475569;
  --slate-500: #64748b;
  --white: #ffffff;
  --ink: #0b1220;
  --bg-dark: #f2f6fb;
  --bg-section: #e8eff7;
  --cyan-300: #0a7abf;
  --cyan-400: #0b5fa5;
  --gold-soft: #8a6a00;
  --shadow-sm: 0 2px 10px rgba(2, 11, 37, .06);
  --shadow-md: 0 8px 30px rgba(2, 11, 37, .1);
  --shadow-lg: 0 20px 60px rgba(2, 11, 37, .16);
  --shadow-glow: 0 0 0 1px rgba(5, 102, 219, .1), 0 12px 40px rgba(5, 102, 219, .14);
}
:root[data-theme="light"] .topbar {
  background: linear-gradient(90deg, #0b3a8f, #0566db);
  border-bottom-color: rgba(255, 255, 255, .15);
}
:root[data-theme="light"] .site-header { background: rgba(255, 255, 255, .88); }
:root[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 34px rgba(2, 11, 37, .1);
}
:root[data-theme="light"] .card {
  background: linear-gradient(160deg, rgba(255, 255, 255, .98), rgba(233, 240, 248, .9));
  border-color: rgba(5, 102, 219, .14);
}
:root[data-theme="light"] .card::after {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(5, 102, 219, .08), transparent 55%);
}
:root[data-theme="light"] .section-dark { background: #eef4fb; }
:root[data-theme="light"] .section-alt { background: #f7fafd; }
:root[data-theme="light"] .site-footer { background: #e3ecf6; }
:root[data-theme="light"] .nav-dd-menu {
  background: #ffffff;
  border-color: rgba(5, 102, 219, .14);
  box-shadow: 0 18px 50px rgba(2, 11, 37, .14);
}
:root[data-theme="light"] .mobile-cta { background: rgba(255, 255, 255, .96); border-top-color: rgba(5, 102, 219, .14); }
:root[data-theme="light"] .wa-widget-btn { box-shadow: 0 10px 30px rgba(2, 11, 37, .18); }
:root[data-theme="light"] .back-to-top { background: rgba(255, 255, 255, .92); color: #0566db; border-color: rgba(5, 102, 219, .25); }
:root[data-theme="light"] .offer-banner { background: linear-gradient(90deg, rgba(212, 175, 55, .18), rgba(5, 102, 219, .14), rgba(212, 175, 55, .18)); }
:root[data-theme="light"] .form-control {
  background: #ffffff;
  border-color: rgba(5, 102, 219, .25);
  color: var(--ink);
}
:root[data-theme="light"] .footer-newsletter { background: linear-gradient(120deg, rgba(5, 102, 219, .1), rgba(212, 175, 55, .07)); }
:root[data-theme="light"] .footer-newsletter-form .form-control { background: #ffffff; }
:root[data-theme="light"] .cmp-stage { background: #0b1220; }
:root[data-theme="light"] .hero-visual-shell,
:root[data-theme="light"] .page-grid-bg { opacity: .5; }

/* ---------- الطباعة ---------- */
@media print {
  .topbar, .site-header, .site-footer, .mobile-cta, .wa-widget, .offer-banner,
  .back-to-top, .theme-toggle, .hero-ctas, .page-hero, .reading-progress,
  .map-card, .social-share, .footer-newsletter { display: none !important; }
  body { background: #fff !important; color: #111 !important; font-size: 12pt; }
  .section, .section-dark, .section-alt, .card, .container { padding: 0 !important; margin: 0 !important; background: #fff !important; box-shadow: none !important; border: none !important; }
  .article-body, .legal, .cmp-stage { color: #111 !important; }
  img { max-width: 100% !important; }
  a { color: #0566DB !important; text-decoration: underline; }
  @page { margin: 1.4cm; }
}

/* نموذج إلغاء الاشتراك في الفوتر */
.footer-newsletter-unsub {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 240px;
  max-width: 340px;
}
.footer-newsletter-unsub .form-control {
  background: rgba(2, 11, 37, .45);
  border-color: rgba(103, 156, 200, .22);
  color: var(--white);
  font-size: .8rem;
}
.footer-newsletter-unsub .btn { white-space: nowrap; font-size: .8rem; }
@media (max-width: 640px) {
  .footer-newsletter-unsub { flex-direction: column; max-width: none; }
}
:root[data-theme="light"] .footer-newsletter-unsub .form-control { background: #ffffff; }

/* ---------- الموجة 7: الكلمات المتحركة في الواجهة ---------- */
.hero-rotator {
  display: block;
  min-height: 1.25em;
  margin-top: 2px;
  background: linear-gradient(120deg, #f5e08a 0%, var(--gold) 45%, #b8860b 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-rotator-word { white-space: pre; }
.hero-rotator-caret {
  display: inline-block;
  width: 3px;
  height: .85em;
  margin-inline-start: 6px;
  border-radius: 2px;
  background: var(--gold);
  vertical-align: baseline;
  -webkit-text-fill-color: initial;
  animation: caret-blink 1s steps(2, start) infinite;
}
@keyframes caret-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-rotator-caret { animation: none; opacity: 1; }
}

/* ---------- الموجة 7: منزلق آراء العملاء (جوال فقط — سحب أفقي + نقاط) ---------- */
.testi-dots { display: none; }
@media (max-width: 768px) {
  .testi-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding-bottom: 8px;
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .testi-grid::-webkit-scrollbar { display: none; }
  .testi-grid > .testi-card {
    flex: 0 0 86%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .testi-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }
  .testi-dots button {
    width: 8px; height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(103, 156, 200, .35);
    cursor: pointer;
    transition: background .25s, width .25s;
  }
  .testi-dots button.active { background: var(--gold); width: 22px; }
}

/* ---------- الموجة 8: تظليل نتائج البحث ---------- */
mark.hl {
  background: rgba(212, 175, 55, .22);
  color: var(--gold);
  border-radius: 4px;
  padding: 0 2px;
  -webkit-text-fill-color: initial;
}
:root[data-theme="light"] mark.hl { background: rgba(212, 175, 55, .3); color: #8a6a00; }
.search-hit { transition: border-color var(--transition), transform var(--transition); }
.search-hit:hover { border-color: rgba(212, 175, 55, .45); transform: translateY(-2px); }

/* ---------- الموجة 8: كتل العد التنازلي للعروض ---------- */
.offer-timer {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(212, 175, 55, .08);
  border: 1px dashed rgba(212, 175, 55, .35);
  text-align: center;
}
.offer-timer-label { display: block; font-size: .78rem; color: var(--gold-soft); margin-bottom: 8px; }
.cd-blocks { display: inline-flex; gap: 6px; direction: ltr; }
.cd-block {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 52px; padding: 6px 8px;
  border-radius: 10px;
  background: rgba(2, 11, 37, .55);
  border: 1px solid rgba(103, 156, 200, .18);
}
.cd-block b { font-size: 1.05rem; font-weight: 800; color: var(--gold); line-height: 1.2; font-variant-numeric: tabular-nums; }
.cd-block i { font-style: normal; font-size: .66rem; color: var(--slate-500); margin-top: 2px; }
:root[data-theme="light"] .cd-block { background: rgba(255, 255, 255, .8); border-color: rgba(5, 102, 219, .15); }
.offer-card { position: relative; }
.offer-card .offer-img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; margin-bottom: 16px; display: block; }
.offer-card:has(.cd-blocks) { border-color: rgba(212, 175, 55, .4); }

/* ---------- الموجة 9: منزلق العروض في الواجهة (جوال) ---------- */
@media (max-width: 768px) {
  #offers .offer-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding-bottom: 8px;
    margin-inline: -16px;
    padding-inline: 16px;
  }
  #offers .offer-grid::-webkit-scrollbar { display: none; }
  #offers .offer-grid > .offer-card {
    flex: 0 0 86%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  #offers .cd-blocks { gap: 4px; }
  #offers .cd-block { min-width: 44px; padding: 5px 6px; }
}

/* ---------- الموجة 9: أزرار مشاركة المقال ---------- */
.post-share { gap: 8px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid rgba(103, 156, 200, .25);
  background: rgba(103, 156, 200, .1);
  color: var(--cyan-300);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), color var(--transition);
}
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-btn:hover { transform: translateY(-2px); border-color: rgba(212, 175, 55, .5); color: var(--gold); }
.share-wa:hover { color: #25D366; border-color: rgba(37, 211, 102, .5); }
.share-tg:hover { color: #2AABEE; border-color: rgba(42, 171, 238, .5); }
.share-fb:hover { color: #1877F2; border-color: rgba(24, 119, 242, .5); }
.share-copy svg { fill: none; }
:root[data-theme="light"] .share-btn { background: rgba(5, 102, 219, .07); }

/* ---------- الموجة 9ب: إنقاذ تباين النصوص في الثيم النهاري ----------
   الأبيض الثابت (#fff / var(--white)) يختفي على الخلفيات الفاتحة —
   هذه الكتلة تعيد ضبط كل المكونات المخالفة عند التبديل للنهاري. */
:root[data-theme="light"] h1,
:root[data-theme="light"] h2,
:root[data-theme="light"] h3,
:root[data-theme="light"] h4,
:root[data-theme="light"] h5,
:root[data-theme="light"] h6 {
  color: var(--ink);
}
:root[data-theme="light"] .display-title { color: var(--ink); }
:root[data-theme="light"] .legal h2 { color: var(--ink); }
:root[data-theme="light"] .brand { color: var(--ink); }
:root[data-theme="light"] .brand-name { color: var(--ink); }
:root[data-theme="light"] .brand-name small { color: var(--gold); }
:root[data-theme="light"] a:hover { color: var(--blue-500); }
:root[data-theme="light"] .main-nav a,
:root[data-theme="light"] .nav-dd-toggle { color: var(--ink); }
:root[data-theme="light"] .main-nav a:hover,
:root[data-theme="light"] .nav-dd-toggle:hover {
  color: var(--blue-600);
  background: rgba(5, 102, 219, .08);
}
:root[data-theme="light"] .nav-dd-menu a { color: var(--steel); }
:root[data-theme="light"] .nav-dd-menu a:hover { color: var(--blue-600); background: rgba(5, 102, 219, .08); }
:root[data-theme="light"] .plan-price { color: var(--blue-600); }
:root[data-theme="light"] .faq-q { color: var(--ink); }
:root[data-theme="light"] .faq-arrow { color: var(--gold); }
:root[data-theme="light"] .testi-author strong { color: var(--ink); }
:root[data-theme="light"] .offer-banner-text { color: var(--ink); }
:root[data-theme="light"] .offer-banner-date { color: var(--ink); }
:root[data-theme="light"] .footer-newsletter-info h4 { color: var(--ink); }
:root[data-theme="light"] .footer-newsletter-form .form-control,
:root[data-theme="light"] .footer-newsletter-unsub .form-control {
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(5, 102, 219, .25);
}
:root[data-theme="light"] .form-label { color: var(--ink); }
:root[data-theme="light"] .section-subtitle { color: var(--cyan-400); }
:root[data-theme="light"] .stat-number {
  color: var(--blue-600);
}
:root[data-theme="light"] .hero-rotator-caret { -webkit-text-fill-color: initial; }
:root[data-theme="light"] .post-share .share-btn { color: var(--steel); }
:root[data-theme="light"] .post-share .share-btn:hover { color: var(--gold); }

/* الأنماط المضمّنة (inline) في العروض — نتغلب عليها بـ !important */
:root[data-theme="light"] span[style*="color:#fff"] { color: var(--ink) !important; }
:root[data-theme="light"] strong[style*="color:#fff"] { color: var(--ink) !important; }
:root[data-theme="light"] .search-hit { border-color: rgba(5, 102, 219, .14); }
:root[data-theme="light"] .search-hit:hover { border-color: rgba(212, 175, 55, .5); }
:root[data-theme="light"] mark.hl { color: #8a6a00; }

/* ---------- الموجة 9ج: تدقيق التباين الشامل في الثيم النهاري ----------
   المنطق: كل مكوّن خلفيته تنقلب فاتحة → خطه غامق، وكل مكوّن خلفيته
   تبقى غامقة (topbar/toast/wa/أزرار) → خطه فاتح. */
/* 1) مكونات بقيت غامقة رغم النهاري → نقلبها فاتحة */
:root[data-theme="light"] .faq-item {
  background: rgba(255, 255, 255, .85);
  border-color: rgba(5, 102, 219, .16);
}
:root[data-theme="light"] .faq-item.open { border-color: rgba(212, 175, 55, .5); }
:root[data-theme="light"] .faq-q:hover { background: rgba(5, 102, 219, .05); }
:root[data-theme="light"] .pricing-card.recommended {
  background: linear-gradient(160deg, rgba(212, 175, 55, .18), rgba(255, 255, 255, .96));
  border-color: rgba(212, 175, 55, .55);
  box-shadow: 0 18px 50px rgba(212, 175, 55, .16);
}
/* 2) أزرار outline/ghost: hover كان أبيض على خلفية فاتحة */
:root[data-theme="light"] .btn-outline:hover,
:root[data-theme="light"] .btn-ghost:hover {
  color: var(--blue-600);
  background: rgba(5, 102, 219, .1);
}
/* 3) التوب بار يبقى أزرق غامق في النهاري → hover يبقى أبيض */
:root[data-theme="light"] .topbar a:hover { color: #fff; }
/* 4) ذهبيات على خلفيات فاتحة → ذهبي داكن مقروء */
:root[data-theme="light"] .hero-rotator {
  background: linear-gradient(120deg, #b8860b 0%, var(--gold) 45%, #8a6a00 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
:root[data-theme="light"] .gold-text {
  background: linear-gradient(120deg, #b8860b 0%, var(--gold) 45%, #8a6a00 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
:root[data-theme="light"] .cd-block b { color: #8a6a00; }
:root[data-theme="light"] .faq-arrow { color: #8a6a00; }
:root[data-theme="light"] .testi-stars { color: #8a6a00; }
:root[data-theme="light"] .offer-price .current { color: #8a6a00; }
:root[data-theme="light"] .badge-gold { color: #8a6a00; }
/* 5) أخطاء النماذج: أحمر غامق على الأبيض */
:root[data-theme="light"] .form-error { color: #dc2626; }
/* 6) الحقول المنسدلة في النهاري */
:root[data-theme="light"] select.form-control option { background: #ffffff; color: #0b1220; }

/* ---------- مبدّل اللغة (عربي / EN) ---------- */
.lang-switch { font-size: .8rem; font-weight: 700; gap: 6px; direction: ltr; }
.lang-switch a { color: var(--cyan-300); text-decoration: none; }
.lang-switch a:hover { color: #fff; text-decoration: underline; }
.lang-switch strong { color: var(--gold); }
.lang-sep { opacity: .5; }

/* ===== English (LTR) typography ===== */
html[lang="en"] body { font-family: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4, html[lang="en"] .display-title, html[lang="en"] .section-title, html[lang="en"] .navbar-brand { font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif; }

/* ===== Team (فريق العمل) ===== */
.team-card { text-align: center; }
.team-avatar { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden; position: relative;
  border: 3px solid rgba(212, 175, 55, .35); background: var(--bg-section); display: flex; align-items: center; justify-content: center; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-avatar-fallback { font-size: 44px; font-weight: 800; color: var(--gold); font-family: var(--font-head); }
.team-position { color: var(--gold); font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
.team-position-lg { font-size: 1.15rem; margin: 6px 0 18px; }
.badge-sm { font-size: .78rem; padding: 5px 12px; }
.member-profile { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; max-width: 960px; margin: 0 auto; }
.member-photo { border-radius: var(--radius-lg); overflow: hidden; border: 2px solid rgba(212, 175, 55, .3); background: var(--bg-section); }
.member-photo img { width: 100%; display: block; }
.member-photo-fallback { height: 320px; display: flex; align-items: center; justify-content: center; font-size: 96px; font-weight: 800; color: var(--gold); font-family: var(--font-head); }
.member-info { text-align: start; }
.member-info .display-title { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 14px 0 4px; }
.member-bio { color: var(--silver); line-height: 2; margin: 20px 0; }
.member-contacts { margin: 24px 0; padding: 18px 22px; border: 1px solid rgba(103, 156, 200, .18); border-radius: var(--radius-md); background: rgba(2, 11, 37, .5); }
.member-contacts h3 { font-size: 1rem; color: var(--gold); margin-bottom: 10px; }
.member-contacts ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.member-contacts a { color: var(--cyan-300); }
@media (max-width: 820px) {
  .member-profile { grid-template-columns: 1fr; gap: 28px; }
  .member-photo { max-width: 340px; margin: 0 auto; }
  .member-info { text-align: center; }
}

/* ===== Service cards with media ===== */
.service-media { position: relative; border-radius: var(--radius-md) var(--radius-md) 0 0; overflow: hidden; margin: -28px -28px 20px; }
.service-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-icon-overlay { position: absolute; inset-inline-start: 14px; bottom: -22px; margin: 0; box-shadow: var(--shadow-md); border: 3px solid var(--bg-dark); }
@media (max-width: 560px) {
  .service-media { margin: -24px -24px 16px; }
}

/* ===== Domain search tool ===== */
.domain-tool { max-width: 860px; margin: 0 auto; padding: 34px; }
.domain-search-row { display: flex; gap: 12px; flex-wrap: wrap; }
.domain-input { flex: 1; min-width: 220px; padding: 13px 18px; border-radius: var(--radius-md); border: 1px solid rgba(103, 156, 200, .3); background: rgba(2, 11, 37, .6); color: var(--white); font-size: 1rem; font-family: var(--font-body); }
.domain-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .15); }
.domain-tlds { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 4px; }
.domain-tlds-label { color: var(--slate-500); font-size: .9rem; }
.domain-tld { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(103, 156, 200, .22); background: rgba(11, 58, 143, .12); color: var(--silver); font-size: .88rem; cursor: pointer; transition: border-color var(--transition), color var(--transition); }
.domain-tld:hover { border-color: var(--gold); color: var(--white); }
.domain-tld input { accent-color: var(--gold); }
.domain-results { display: grid; gap: 12px; margin-top: 22px; }
.domain-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 20px; border-radius: var(--radius-md); border: 1px solid rgba(103, 156, 200, .16); background: rgba(2, 11, 37, .45); }
.domain-card-main { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.domain-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--white); }
.domain-status { font-size: .85rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.domain-status-available { color: #4ade80; background: rgba(74, 222, 128, .12); border: 1px solid rgba(74, 222, 128, .35); }
.domain-status-taken { color: #f87171; background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .35); }
.domain-status-unknown { color: var(--gold-soft); background: rgba(212, 175, 55, .12); border: 1px solid rgba(212, 175, 55, .35); }
.domain-status-checking { color: var(--cyan-300); background: rgba(103, 156, 200, .12); border: 1px solid rgba(103, 156, 200, .35); }
.domain-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-copied { border-color: #4ade80 !important; color: #4ade80 !important; }
.domain-msg { color: var(--gold-soft); font-size: .93rem; padding: 14px 0; }
.domain-msg-error { color: #f87171; }
.domain-hint { margin-top: 18px; color: var(--slate-500); font-size: .82rem; text-align: center; }
@media (max-width: 560px) { .domain-tool { padding: 22px 18px; } .domain-card { flex-direction: column; align-items: flex-start; } }

/* =========================================================
   مراجعة إبداعية: الثيم النهاري (Light) — تمايز + تباين + رونق
   ========================================================= */

/* 1) الزر الذهبي: نص داكن ثابت (لا يتأثر بعكس --navy-950 للفاتح) */
:root[data-theme="light"] .btn-gold,
:root[data-theme="light"] .btn-gold:hover {
  color: #0b1220;
}

/* 2) النصوص الذهبية المتدرجة: ذهبي داكن مقروء على الخلفية الفاتحة */
:root[data-theme="light"] .gold-text,
:root[data-theme="light"] .hero-rotator {
  background: linear-gradient(120deg, #8a6a00 0%, #b8860b 45%, #6b5200 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
:root[data-theme="light"] .stat-number {
  color: var(--blue-600);
}

/* 3) تمايز البطاقات: لكل نوع بطاقة شخصية مميزة */
:root[data-theme="light"] .card {
  border-color: rgba(5, 102, 219, .22);
  box-shadow: 0 4px 18px rgba(2, 11, 37, .06);
}
:root[data-theme="light"] .service-card {
  background: linear-gradient(160deg, #ffffff, #eaf2fb);
  border-inline-start: 4px solid var(--gold);
}
:root[data-theme="light"] .media-card {
  background: #ffffff;
  border-color: rgba(5, 102, 219, .2);
  box-shadow: 0 8px 28px rgba(2, 11, 37, .09);
}
:root[data-theme="light"] .media-card .card-body { background: #ffffff; }
:root[data-theme="light"] .team-card {
  background: linear-gradient(160deg, #ffffff, #fbf5e6);
  border-color: rgba(212, 175, 55, .35);
}
:root[data-theme="light"] .team-avatar { border-color: rgba(138, 106, 0, .5); }
:root[data-theme="light"] .team-position { color: var(--gold-soft); }
:root[data-theme="light"] .pricing-card {
  background: linear-gradient(160deg, #ffffff, #eef3f9);
  border-color: rgba(5, 102, 219, .2);
}

/* 4) تفاعل أوضح: hover بحد ذهبي + ظل أعمق */
:root[data-theme="light"] .card:hover {
  border-color: rgba(212, 175, 55, .55);
  box-shadow: 0 16px 40px rgba(2, 11, 37, .12);
}

/* 5) بطاقات العداد + الأسئلة في النهار (إزالة الخلفية الرمادية) */
:root[data-theme="light"] .stat-card {
  background: linear-gradient(160deg, #ffffff, #eaf2fb);
  border-color: rgba(5, 102, 219, .2);
  box-shadow: 0 4px 18px rgba(2, 11, 37, .06);
}
:root[data-theme="light"] .faq-item {
  background: #ffffff;
  border-color: rgba(5, 102, 219, .2);
  box-shadow: 0 4px 18px rgba(2, 11, 37, .06);
}

/* 6) عكس سهم icon-arrow في الواجهة الإنكليزية (LTR: يشير يميناً) */
html[lang="en"] .card-link svg,
html[lang="en"] svg:has(use[href="#icon-arrow"]) {
  transform: scaleX(-1);
}

/* ============================================================
   Responsive safety net — شبكة أمان التجاوب (2026-09-11)
   السبب الجذري: أعمدة grid مكتوبة كأنماط سطرية inline داخل العروض،
   واستعلامات الوسائط لا تستطيع تعديل الأنماط السطرية — لذا تُطوى
   هنا إلى عمود واحد على الشاشات الصغيرة عبر محدد السمة [style*].
   يغطي: about / portfolio / products / services / why-us وأي صفحة مستقبلية.
   ============================================================ */
@media (max-width: 900px) {
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* منع أي عنصر شبكة من فرض عرض أدنى يتجاوز المتاح (سبب قصّ المحتوى واختفائه) */
.grid > * {
  min-width: 0;
}

/* النصوص الطويلة والروابط والكلمات الأجنبية لا تكسر التخطيط */
.article-body,
.card p,
.card li,
.faq-a-inner {
  overflow-wrap: break-word;
}