/* ===================================================
   ونش انقاذ السويس والسخنة — Design System v2
   =================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Tajawal', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  direction: rtl;
  background: #f0f4f8;
  color: #1a1a2e;
  line-height: 1.75;
}
:root {
  --primary:      #0057A8;
  --primary-dark: #003d7a;
  --primary-light:#e8f0fe;
  --accent:       #FF6B00;
  --accent-dark:  #cc5500;
  --white:        #ffffff;
  --light:        #f0f4f8;
  --text:         #1a1a2e;
  --text-muted:   #5a6a7e;
  --border:       #dde3ea;
  --card-bg:      #f8fbff;
  --shadow-sm:    0 2px 8px rgba(0,57,122,.07);
  --shadow-md:    0 4px 20px rgba(0,57,122,.13);
  --shadow-lg:    0 8px 36px rgba(0,57,122,.18);
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --transition:   all .22s ease;
}
/* HEADER */
header { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #0080cc 100%); color: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,.28); }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 16px; max-width: 1200px; margin: 0 auto; }
.brand-name { font-size: 1.45rem; font-weight: 900; color: #fff; text-decoration: none; letter-spacing: -.3px; white-space: nowrap; }
.brand-name span { color: var(--accent); }
.header-phone a { background: var(--accent); color: #fff; padding: 9px 20px; border-radius: 30px; font-weight: 800; font-size: 1rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: var(--transition); white-space: nowrap; }
.header-phone a:hover { background: var(--accent-dark); transform: translateY(-1px); }
nav { background: rgba(0,0,0,.18); border-top: 1px solid rgba(255,255,255,.1); }
.nav-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 5px 20px; max-width: 1200px; margin: 0 auto; }
nav a { color: rgba(255,255,255,.88); text-decoration: none; padding: 7px 13px; font-size: .88rem; font-weight: 600; border-radius: var(--radius-sm); transition: var(--transition); white-space: nowrap; }
nav a:hover, nav a.active { background: var(--accent); color: #fff; }
.nav-cta { background: var(--accent) !important; color: #fff !important; border-radius: var(--radius-sm) !important; }
/* HERO */
.hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 70%, #0080cc 100%); color: #fff; text-align: center; padding: 60px 24px 50px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(255,107,0,.12) 0%, transparent 65%); pointer-events: none; }
.hero .container { position: relative; }
.hero h1 { font-size: clamp(1.6rem, 4.5vw, 2.8rem); font-weight: 900; margin-bottom: 14px; line-height: 1.25; text-shadow: 0 2px 8px rgba(0,0,0,.2); }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.1rem; opacity: .92; max-width: 640px; margin: 0 auto 28px; line-height: 1.7; }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; padding: 16px 38px; border-radius: 40px; font-size: 1.2rem; font-weight: 900; text-decoration: none; box-shadow: 0 6px 28px rgba(255,107,0,.5); transition: var(--transition); }
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(255,107,0,.55); }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.badge { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; padding: 6px 16px; border-radius: 20px; font-size: .88rem; font-weight: 700; backdrop-filter: blur(4px); }
/* STATS */
.stats-bar { background: var(--accent); color: #fff; }
.stats-inner { display: flex; flex-wrap: wrap; justify-content: center; max-width: 1200px; margin: 0 auto; }
.stat { padding: 16px 32px; text-align: center; border-left: 1px solid rgba(255,255,255,.22); flex: 1; min-width: 110px; }
.stat:last-child { border-left: none; }
.stat-num { font-size: 1.75rem; font-weight: 900; display: block; }
.stat-label { font-size: .78rem; opacity: .88; text-transform: uppercase; letter-spacing: .5px; }
/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
main { padding: 36px 0 56px; }
.section-title { font-size: 1.5rem; font-weight: 900; color: var(--primary-dark); margin-bottom: 22px; padding-bottom: 10px; border-bottom: 3px solid var(--accent); display: inline-block; }
/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-bottom: 40px; }
.card { background: var(--white); border-radius: var(--radius-md); padding: 22px 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); text-decoration: none; color: var(--text); display: flex; flex-direction: column; justify-content: space-between; min-height: 130px; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card-icon { font-size: 1.9rem; margin-bottom: 10px; }
.card h3 { font-size: 1rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 6px; line-height: 1.4; }
.card p { font-size: .88rem; color: var(--text-muted); }
.card-arrow { color: var(--accent); font-size: 1rem; margin-top: 10px; font-weight: 700; }
/* BREADCRUMB */
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #bbb; }
/* ARTICLE */
.article-wrap { background: var(--white); border-radius: var(--radius-md); padding: 40px 44px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.article-wrap > h1 { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 900; color: var(--primary-dark); margin-bottom: 10px; line-height: 1.3; }
.article-meta { font-size: .86rem; color: var(--text-muted); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--light); }
.article-wrap h2 { font-size: 1.2rem; font-weight: 800; color: var(--primary-dark); margin: 32px 0 14px; padding-right: 14px; border-right: 4px solid var(--accent); line-height: 1.4; }
.article-wrap h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin: 22px 0 8px; }
.article-wrap p { margin-bottom: 14px; color: #2d3748; line-height: 1.8; }
.article-wrap ul { padding-right: 22px; margin-bottom: 16px; }
.article-wrap ul li { margin-bottom: 7px; color: #2d3748; }
.article-wrap ul li::marker { color: var(--accent); }
.article-wrap ol { padding-right: 22px; margin-bottom: 16px; }
.article-wrap ol li { margin-bottom: 10px; color: #2d3748; }
.article-wrap .cards-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 14px 0 24px; }
.article-wrap .card { min-height: 110px; padding: 16px 14px; }
.article-wrap .card h3 { font-size: .93rem; }
/* TABLE */
.article-wrap table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .92rem; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.article-wrap table th { background: var(--primary); color: #fff; padding: 12px 16px; text-align: right; font-weight: 700; }
.article-wrap table td { padding: 11px 16px; border-bottom: 1px solid var(--border); color: #2d3748; }
.article-wrap table tr:nth-child(even) td { background: var(--card-bg); }
.article-wrap table tr:hover td { background: var(--primary-light); }
/* HIGHLIGHT BOX */
.highlight-box { background: linear-gradient(135deg, #e8f0fe, #d4e8ff); border-right: 5px solid var(--primary); border-radius: var(--radius-sm); padding: 20px 24px; margin: 18px 0 28px; font-size: .97rem; color: var(--primary-dark); line-height: 1.85; box-shadow: var(--shadow-sm); }
/* CTA STRIP */
.cta-strip { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; text-align: center; padding: 40px 28px; border-radius: var(--radius-md); margin: 36px 0; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.cta-strip::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(255,107,0,.15), transparent 60%); pointer-events: none; }
.cta-strip h2 { font-size: 1.4rem; font-weight: 900; color: #fff !important; border: none !important; padding: 0 !important; margin: 0 0 10px !important; position: relative; }
.cta-strip p { opacity: .9; margin-bottom: 16px; font-size: 1rem; color: rgba(255,255,255,.9) !important; position: relative; }
.cta-strip a { display: inline-block; background: #fff; color: var(--primary-dark); padding: 14px 38px; border-radius: 40px; font-size: 1.15rem; font-weight: 900; text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,.2); transition: var(--transition); position: relative; }
.cta-strip a:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
/* RELATED */
.related-links { margin-top: 36px; padding-top: 22px; border-top: 2px solid var(--light); }
.related-links h3 { font-size: 1rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 14px; }
.related-links a { display: inline-block; background: var(--light); color: var(--primary-dark); padding: 7px 16px; border-radius: 20px; font-size: .86rem; font-weight: 600; text-decoration: none; margin: 4px; border: 1px solid var(--border); transition: var(--transition); }
.related-links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
/* FOOTER */
footer { background: linear-gradient(180deg, #003060 0%, #001e40 100%); color: rgba(255,255,255,.82); padding: 56px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr; gap: 36px; padding-bottom: 40px; }
.footer-brand { font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.footer-brand span { color: var(--accent); }
.footer-desc { font-size: .88rem; line-height: 1.75; opacity: .8; margin-bottom: 18px; }
.footer-cta-btn { display: inline-block; background: var(--accent); color: #fff; padding: 11px 24px; border-radius: 30px; font-size: 1rem; font-weight: 800; text-decoration: none; transition: var(--transition); }
.footer-cta-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
footer h4 { font-size: .95rem; font-weight: 800; color: #fff; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 9px; }
footer ul li a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .88rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 5px; }
footer ul li a::before { content: '›'; color: var(--accent); font-weight: 900; }
footer ul li a:hover { color: var(--accent); padding-right: 4px; }
.footer-contact-item { font-size: .88rem; margin-bottom: 10px; opacity: .82; display: flex; align-items: center; gap: 8px; }
.footer-contact-item a { color: var(--accent); text-decoration: none; font-weight: 700; }
.footer-contact-item a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 20px; text-align: center; font-size: .82rem; opacity: .6; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }
/* AREAS */
.areas-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tag { background: var(--light); border: 1px solid var(--border); color: var(--primary-dark); padding: 6px 14px; border-radius: 20px; font-size: .88rem; font-weight: 600; text-decoration: none; transition: var(--transition); }
.area-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
/* RESPONSIVE */
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 768px) {
  .header-top { padding: 10px 16px; }
  .brand-name { font-size: 1.15rem; }
  .hero { padding: 40px 16px 34px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-cta { font-size: 1.05rem; padding: 13px 28px; }
  .stat { padding: 12px 14px; }
  .stat-num { font-size: 1.3rem; }
  .article-wrap { padding: 22px 18px; }
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  .article-wrap .cards-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-strip { padding: 28px 18px; }
}
@media (max-width: 480px) {
  .nav-inner { padding: 4px 10px; gap: 1px; }
  nav a { font-size: .76rem; padding: 5px 8px; }
  .hero { padding: 28px 14px 24px; }
  .badge { font-size: .76rem; padding: 5px 10px; }
  .cards-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .article-wrap { padding: 16px 14px; }
  .article-wrap .cards-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .article-wrap table { font-size: .82rem; }
  .article-wrap table th, .article-wrap table td { padding: 8px 10px; }
}
