/* =============================================
   JDPE — Main Public CSS
   مجلة التمكين التربوي الرقمي
   ============================================= */
:root {
  --primary:#1a3a5c; --primary-l:#2a5a8c; --primary-d:#0d1f33;
  --accent:#c8974d;  --accent-l:#e8b870;  --accent-d:#a07030;
  --bg:#ffffff;      --bg2:#f6f3ec;        --bg3:#ede8dd;
  --text:#1a1a1a;    --text2:#4a4a4a;      --text3:#7a7a7a;
  --border:rgba(26,58,92,.13); --border2:rgba(26,58,92,.28);
  --card:#ffffff;    --nav-bg:rgba(255,255,255,.96);
  --sh:0 2px 20px rgba(26,58,92,.07); --sh2:0 6px 40px rgba(26,58,92,.13);
  --hero-bg:#0d1f33; --footer-bg:#0b1a2b;
  --tag-bg:rgba(200,151,77,.13); --tag-clr:#a07030;
}
[data-theme="dark"] {
  --primary:#7aaed8;  --primary-l:#9ec4e8; --primary-d:#4a8ab8;
  --accent:#e8b870;   --accent-l:#f0cc90;  --accent-d:#c8974d;
  --bg:#0e1825;       --bg2:#141f30;        --bg3:#1a2838;
  --text:#e8e0d0;     --text2:#b0a898;      --text3:#787068;
  --border:rgba(120,180,230,.11); --border2:rgba(120,180,230,.22);
  --card:#141f30;     --nav-bg:rgba(14,24,37,.96);
  --sh:0 2px 20px rgba(0,0,0,.28); --sh2:0 6px 40px rgba(0,0,0,.45);
  --hero-bg:#060e18;  --footer-bg:#060e18;
  --tag-bg:rgba(232,184,112,.13); --tag-clr:#e8b870;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'Cairo','Amiri',sans-serif; background:var(--bg); color:var(--text); line-height:1.7; direction:rtl; transition:background .3s,color .3s; }
body.lang-en { font-family:'Crimson Pro','Playfair Display',serif; direction:ltr; }
a { color:inherit; }

/* ---- TOPBAR ---- */
.topbar { background:var(--primary-d); color:rgba(255,255,255,.6); font-size:12px; padding:6px 0; border-bottom:1px solid rgba(255,255,255,.07); }
.topbar-inner { max-width:1200px; margin:0 auto; padding:0 2rem; display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.topbar-right { display:flex; align-items:center; gap:.8rem; }
.topbar a { color:rgba(255,255,255,.55); text-decoration:none; transition:color .2s; }
.topbar a:hover { color:var(--accent-l); }
.sep { opacity:.3; }

/* ---- NAV ---- */
nav { position:sticky; top:0; z-index:200; background:var(--nav-bg); backdrop-filter:blur(14px); border-bottom:1px solid var(--border); box-shadow:var(--sh); }
.nav-inner { max-width:1200px; margin:0 auto; padding:0 1.5rem; display:flex; align-items:center; gap:1rem; height:66px; }
.logo { display:flex; align-items:center; gap:11px; text-decoration:none; flex-shrink:0; }
.logo-ico { width:42px; height:42px; background:linear-gradient(135deg,var(--primary),var(--primary-l)); border-radius:9px; display:flex; align-items:center; justify-content:center; color:#fff; font-family:'Crimson Pro',serif; font-size:19px; font-weight:700; flex-shrink:0; }
.logo-name { font-size:13.5px; font-weight:700; color:var(--text); line-height:1.3; }
.logo-sub  { font-size:11px; color:var(--text3); }
.nav-links { display:flex; list-style:none; margin-inline-start:auto; gap:2px; flex-wrap:wrap; }
.nav-links a { color:var(--text2); text-decoration:none; font-size:13px; font-weight:500; padding:5px 11px; border-radius:6px; transition:all .2s; white-space:nowrap; }
.nav-links a:hover, .nav-links a.active { color:var(--primary); background:var(--bg2); font-weight:700; }
.nav-actions { display:flex; gap:7px; align-items:center; flex-shrink:0; }
.btn-sm { background:none; border:1px solid var(--border2); color:var(--text2); border-radius:6px; padding:5px 10px; cursor:pointer; font-size:12px; font-family:inherit; transition:all .2s; white-space:nowrap; text-decoration:none; display:inline-block; }
.btn-sm:hover { background:var(--bg2); color:var(--primary); }
.btn-cta { background:var(--accent); color:#fff; border:none; border-radius:7px; padding:8px 17px; font-size:13px; font-weight:700; cursor:pointer; font-family:inherit; transition:all .2s; white-space:nowrap; text-decoration:none; display:inline-block; }
.btn-cta:hover { background:var(--accent-d); transform:translateY(-1px); }

/* ---- FLASH ---- */
.flash { padding:12px 2rem; font-size:13.5px; text-align:center; }
.flash-success { background:#eaf7ee; color:#1a8a40; }
.flash-danger   { background:#fdecea; color:#c0392b; }

/* ---- HERO ---- */
.hero { background:var(--hero-bg); color:#fff; padding:70px 0 60px; position:relative; overflow:hidden; }
.hero::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 80% 60% at 20% 50%,rgba(30,100,160,.35) 0%,transparent 70%),radial-gradient(ellipse 50% 70% at 85% 15%,rgba(200,151,77,.13) 0%,transparent 60%); }
.hero-grid-bg { position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px); background-size:55px 55px; }
.hero-inner { position:relative; z-index:1; display:grid; grid-template-columns:1fr 260px; gap:3rem; align-items:center; }
.hero-badge { display:inline-flex; align-items:center; gap:7px; background:rgba(200,151,77,.2); border:1px solid rgba(200,151,77,.4); color:var(--accent-l); font-size:11.5px; font-weight:700; padding:4px 13px; border-radius:20px; margin-bottom:1.1rem; }
.hero-badge::before { content:'●'; font-size:7px; animation:blink 2s infinite; }
@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}
.hero h1 { font-family:'Amiri',serif; font-size:clamp(26px,3.8vw,46px); font-weight:700; line-height:1.3; margin-bottom:.7rem; }
body.lang-en .hero h1 { font-family:'Playfair Display',serif; font-size:clamp(22px,3.2vw,40px); }
.hero-full-name { font-size:16px; color:rgba(255,255,255,.5); font-style:italic; margin-bottom:.5rem; }
.hero-sub { font-size:15px; color:rgba(255,255,255,.62); max-width:580px; margin-bottom:1.4rem; line-height:1.85; }
.hero-issn { display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.11); border-radius:8px; padding:7px 15px; font-size:12px; color:rgba(255,255,255,.55); margin-bottom:1.8rem; flex-wrap:wrap; }
.hero-issn strong { color:#fff; font-weight:700; }
.sep-dot { opacity:.3; }
.hero-btns { display:flex; gap:11px; flex-wrap:wrap; }
.btn-hero  { background:var(--accent); color:#fff; border:none; border-radius:8px; padding:11px 26px; font-size:14.5px; font-weight:700; cursor:pointer; font-family:inherit; transition:all .25s; text-decoration:none; display:inline-block; }
.btn-hero:hover  { background:var(--accent-l); transform:translateY(-2px); box-shadow:0 7px 22px rgba(200,151,77,.35); }
.btn-hero2 { background:rgba(255,255,255,.08); color:rgba(255,255,255,.82); border:1px solid rgba(255,255,255,.18); border-radius:8px; padding:11px 26px; font-size:14.5px; font-weight:600; cursor:pointer; font-family:inherit; transition:all .25s; text-decoration:none; display:inline-block; }
.btn-hero2:hover { background:rgba(255,255,255,.15); }
.hero-stats { display:grid; grid-template-columns:1fr 1fr; gap:11px; }
.stat { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); border-radius:11px; padding:18px 14px; text-align:center; }
.stat-n { font-family:'Crimson Pro',serif; font-size:30px; font-weight:700; color:var(--accent-l); line-height:1; margin-bottom:5px; }
.stat-l { font-size:11px; color:rgba(255,255,255,.48); line-height:1.4; }

/* ---- ANN BAR ---- */
.ann-bar { background:var(--primary); color:#fff; padding:11px 0; border-bottom:1px solid var(--border); }
.ann-bar .container { display:flex; align-items:center; gap:11px; font-size:13px; }
.ann-tag { background:var(--accent); color:#fff; font-size:10.5px; font-weight:700; padding:3px 10px; border-radius:4px; white-space:nowrap; flex-shrink:0; }
.ann-link { color:var(--accent-l); text-decoration:none; font-weight:700; margin-inline-start:auto; font-size:13px; white-space:nowrap; }
.ann-link:hover { text-decoration:underline; }

/* ---- LAYOUT ---- */
.section { padding:65px 0; }
.section-alt { background:var(--bg2); }
.container { max-width:1200px; margin:0 auto; padding:0 2rem; }
.divider { height:1px; background:var(--border); }

/* ---- SECTION HEADERS ---- */
.sec-label { font-size:11px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; color:var(--accent); margin-bottom:9px; }
.sec-title { font-family:'Amiri',serif; font-size:clamp(20px,2.8vw,30px); font-weight:700; color:var(--text); line-height:1.3; }
body.lang-en .sec-title { font-family:'Playfair Display',serif; }
.sec-desc { font-size:14.5px; color:var(--text2); margin-top:9px; max-width:580px; line-height:1.85; }
.sec-head-row { display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:1rem; margin-bottom:36px; }
.view-all { color:var(--accent); text-decoration:none; font-size:13.5px; font-weight:700; white-space:nowrap; }

/* ---- PAGE HERO ---- */
.page-hero { background:var(--hero-bg); padding:42px 0 38px; position:relative; overflow:hidden; }
.page-hero::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 70% 100% at 0% 50%,rgba(30,100,160,.3) 0%,transparent 70%); }
.page-hero .container { position:relative; z-index:1; }
.page-hero h1 { font-family:'Amiri',serif; font-size:clamp(22px,3vw,36px); font-weight:700; color:#fff; margin-bottom:.4rem; }
body.lang-en .page-hero h1 { font-family:'Playfair Display',serif; }
.page-hero p { font-size:14.5px; color:rgba(255,255,255,.55); }
.breadcrumb { font-size:12px; color:rgba(255,255,255,.45); margin-bottom:.7rem; display:flex; gap:6px; align-items:center; }
.breadcrumb a { color:rgba(255,255,255,.45); text-decoration:none; }
.breadcrumb a:hover { color:var(--accent-l); }
.breadcrumb span { color:rgba(255,255,255,.25); }

/* ---- SIDEBAR LAYOUT ---- */
.with-sidebar { display:grid; grid-template-columns:1fr 280px; gap:2.5rem; align-items:start; }
.sidebar-card { background:var(--card); border:1px solid var(--border); border-radius:13px; padding:1.5rem; margin-bottom:1.2rem; box-shadow:var(--sh); }
.sidebar-title { font-size:13px; font-weight:700; color:var(--text); border-bottom:1px solid var(--border); padding-bottom:10px; margin-bottom:14px; }
.sidebar-links { list-style:none; }
.sidebar-links li { margin-bottom:1px; }
.sidebar-links a { display:flex; align-items:center; gap:8px; color:var(--text2); text-decoration:none; font-size:13px; padding:8px 10px; border-radius:7px; transition:all .2s; cursor:pointer; }
.sidebar-links a::before { content:'›'; color:var(--accent); font-size:16px; }
.sidebar-links a:hover, .sidebar-links a.act { color:var(--primary); background:var(--bg2); font-weight:700; }
.sidebar-info-row { display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--border); font-size:13px; }
.sidebar-info-row:last-child { border-bottom:none; }
.sil { color:var(--text3); font-size:12.5px; }
.siv { font-weight:700; color:var(--text); }
.siv.acc { color:var(--accent); }
.sidebar-cta { background:var(--primary); color:#fff; border:none; border-radius:8px; padding:11px; width:100%; font-size:13.5px; font-weight:700; cursor:pointer; font-family:inherit; transition:all .2s; display:block; text-align:center; margin-top:.5rem; text-decoration:none; }
.sidebar-cta:hover { background:var(--primary-l); }

/* ---- HOME ARTICLES GRID ---- */
.articles-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.art-card-sm { background:var(--card); border:1px solid var(--border); border-radius:13px; overflow:hidden; transition:all .22s; cursor:pointer; }
.art-card-sm:hover { transform:translateY(-4px); box-shadow:var(--sh2); border-color:var(--border2); }
.art-card-top { background:var(--bg3); padding:18px 18px 14px; }
.art-sec-tag { display:inline-block; background:var(--tag-bg); color:var(--tag-clr); font-size:10.5px; font-weight:700; padding:2px 9px; border-radius:4px; margin-bottom:9px; }
.art-card-sm h3 { font-family:'Amiri',serif; font-size:15.5px; font-weight:700; line-height:1.5; color:var(--text); }
body.lang-en .art-card-sm h3 { font-family:'Crimson Pro',serif; font-size:16px; }
.art-card-body { padding:14px 18px 18px; }
.art-meta { font-size:12px; color:var(--text3); margin-bottom:8px; }
.art-auth { font-size:12.5px; color:var(--text2); margin-bottom:11px; }
.art-rd { display:inline-flex; align-items:center; gap:5px; color:var(--primary); font-size:12.5px; font-weight:700; text-decoration:none; cursor:pointer; }

/* ---- ARTICLES LIST PAGE ---- */
.filter-bar { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:1.5rem; }
.filter-tabs { display:flex; gap:6px; flex-wrap:wrap; }
.ftab { background:none; border:1px solid var(--border2); color:var(--text2); border-radius:20px; padding:5px 14px; font-size:12.5px; font-weight:600; cursor:pointer; font-family:inherit; transition:all .2s; text-decoration:none; display:inline-block; }
.ftab.on, .ftab:hover { background:var(--primary); color:#fff; border-color:var(--primary); }
.filter-search { display:flex; gap:4px; margin-inline-start:auto; }
.filter-search input { border:1px solid var(--border2); background:var(--bg2); color:var(--text); border-radius:8px; padding:6px 12px; font-size:13px; font-family:inherit; outline:none; }
.filter-search button { background:var(--primary); color:#fff; border:none; border-radius:8px; padding:6px 12px; cursor:pointer; }
.results-count { font-size:13px; color:var(--text3); margin-bottom:1rem; }
.article-list { display:flex; flex-direction:column; gap:1rem; }
.art-card { background:var(--card); border:1px solid var(--border); border-radius:13px; padding:20px 22px; transition:all .22s; }
.art-card:hover { border-color:var(--border2); box-shadow:var(--sh2); }
.art-top { display:flex; gap:8px; align-items:center; margin-bottom:10px; flex-wrap:wrap; }
.art-vol { font-size:11.5px; font-weight:700; color:var(--primary); background:rgba(26,58,92,.08); padding:2px 9px; border-radius:4px; }
[data-theme="dark"] .art-vol { background:rgba(120,180,230,.1); }
.art-status { display:inline-block; font-size:11px; font-weight:700; padding:2px 9px; border-radius:4px; }
.art-status.pub  { background:rgba(40,160,80,.12); color:#1a8a40; }
.art-status.pend { background:rgba(200,140,40,.12); color:#a07030; }
.art-status.arch { background:var(--bg2); color:var(--text3); }
[data-theme="dark"] .art-status.pub { color:#60cc80; }
.art-card h3 { font-family:'Amiri',serif; font-size:17px; font-weight:700; color:var(--text); margin-bottom:8px; line-height:1.5; }
body.lang-en .art-card h3 { font-family:'Crimson Pro',serif; font-size:18px; }
.art-author { font-size:13px; color:var(--primary); font-weight:600; margin-bottom:7px; }
.art-abstract { font-size:13.5px; color:var(--text2); line-height:1.75; margin-bottom:12px; }
.art-tags { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px; }
.art-tag { background:var(--tag-bg); color:var(--tag-clr); font-size:11.5px; padding:2px 9px; border-radius:4px; font-weight:600; }
.art-foot { display:flex; justify-content:space-between; align-items:center; font-size:12.5px; color:var(--text3); flex-wrap:wrap; gap:8px; }
.art-read { color:var(--primary); font-weight:700; text-decoration:none; font-size:13px; }
.art-read-na { color:var(--text3); font-size:12.5px; }
.empty-state { text-align:center; padding:3rem; color:var(--text3); font-size:15px; }
.pagination { display:flex; gap:5px; margin-top:1.5rem; flex-wrap:wrap; }
.page-btn { padding:6px 13px; border:1px solid var(--border2); border-radius:6px; font-size:13px; text-decoration:none; color:var(--text2); background:var(--card); transition:all .2s; }
.page-btn.on, .page-btn:hover { background:var(--primary); color:#fff; border-color:var(--primary); }

/* ---- ABOUT PAGE ---- */
.about-body p { font-size:15px; color:var(--text2); line-height:1.9; margin-bottom:1.2rem; }
.about-h2 { font-family:'Amiri',serif; font-size:20px; font-weight:700; color:var(--primary); margin:2rem 0 .8rem; border-inline-start:4px solid var(--accent); padding-inline-start:14px; }
body.lang-en .about-h2 { font-family:'Playfair Display',serif; }
.values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:1.5rem 0; }
.val-card { background:var(--bg2); border:1px solid var(--border); border-radius:11px; padding:20px 18px; text-align:center; }
.val-ico { font-size:28px; margin-bottom:10px; }
.val-ttl { font-size:14px; font-weight:700; color:var(--primary); margin-bottom:6px; }
.val-desc { font-size:12.5px; color:var(--text3); line-height:1.6; }
.sections-list { list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:1rem; }
.sections-list li { background:var(--bg2); border:1px solid var(--border); border-radius:9px; padding:12px 16px; display:flex; align-items:center; gap:10px; font-size:13.5px; font-weight:600; color:var(--text); }
.sections-list li .num { background:var(--accent); color:#fff; font-size:11px; font-weight:700; padding:2px 8px; border-radius:4px; flex-shrink:0; }
.goals-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:1rem; }
.goal-card { background:var(--card); border:1px solid var(--border); border-radius:11px; padding:18px 16px; box-shadow:var(--sh); }
.goal-ttl { font-size:14px; font-weight:700; color:var(--text); margin-bottom:6px; }
.goal-desc { font-size:13px; color:var(--text2); line-height:1.7; }

/* ---- BOARD PAGE ---- */
.board-intro { font-size:15px; color:var(--text2); line-height:1.85; margin-bottom:2rem; }
.board-table-wrap { background:var(--card); border:1px solid var(--border); border-radius:13px; overflow:hidden; box-shadow:var(--sh); }
.board-table { width:100%; border-collapse:collapse; font-size:13.5px; }
.board-table thead tr { background:var(--primary); color:#fff; }
.board-table th { padding:13px 16px; text-align:start; font-size:12.5px; font-weight:700; }
.board-table tbody tr { border-bottom:1px solid var(--border); transition:background .15s; }
.board-table tbody tr:hover { background:var(--bg2); }
.board-table tbody tr:last-child { border-bottom:none; }
.board-table td { padding:13px 16px; color:var(--text); }
.role-badge { display:inline-block; font-size:11px; font-weight:700; padding:2px 9px; border-radius:4px; }
.role-head  { background:rgba(200,151,77,.15); color:#a07030; }
.role-dep   { background:rgba(26,58,92,.1);    color:#1a3a5c; }
.role-mem   { background:var(--bg2); color:var(--text3); }
[data-theme="dark"] .role-head { color:var(--accent-l); }
[data-theme="dark"] .role-dep  { color:var(--primary-l); }
.board-count { display:inline-flex; align-items:center; gap:8px; background:var(--bg2); border:1px solid var(--border); border-radius:8px; padding:8px 14px; font-size:13px; color:var(--text2); margin-top:1.2rem; }
.board-count strong { color:var(--primary); font-size:16px; }

/* ---- GUIDELINES PAGE ---- */
.guide-step { display:flex; gap:1.2rem; align-items:flex-start; margin-bottom:1.5rem; }
.step-num { width:38px; height:38px; background:var(--primary); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:700; flex-shrink:0; font-family:'Crimson Pro',serif; }
.step-body { flex:1; background:var(--card); border:1px solid var(--border); border-radius:11px; padding:18px 20px; box-shadow:var(--sh); }
.step-ttl { font-size:15.5px; font-weight:700; color:var(--text); margin-bottom:.7rem; }
.step-sub { font-size:12.5px; font-weight:700; color:var(--text2); margin-bottom:8px; }
.step-cols { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:.8rem; }
.step-list { list-style:none; display:flex; flex-direction:column; gap:5px; }
.step-list li { font-size:13.5px; color:var(--text2); padding-inline-start:14px; position:relative; line-height:1.7; }
.step-list li::before { content:'•'; position:absolute; inset-inline-start:0; color:var(--accent); }
.spec-table { width:100%; border-collapse:collapse; font-size:13.5px; margin-top:.5rem; }
.spec-table th { text-align:start; font-size:12px; font-weight:700; color:var(--text3); padding:8px 12px; border-bottom:1px solid var(--border); background:var(--bg2); }
.spec-table td { padding:9px 12px; border-bottom:1px solid var(--border); color:var(--text2); }
.spec-table td:first-child { color:var(--text); font-weight:600; }
.spec-table tr:last-child td { border-bottom:none; }
.struct-steps { list-style:none; counter-reset:struct; }
.struct-steps li { counter-increment:struct; display:flex; gap:10px; padding:9px 0; border-bottom:1px solid var(--border); font-size:13.5px; color:var(--text2); }
.struct-steps li:last-child { border-bottom:none; }
.struct-steps li::before { content:counter(struct); background:var(--accent); color:#fff; min-width:24px; height:24px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; flex-shrink:0; margin-top:1px; }
.struct-steps li strong { color:var(--text); display:inline-block; min-width:150px; }
.apa-samples { display:flex; flex-direction:column; gap:10px; margin-top:.8rem; }
.apa-sample { background:var(--bg2); border-inline-start:3px solid var(--accent); padding:10px 14px; border-radius:0 8px 8px 0; font-size:13px; color:var(--text2); line-height:1.7; }
body.lang-en .apa-sample { border-inline-start:none; border-inline-end:3px solid var(--accent); border-radius:8px 0 0 8px; }
.review-flow { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin-top:1rem; }
.review-step { background:rgba(26,58,92,.06); border:1px solid var(--border); border-radius:11px; padding:16px 14px; text-align:center; }
[data-theme="dark"] .review-step { background:rgba(120,180,230,.06); }
.rs-ico { font-size:24px; margin-bottom:8px; }
.rs-ttl { font-size:13px; font-weight:700; color:var(--text); margin-bottom:5px; }
.rs-desc { font-size:12px; color:var(--text3); line-height:1.5; }
.guide-cta { background:var(--primary-d); border-radius:16px; padding:2rem 2.5rem; display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; margin-top:2rem; }
.guide-cta h3 { font-family:'Amiri',serif; font-size:22px; font-weight:700; color:#fff; margin-bottom:.4rem; }
body.lang-en .guide-cta h3 { font-family:'Playfair Display',serif; }
.guide-cta p { font-size:14.5px; color:rgba(255,255,255,.6); }

/* ---- CONTACT PAGE ---- */
.contact-grid { display:grid; grid-template-columns:1fr 1.3fr; gap:2rem; }
.contact-info { display:flex; flex-direction:column; gap:1rem; }
.contact-info-item { background:var(--card); border:1px solid var(--border); border-radius:11px; padding:18px; display:flex; gap:14px; align-items:flex-start; box-shadow:var(--sh); }
.ci-ico { width:40px; height:40px; background:rgba(26,58,92,.08); border-radius:9px; display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
[data-theme="dark"] .ci-ico { background:rgba(120,180,230,.1); }
.ci-label { font-size:12px; color:var(--text3); margin-bottom:3px; }
.ci-val { font-size:14px; font-weight:700; color:var(--text); }
.ci-val a { color:var(--primary); text-decoration:none; }
.contact-form-card { background:var(--card); border:1px solid var(--border); border-radius:13px; padding:2rem; box-shadow:var(--sh); }
.form-title { font-size:17px; font-weight:700; color:var(--text); margin-bottom:.4rem; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px; }
.form-group { display:flex; flex-direction:column; gap:5px; }
.form-group.full { grid-column:1/-1; }
.form-group label { font-size:12.5px; font-weight:700; color:var(--text2); }
.form-group label span { color:#e24b4a; }
.form-group input,.form-group select,.form-group textarea { background:var(--bg2); border:1px solid var(--border2); color:var(--text); border-radius:8px; padding:9px 12px; font-size:13.5px; font-family:inherit; transition:border .2s; outline:none; width:100%; }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color:var(--primary); background:var(--bg); }
.form-group textarea { resize:vertical; min-height:110px; }
.form-notice { font-size:12px; color:var(--text3); margin-bottom:1rem; }
.form-submit { background:var(--primary); color:#fff; border:none; border-radius:8px; padding:12px; width:100%; font-size:14px; font-weight:700; cursor:pointer; font-family:inherit; transition:all .2s; }
.form-submit:hover { background:var(--primary-l); transform:translateY(-1px); }
.form-success { background:rgba(40,160,80,.1); border:1px solid rgba(40,160,80,.3); border-radius:8px; padding:14px; text-align:center; color:#1a8a40; font-size:14px; font-weight:600; margin-bottom:1rem; }
[data-theme="dark"] .form-success { color:#60cc80; }
.form-errors { background:rgba(192,57,43,.08); border:1px solid rgba(192,57,43,.2); border-radius:8px; padding:12px 14px; margin-bottom:1rem; }
.form-errors p { font-size:13px; color:#c0392b; margin-bottom:4px; }
.form-errors p:last-child { margin-bottom:0; }

/* ---- SUB CARD (CTA) ---- */
.sub-card { background:var(--primary-d); color:#fff; border-radius:18px; padding:2.5rem; display:grid; grid-template-columns:1fr auto; gap:2rem; align-items:center; position:relative; overflow:hidden; }
.sub-card::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 60% 100% at 8% 50%,rgba(30,100,160,.4) 0%,transparent 70%); }
.sub-cnt { position:relative; z-index:1; }
.sub-card h2 { font-family:'Amiri',serif; font-size:26px; font-weight:700; color:#fff; margin-bottom:.5rem; }
body.lang-en .sub-card h2 { font-family:'Playfair Display',serif; }
.sub-card p { font-size:14.5px; color:rgba(255,255,255,.6); max-width:480px; line-height:1.8; }
.sub-acts { position:relative; z-index:1; display:flex; flex-direction:column; gap:9px; min-width:170px; }
.btn-white { background:#fff; color:var(--primary-d); border:none; border-radius:8px; padding:11px 20px; font-size:13.5px; font-weight:700; cursor:pointer; font-family:inherit; transition:all .2s; text-align:center; text-decoration:none; display:block; }
.btn-white:hover { background:var(--accent-l); transform:translateY(-2px); }
.btn-owh { background:transparent; color:rgba(255,255,255,.75); border:1px solid rgba(255,255,255,.25); border-radius:8px; padding:10px 20px; font-size:13.5px; font-weight:600; cursor:pointer; font-family:inherit; transition:all .2s; text-align:center; text-decoration:none; display:block; }
.btn-owh:hover { background:rgba(255,255,255,.1); }

/* ---- FOOTER ---- */
footer { background:var(--footer-bg); color:rgba(255,255,255,.45); padding:48px 0 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:2.5rem; margin-bottom:2.5rem; }
.footer-brand { }
.foot-logo { display:flex; align-items:center; gap:11px; margin-bottom:.9rem; }
.foot-logo-ico { width:38px; height:38px; background:rgba(255,255,255,.09); border-radius:8px; display:flex; align-items:center; justify-content:center; color:var(--accent-l); font-family:'Crimson Pro',serif; font-size:17px; font-weight:700; flex-shrink:0; }
.foot-logo-name { font-size:13.5px; font-weight:700; color:rgba(255,255,255,.8); line-height:1.3; }
.foot-desc { font-size:13px; line-height:1.8; color:rgba(255,255,255,.38); margin-bottom:1.3rem; }
.foot-pub { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07); border-radius:8px; padding:11px 13px; font-size:12.5px; color:rgba(255,255,255,.4); line-height:1.7; }
.foot-pub strong { color:rgba(255,255,255,.68); display:block; margin-bottom:3px; }
.foot-pub a { color:var(--accent-l); text-decoration:none; }
.footer-col h4 { font-size:12.5px; font-weight:700; color:rgba(255,255,255,.62); margin-bottom:13px; letter-spacing:.4px; }
.foot-links { list-style:none; }
.foot-links li { margin-bottom:8px; }
.foot-links a { color:rgba(255,255,255,.38); text-decoration:none; font-size:13px; transition:color .2s; }
.foot-links a:hover { color:var(--accent-l); }
.foot-info { font-size:12.5px; color:rgba(255,255,255,.38); margin-bottom:8px; display:flex; gap:8px; }
.foot-info span:first-child { color:rgba(255,255,255,.55); font-weight:700; }
.foot-info a { color:rgba(255,255,255,.38); text-decoration:none; }
.foot-info a:hover { color:var(--accent-l); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.07); padding:14px 0; display:flex; justify-content:space-between; align-items:center; font-size:11.5px; color:rgba(255,255,255,.25); flex-wrap:wrap; gap:8px; }
.footer-bottom a { color:rgba(255,255,255,.3); text-decoration:none; }
.footer-bottom a:hover { color:var(--accent-l); }

/* ---- RESPONSIVE ---- */
@media(max-width:960px) {
  .hero-inner { grid-template-columns:1fr; }
  .hero-stats  { display:none; }
  .with-sidebar { grid-template-columns:1fr; }
  .articles-grid { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .contact-grid { grid-template-columns:1fr; }
  .sub-card { grid-template-columns:1fr; }
  .review-flow { grid-template-columns:1fr 1fr; }
  .nav-links { display:none; }
  .values-grid { grid-template-columns:1fr 1fr; }
}
@media(max-width:600px) {
  .articles-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .topbar { display:none; }
  .form-grid { grid-template-columns:1fr; }
  .values-grid { grid-template-columns:1fr; }
  .goals-grid  { grid-template-columns:1fr; }
  .sections-list { grid-template-columns:1fr; }
  .step-cols { grid-template-columns:1fr; }
  .review-flow { grid-template-columns:1fr 1fr; }
  .guide-cta { flex-direction:column; }
  .hero { padding:50px 0 40px; }
  .section { padding:50px 0; }
}
