/*
 * Simyaa UI/UX Edition 3
 * Responsive visual refinement for public pages + administration.
 * No external framework or font dependency.
 */
:root{
  --surface:#fffdfa;
  --surface-raised:#ffffff;
  --surface-soft:#f7f1e5;
  --surface-green:#eef4f0;
  --primary:#741f1d;
  --primary-deep:#551513;
  --secondary:#103b39;
  --secondary-deep:#082a29;
  --accent:#c79c56;
  --accent-soft:#ead7b2;
  --text:#1d1c19;
  --text-soft:#706b63;
  --ui-border:rgba(24,40,38,.12);
  --ui-shadow:0 18px 55px rgba(30,42,38,.10);
  --ui-shadow-lg:0 30px 90px rgba(30,42,38,.15);
  --ui-radius:24px;
  --ui-radius-sm:15px;
  --focus-ring:0 0 0 4px rgba(116,31,29,.13);
}

html{font-size:16px;-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
body{background:var(--surface);color:var(--text);font-family:"Segoe UI",Tahoma,Arial,sans-serif;line-height:1.8}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-3;background-image:radial-gradient(circle at 12% 9%,rgba(199,156,86,.08),transparent 24%),radial-gradient(circle at 88% 58%,rgba(16,59,57,.06),transparent 28%)}
::selection{background:rgba(116,31,29,.16);color:var(--text)}
a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* Header / navigation */
.site-header.phase2{border-bottom:1px solid rgba(16,59,57,.08);background:rgba(255,253,250,.94);box-shadow:0 10px 34px rgba(20,40,38,.045)}
.nav-wrap{height:84px;gap:18px}
.brand-logo{width:144px;max-height:52px}
.main-nav{gap:20px;font-weight:700}
.main-nav>a:not(.nav-cta),.link-button{color:#35332f}
.main-nav>a:not(.nav-cta){padding:10px 2px}
.main-nav>a:not(.nav-cta)::after,.link-button::after{height:3px;border-radius:5px;background:linear-gradient(90deg,var(--accent),var(--primary))}
.nav-cta{background:linear-gradient(135deg,var(--secondary),#1f5653);box-shadow:0 9px 24px rgba(16,59,57,.14);border:1px solid rgba(255,255,255,.09)}
.nav-toggle{width:46px;height:46px;padding:0;border:1px solid rgba(16,59,57,.10);background:linear-gradient(145deg,#fbf7ef,#f1eadc);color:var(--secondary);font-size:0;border-radius:15px;box-shadow:0 8px 24px rgba(31,42,38,.06)}
.nav-toggle::before{content:"";width:20px;height:14px;display:block;margin:auto;background:linear-gradient(var(--secondary) 0 0) top/100% 2px no-repeat,linear-gradient(var(--secondary) 0 0) center/100% 2px no-repeat,linear-gradient(var(--secondary) 0 0) bottom/100% 2px no-repeat}
.theme-toggle{border-color:rgba(16,59,57,.12);box-shadow:0 7px 20px rgba(30,42,38,.05)}

/* Hero visual hierarchy */
.phase2-hero{min-height:690px;background:linear-gradient(135deg,#fffdfa 0%,#f8f2e8 53%,#edf4f0 100%)}
.phase2-hero:before{background-size:510px;opacity:.20}
.hero-copy{position:relative;z-index:2}
.hero-kicker{width:max-content;max-width:100%;padding:8px 13px;border:1px solid rgba(116,31,29,.10);background:rgba(255,255,255,.58);border-radius:999px;box-shadow:0 7px 24px rgba(30,42,38,.04)}
.hero-kicker img{width:30px;height:30px}
.hero-copy h1{font-weight:900;letter-spacing:-.025em;text-wrap:balance}
.hero-copy h1 mark{position:relative;display:inline;color:var(--primary)}
.hero-copy h1 mark::after{content:"";position:absolute;right:0;left:0;bottom:-7px;height:7px;background:linear-gradient(90deg,rgba(199,156,86,.18),rgba(116,31,29,.10));border-radius:100%;transform:skewX(-12deg)}
.hero-copy>p{line-height:2;max-width:620px}
.hero-actions .btn{min-height:52px;padding-inline:25px;border-radius:16px}
.btn{min-height:44px;border-radius:14px;letter-spacing:0;box-shadow:none}
.btn-primary{background:linear-gradient(135deg,var(--primary),#852724);box-shadow:0 12px 28px rgba(116,31,29,.20)}
.btn-primary:hover{box-shadow:0 16px 34px rgba(116,31,29,.25)}
.btn-light{background:rgba(255,255,255,.90);border-color:rgba(16,59,57,.11);box-shadow:0 8px 25px rgba(30,42,38,.05)}
.hero-note{width:max-content;max-width:100%;padding:10px 13px;border-radius:14px;background:rgba(255,255,255,.58);border:1px solid rgba(16,59,57,.07)}
.showcase-card{border-color:rgba(16,59,57,.10)}
.showcase-card.primary{box-shadow:0 30px 80px rgba(26,42,39,.16)}
.showcase-card.secondary{box-shadow:0 20px 55px rgba(26,42,39,.18)}
.showcase-label{color:var(--secondary);border:1px solid rgba(16,59,57,.08);box-shadow:0 10px 24px rgba(20,40,38,.08)}
.floating-seal{background:linear-gradient(145deg,var(--secondary),var(--secondary-deep));border-color:rgba(255,255,255,.82)}

/* Decorative global section language */
.section,.catalog-hero,.page-hero,.detail-hero{position:relative}
.section-soft{background:linear-gradient(180deg,#f8f3e9,#f5efe4)}
.section-soft::before{content:"";position:absolute;inset:0;pointer-events:none;background:url('../images/brand/pattern-grid.svg') center/620px;opacity:.045}
.section>.container,.section-soft>.container{position:relative;z-index:1}
.eyebrow{font-size:.8rem;letter-spacing:0;font-weight:900;padding:4px 0}
.eyebrow::before{width:30px;height:3px;border-radius:4px;background:linear-gradient(90deg,var(--accent),var(--primary))}
.section-head h2,.visual-heading h2,.prose h2,.process-panel h2,.feature-ribbon h2,.cta-banner h2{font-weight:900;letter-spacing:-.015em;text-wrap:balance}
.visual-heading p,.section-head p{line-height:1.95}

/* Inner-page hero: clearer titles and consistent identity */
.catalog-hero,.page-hero{isolation:isolate;overflow:hidden;background:linear-gradient(135deg,#f7f0e4 0%,#fffdfa 58%,#edf4f0 100%);border-bottom:1px solid rgba(16,59,57,.08)}
.catalog-hero::before,.page-hero::before{content:"";position:absolute;inset:0;background:url('../images/brand/pattern-grid.svg') center/530px;opacity:.11;z-index:-2}
.catalog-hero::after,.page-hero::after{content:"";position:absolute;width:330px;height:330px;left:-120px;bottom:-170px;border:42px double rgba(199,156,86,.08);transform:rotate(45deg);z-index:-1}
.catalog-hero{padding:84px 0 66px}
.page-hero{padding:92px 0 68px}
.page-hero-compact{padding:66px 0 50px}
.catalog-hero h1,.page-hero h1{font-weight:900;line-height:1.22;letter-spacing:-.02em;margin-top:13px;text-wrap:balance}
.catalog-hero p,.page-hero p{line-height:1.95}
.breadcrumb{width:max-content;max-width:100%;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.66);border:1px solid rgba(16,59,57,.08)}

/* Cards */
.trust-grid{border-color:rgba(16,59,57,.10);box-shadow:var(--ui-shadow)}
.trust-grid article{position:relative;background:linear-gradient(180deg,#fff,#fffdfa)}
.trust-grid article::after{content:"";position:absolute;right:0;bottom:0;width:44px;height:44px;border:10px double rgba(199,156,86,.08);transform:translate(14px,14px) rotate(45deg)}
.portal-card,.catalog-card,.design-card,.journey-card,.dash-card,.form-card,.contact-form-card,.faq-item,.source-item{border-color:rgba(16,59,57,.10);box-shadow:0 8px 28px rgba(30,42,38,.045)}
.portal-card,.catalog-card,.design-card,.journey-card,.dash-card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.catalog-card:hover,.design-card:hover,.journey-card:hover,.dash-card:hover{transform:translateY(-5px);box-shadow:var(--ui-shadow);border-color:rgba(199,156,86,.34)}
.catalog-body h2,.catalog-body h3,.design-body h3,.journey-card h3,.dash-card strong{font-weight:850}
.catalog-body p,.design-body p,.journey-card p{line-height:1.85}
.card-badge,.catalog-count{backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.15)}

/* Filtering and forms */
.filter-panel{background:linear-gradient(180deg,#faf5ec,#f5eee2);border-color:rgba(16,59,57,.10);box-shadow:0 12px 38px rgba(30,42,38,.06)}
.filter-panel::before{content:"تصفية النتائج";display:block;margin-bottom:15px;color:var(--secondary);font-weight:900;font-size:1.03rem;padding-bottom:10px;border-bottom:1px solid rgba(16,59,57,.10)}
label{color:#35332f;font-weight:800}
input,select,textarea{min-height:46px;background:#fff;border-color:rgba(16,59,57,.14);border-radius:13px;padding:11px 14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
textarea{min-height:120px}
input:hover,select:hover,textarea:hover{border-color:rgba(116,31,29,.28)}
input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:var(--focus-ring)}
.contact-info,.feature-ribbon,.process-panel{background:linear-gradient(145deg,var(--secondary-deep),#174946)}
.contact-info::before,.feature-ribbon::after,.process-panel::before{content:"";position:absolute;inset:0;background:url('../images/brand/pattern-grid.svg') center/430px;opacity:.055;pointer-events:none}
.contact-info>* ,.feature-ribbon>* ,.process-panel>*{position:relative;z-index:1}

/* Footer */
.site-footer{position:relative;overflow:hidden;background:linear-gradient(155deg,#082826,#123e3b);border-top:4px solid var(--accent)}
.site-footer::before{content:"";position:absolute;inset:0;background:url('../images/brand/pattern-grid.svg') center/500px;opacity:.045;pointer-events:none}
.site-footer::after{content:"";position:absolute;width:330px;height:330px;left:-125px;bottom:-160px;border:44px double rgba(255,255,255,.035);transform:rotate(45deg)}
.site-footer .container{position:relative;z-index:1}
.footer-grid h3{font-weight:900}
.footer-grid a{color:rgba(255,255,255,.79);transition:.2s}
.footer-grid a:hover{color:#fff;transform:translateX(-3px)}

/* Authentication */
.auth-section{background:linear-gradient(135deg,#f7f0e4,#edf4f0);position:relative;overflow:hidden}
.auth-section::before{content:"";position:absolute;inset:0;background:url('../images/brand/pattern-grid.svg') center/520px;opacity:.09}
.auth-card{position:relative;z-index:1;border:1px solid rgba(16,59,57,.10);box-shadow:var(--ui-shadow-lg)}
.auth-art{position:relative;isolation:isolate;background:linear-gradient(145deg,var(--secondary-deep),#174946)}
.auth-art::before{content:"";position:absolute;inset:0;background:url('../images/brand/pattern-grid.svg') center/390px;opacity:.06;z-index:-1}
.auth-form h2{font-weight:900}

/* Details */
.detail-main-image{box-shadow:var(--ui-shadow);border:1px solid rgba(16,59,57,.08)}
.detail-copy h1{font-weight:900;line-height:1.2;text-wrap:balance}
.detail-tags span,.pill{border-color:rgba(16,59,57,.10);background:#fffdfa;box-shadow:0 5px 18px rgba(30,42,38,.035)}
.source-card,.sticky-card{box-shadow:0 12px 38px rgba(30,42,38,.07)}

/* Admin visual system */
.admin-body{background:#f5f2ec}
.admin-sidebar{background:linear-gradient(180deg,#0b3331,#082725);position:sticky;isolation:isolate;overflow:hidden;border-left:1px solid rgba(255,255,255,.05)}
.admin-sidebar::before{content:"";position:absolute;inset:0;background:url('../images/brand/pattern-grid.svg') center/390px;opacity:.065;z-index:-2}
.admin-sidebar::after{content:"";position:absolute;width:240px;height:240px;left:-115px;bottom:-105px;border:34px double rgba(255,255,255,.045);transform:rotate(45deg);z-index:-1}
.admin-brand{margin:-6px -2px 12px;padding:16px 12px 24px;background:rgba(255,255,255,.035);border-radius:18px;border-bottom:0}
.admin-sidebar nav{gap:7px}
.admin-sidebar nav a{position:relative;min-height:46px;padding:11px 15px 11px 38px;border:1px solid transparent;border-radius:13px;color:rgba(255,255,255,.76);font-weight:750}
.admin-sidebar nav a::before{content:"";position:absolute;left:16px;top:50%;width:8px;height:8px;border:2px solid rgba(234,215,178,.60);transform:translateY(-50%) rotate(45deg);border-radius:2px}
.admin-sidebar nav a:hover,.admin-sidebar nav a.active{background:rgba(255,255,255,.085);border-color:rgba(255,255,255,.07);color:#fff}
.admin-sidebar nav a.active{box-shadow:inset -4px 0 0 var(--accent)}
.admin-sidebar nav a.active::before{background:var(--accent);border-color:var(--accent)}
.admin-user{background:rgba(255,255,255,.035);padding:17px 14px;border-radius:16px;border-top:1px solid rgba(255,255,255,.08)}
.admin-content{background:linear-gradient(180deg,#f8f5ef,#f2efe9)}
.admin-topbar{min-height:84px;height:auto;padding:12px 0;background:rgba(248,245,239,.88);backdrop-filter:blur(12px)}
.admin-topbar strong{font-size:1.05rem;color:var(--secondary)}
.admin-toggle{min-width:44px;min-height:44px;border:1px solid rgba(16,59,57,.10);box-shadow:0 6px 20px rgba(30,42,38,.05)}
.admin-panel,.form-card,.admin-stats article{border-color:rgba(16,59,57,.10);box-shadow:0 7px 25px rgba(30,42,38,.04)}
.admin-stats article{position:relative;overflow:hidden}
.admin-stats article::after{content:"";position:absolute;width:58px;height:58px;left:-18px;bottom:-18px;border:11px double rgba(199,156,86,.09);transform:rotate(45deg)}
.panel-head h1,.panel-head h2,.admin-title-row h1,.admin-title-row h2{font-weight:900;color:var(--secondary)}
th{background:#f5f0e7;color:#57534d;font-weight:850}
tbody tr:hover{background:#fbf8f2}
.sticky-actions{border-color:rgba(16,59,57,.12);box-shadow:0 14px 42px rgba(30,42,38,.12)}

/* Dark theme refinements */
.dark-theme{--surface:#101b1b;--surface-raised:#172727;--surface-soft:#142424;--text:#f7f2e8;--text-soft:#c4beb5;--ui-border:rgba(255,255,255,.12)}
.dark-theme body::before{opacity:.4}
.dark-theme .site-header.phase2{background:rgba(16,27,27,.94)}
.dark-theme .main-nav>a:not(.nav-cta),.dark-theme .link-button{color:#f6f0e7}
.dark-theme .hero-kicker,.dark-theme .hero-note,.dark-theme .breadcrumb{background:rgba(23,39,39,.70);border-color:rgba(255,255,255,.10)}
.dark-theme .catalog-hero,.dark-theme .page-hero{background:linear-gradient(135deg,#142424,#101b1b)}
.dark-theme .filter-panel{background:#142424}
.dark-theme label{color:#eee8df}
.dark-theme .site-footer{background:#071615}

/* Tablet */
@media(max-width:980px){
  .site-header .nav-wrap{height:74px}
  .brand-logo{width:132px}
  .nav-tools{display:none}
  .site-header .brand{margin-left:auto}
  .site-header .nav-toggle{display:block;margin-right:auto}
  .main-nav{top:auto!important;right:auto!important;left:auto!important;bottom:auto!important;inset-block:0!important;inset-inline-end:0!important;width:min(84vw,360px)!important;max-width:360px;height:100dvh;background:linear-gradient(180deg,#0c3533,#082826)!important;color:#fff;border:0!important;border-radius:0!important;padding:0 16px 28px!important;box-shadow:-24px 0 70px rgba(0,0,0,.30)!important;gap:7px!important;overflow-y:auto;isolation:isolate}
  .main-nav::before{content:"";position:absolute;inset:0;background:url('../images/brand/pattern-grid.svg') center/390px;opacity:.065;z-index:-2;pointer-events:none}
  .main-nav::after{content:"";position:absolute;width:260px;height:260px;left:-125px;bottom:-100px;border:38px double rgba(255,255,255,.04);transform:rotate(45deg);z-index:-1;pointer-events:none}
  .mobile-nav-head{min-height:92px;padding:18px 4px 14px!important;border-bottom-color:rgba(255,255,255,.11)!important}
  .mobile-nav-head strong{display:flex;align-items:center;gap:10px;color:#fff;font-size:1.02rem}
  .mobile-nav-head strong::before{content:"";width:38px;height:38px;display:block;background:url('../images/brand/simyaa-logo.png') center/contain no-repeat;box-shadow:0 7px 18px rgba(0,0,0,.12);border-radius:11px}
  .mobile-nav-head button{width:42px;height:42px;display:grid;place-items:center;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:13px;color:#fff!important;line-height:1}
  .main-nav a,.main-nav .link-button{min-height:48px!important;padding:10px 13px!important;text-align:right!important;border-radius:13px!important;color:rgba(255,255,255,.80)!important;font-weight:800;border:1px solid transparent!important}
  .main-nav a:not(.nav-cta)::after,.main-nav .link-button::after{display:none}
  .main-nav a:hover,.main-nav a.active,.main-nav .link-button:hover{background:rgba(255,255,255,.08)!important;color:#fff!important;border-color:rgba(255,255,255,.07)!important}
  .main-nav a.active{box-shadow:inset -4px 0 0 var(--accent)}
  .main-nav .nav-cta{margin-top:8px;background:linear-gradient(135deg,var(--accent),#b9863d)!important;color:#132d2b!important;text-align:center!important;box-shadow:0 12px 30px rgba(0,0,0,.12)}
  .main-nav .inline-form{margin-top:4px}
  .nav-overlay{background:rgba(4,20,19,.58)!important;backdrop-filter:blur(4px)!important}
  .phase2-hero{min-height:auto;padding:62px 0 72px}
  .hero-grid{gap:44px}
  .hero-copy h1{font-size:clamp(2.7rem,7vw,4.4rem)}
  .catalog-hero,.page-hero{padding-top:62px;padding-bottom:52px}
}

/* Mobile UX */
@media(max-width:740px){
  .container{width:min(100% - 28px,var(--container))}
  .site-header .nav-wrap{height:70px}
  .brand-logo{width:122px;max-height:43px}
  .site-header .brand{margin-left:auto;min-width:0}
  .site-header .nav-toggle{margin-right:auto;flex:0 0 46px}
  .phase2-hero{padding:44px 0 50px}
  .phase2-hero::after{width:320px;height:320px;left:-175px;top:-120px}
  .hero-grid{gap:32px}
  .hero-kicker{font-size:.74rem;line-height:1.5;padding:7px 10px}
  .hero-kicker img{width:27px;height:27px;flex:0 0 27px}
  .hero-copy h1{font-size:clamp(2.05rem,9.4vw,3.05rem)!important;line-height:1.28!important;margin:20px 0 18px!important;letter-spacing:-.015em!important}
  .hero-copy>p{font-size:1rem;line-height:1.95;margin-bottom:0}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:10px;margin:26px 0 18px}
  .hero-actions .btn{width:100%;min-height:54px;font-size:1rem}
  .hero-note{width:100%;font-size:.82rem;line-height:1.7;padding:11px 12px}
  .showcase-stack{height:340px;margin-top:4px}
  .showcase-card.primary{height:300px;width:84%;left:2%;top:12px;border-radius:23px;padding:9px}
  .showcase-card.primary img{border-radius:17px}
  .showcase-card.secondary{height:150px;width:51%;right:0;bottom:0;border-width:6px;border-radius:21px;padding:7px}
  .showcase-card.secondary img{border-radius:14px}
  .showcase-label{right:14px;bottom:14px;max-width:calc(100% - 28px);padding:6px 9px;font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .floating-seal{width:82px;height:82px;right:8px;top:0;border-width:5px;font-size:.58rem}
  .floating-seal strong{font-size:1.15rem}
  .trust-strip{margin-top:0;padding-top:8px}
  .trust-grid{grid-template-columns:1fr 1fr;border-radius:20px}
  .trust-grid article{padding:18px 16px;min-height:104px;border-bottom:1px solid var(--line)}
  .trust-grid article:nth-child(odd){border-left:1px solid var(--line)}
  .trust-grid article:nth-last-child(-n+2){border-bottom:0}
  .trust-grid span{font-size:.7rem}.trust-grid strong{font-size:.9rem;line-height:1.55}
  .section{padding:58px 0}
  .section-tight{padding-top:38px}
  .section-head{gap:15px;margin-bottom:28px}
  .section-head h2,.visual-heading h2,.prose h2,.process-panel h2,.feature-ribbon h2,.cta-banner h2{font-size:clamp(1.75rem,7.2vw,2.25rem)!important;line-height:1.35!important}
  .visual-heading p,.section-head p{font-size:.95rem}
  .portal-card{min-height:300px;border-radius:22px}
  .portal-card-content{right:20px;left:20px;bottom:20px}
  .portal-card h3{font-size:1.35rem}
  .design-card,.catalog-card,.journey-card,.dash-card{border-radius:20px}
  .design-image{height:240px}
  .catalog-cover{height:225px}
  .catalog-body,.design-body{padding:20px}
  .catalog-hero,.page-hero{padding:50px 0 42px}
  .page-hero-compact{padding:44px 0 38px}
  .catalog-hero h1,.page-hero h1,.detail-copy h1{font-size:clamp(2rem,8vw,2.65rem)!important;line-height:1.3!important;margin:13px 0 14px!important;letter-spacing:-.01em!important}
  .catalog-hero p,.page-hero p{font-size:.98rem;line-height:1.9}
  .breadcrumb{font-size:.76rem;padding:6px 9px;white-space:normal}
  .filter-panel{border-radius:20px;padding:18px}
  .feature-ribbon,.process-panel,.contact-info,.contact-form-card{padding:26px 22px;border-radius:23px}
  .cta-banner{padding:28px 22px;border-radius:23px}
  .cta-banner .btn{width:100%}
  .detail-main-image{height:360px;border-radius:20px}
  .thumb{width:68px;height:58px}
  .auth-section{padding:30px 14px}
  .auth-card{border-radius:24px}
  .auth-art{min-height:270px;padding:28px 24px}
  .auth-art h1{font-size:2rem}
  .auth-art img{height:160px}
  .auth-form{padding:28px 22px}
  .form-card{padding:22px 18px;border-radius:20px}
  .footer-grid{grid-template-columns:1fr;gap:24px}
  .site-footer{padding-top:52px}
  .footer-bottom{align-items:flex-start;text-align:right}
  .admin-content{padding:0 14px 38px}
  .admin-topbar{min-height:70px;padding:9px 0}
  .admin-topbar>div{min-width:0}
  .admin-topbar strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70vw}
  .admin-sidebar{width:min(86vw,330px)!important;max-width:330px!important}
  .admin-brand-logo{width:126px}
  .admin-page{padding-top:20px}
  .admin-panel,.admin-stats article{border-radius:18px}
  .panel-head{gap:10px}
  .panel-head h1,.panel-head h2,.admin-title-row h1,.admin-title-row h2{font-size:1.45rem}
  .table-wrap{margin-inline:-10px;padding-inline:10px}
  .sticky-actions{bottom:8px;padding:10px;flex-wrap:wrap;border-radius:15px}
  .sticky-actions .btn{flex:1 1 140px}
}

@media(max-width:430px){
  .container{width:min(100% - 22px,var(--container))}
  .brand-logo{width:112px}
  .nav-toggle{width:44px;height:44px}
  .main-nav{width:88vw!important}
  .hero-copy h1{font-size:2.05rem!important}
  .hero-kicker{width:100%;border-radius:14px}
  .showcase-stack{height:300px}
  .showcase-card.primary{height:270px}
  .showcase-card.secondary{height:132px}
  .trust-grid{grid-template-columns:1fr}
  .trust-grid article,.trust-grid article:nth-child(odd),.trust-grid article:nth-last-child(-n+2){border-left:0;border-bottom:1px solid var(--line);min-height:auto}
  .trust-grid article:last-child{border-bottom:0}
  .design-image{height:220px}
  .catalog-hero h1,.page-hero h1,.detail-copy h1{font-size:1.95rem!important}
  .section-head h2,.visual-heading h2,.prose h2,.process-panel h2,.feature-ribbon h2,.cta-banner h2{font-size:1.75rem!important}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ======================================================================
   SIMYAA UI/UX EDITION 4 — COMPLETE RESPONSIVE POLISH
   تحسين شامل لكل الواجهات العامة ولوحة الإدارة مع هوية تراثية هادئة
   ====================================================================== */
:root{
  --sim-bg:#fbf8f2;
  --sim-card:#ffffff;
  --sim-soft:#f4eee3;
  --sim-soft-green:#edf4f0;
  --sim-ink:#181a18;
  --sim-muted:#6f706a;
  --sim-green:#123f3c;
  --sim-green-2:#0a302e;
  --sim-burgundy:#76211e;
  --sim-burgundy-2:#591714;
  --sim-gold:#c89b52;
  --sim-gold-soft:#ead8b9;
  --sim-line:rgba(18,63,60,.105);
  --sim-line-strong:rgba(18,63,60,.18);
  --sim-shadow-sm:0 8px 28px rgba(20,43,40,.065);
  --sim-shadow:0 18px 58px rgba(20,43,40,.095);
  --sim-shadow-lg:0 30px 90px rgba(20,43,40,.14);
  --sim-r-xs:10px;
  --sim-r-sm:14px;
  --sim-r-md:20px;
  --sim-r-lg:28px;
  --sim-r-xl:36px;
  --sim-space:clamp(3.5rem,7vw,6.5rem);
  --sim-content:1180px;
}

html{background:var(--sim-bg);scroll-padding-top:100px}
body{background:var(--sim-bg);color:var(--sim-ink);font-family:"Segoe UI","Tahoma","Arial",sans-serif;line-height:1.8;font-size:16px}
body,button,input,select,textarea{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
main{min-height:62vh}
.container{width:min(var(--sim-content),calc(100% - 48px));margin-inline:auto}
.narrow{width:min(820px,100%)}
p{margin-top:0}
h1,h2,h3,h4{color:inherit;overflow-wrap:anywhere}

/* accessibility + motion */
:focus-visible{outline:3px solid rgba(200,155,82,.72)!important;outline-offset:3px}
.btn,.main-nav a,.catalog-card,.design-card,.portal-card,.journey-card,.dash-card,.pill,.card,.source-item,.faq-item{will-change:transform}
@media(hover:hover){
  .btn:hover{transform:translateY(-2px)}
  .catalog-card:hover,.design-card:hover,.portal-card:hover,.journey-card:hover,.dash-card:hover,.card:hover{transform:translateY(-5px)}
}

/* ---------------- Header ---------------- */
.site-header.phase2{height:auto;background:rgba(251,248,242,.93);backdrop-filter:blur(20px) saturate(1.15);border-bottom:1px solid var(--sim-line);box-shadow:0 8px 34px rgba(18,47,44,.04)}
.site-header.phase2::after{content:"";position:absolute;inset-inline:0;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(200,155,82,.52),transparent);pointer-events:none}
.nav-wrap{height:88px;gap:24px}
.brand{flex:0 0 auto}
.brand-logo{width:148px;max-width:none;max-height:54px;object-fit:contain}
.main-nav{gap:21px;font-size:.91rem;font-weight:760}
.main-nav>a:not(.nav-cta),.link-button{min-height:42px;display:inline-flex;align-items:center;color:#343633}
.nav-cta{min-height:44px;padding:9px 18px!important;background:linear-gradient(135deg,var(--sim-green),#1b5550);box-shadow:0 9px 24px rgba(18,63,60,.13)}
.nav-tools{margin-inline-start:2px}
.theme-toggle{width:44px;height:44px;background:#fff;border:1px solid var(--sim-line);box-shadow:var(--sim-shadow-sm)}
.nav-toggle{width:46px;height:46px;flex:0 0 46px}

/* ---------------- Hero / homepage ---------------- */
.phase2-hero{min-height:680px;padding:76px 0 88px;background:linear-gradient(128deg,#fbf8f2 0%,#f7f1e7 52%,#edf4f0 100%)}
.phase2-hero:before{opacity:.13;background-size:540px}
.hero-grid{grid-template-columns:minmax(0,1.02fr) minmax(420px,.98fr);gap:clamp(42px,6vw,78px)}
.hero-copy{max-width:690px}
.hero-kicker{font-size:.8rem;color:var(--sim-burgundy);background:rgba(255,255,255,.62);border-color:rgba(118,33,30,.10)}
.hero-copy h1{font-size:clamp(3rem,5.1vw,5rem)!important;line-height:1.17!important;margin:24px 0 22px!important;letter-spacing:-.028em!important}
.hero-copy>p{font-size:1.12rem;line-height:2;color:var(--sim-muted);max-width:630px}
.hero-actions{gap:12px;margin:30px 0 22px}
.hero-actions .btn{min-height:54px;min-width:170px;font-size:.98rem}
.hero-note{font-size:.86rem;line-height:1.75;color:var(--sim-muted)}
.showcase-stack{height:540px;max-width:560px;margin-inline:auto;width:100%}
.showcase-card.primary{height:450px;width:76%;left:4%;top:35px}
.showcase-card.secondary{height:236px;width:45%;right:1%;bottom:10px}
.showcase-card{border-radius:28px;padding:10px;box-shadow:var(--sim-shadow-lg)}
.showcase-card img{border-radius:20px}
.floating-seal{width:120px;height:120px;right:10px;top:5px}
.trust-strip{margin-top:-34px}
.trust-grid{border-radius:24px;overflow:hidden;background:var(--sim-card)}
.trust-grid article{padding:22px 24px;min-height:106px;display:flex;flex-direction:column;justify-content:center}
.trust-grid span{font-size:.74rem;letter-spacing:.01em}
.trust-grid strong{font-size:1rem;line-height:1.55}

/* ---------------- Global sections ---------------- */
.section{padding:var(--sim-space) 0}
.section-tight{padding-top:clamp(2.7rem,5vw,4.2rem)}
.section-soft{background:linear-gradient(180deg,#f6f0e6,#f8f3eb)}
.section-head{margin-bottom:34px;align-items:flex-end}
.section-head>div{max-width:800px}
.section-head h1,.section-head h2,.visual-heading h2{margin:10px 0 0;font-size:clamp(2rem,3.9vw,3.35rem);line-height:1.27;letter-spacing:-.02em}
.section-head>p,.visual-heading p{color:var(--sim-muted);font-size:1.02rem;line-height:1.9}
.eyebrow{color:var(--sim-burgundy);font-size:.78rem;letter-spacing:.015em}
.eyebrow:before{background:linear-gradient(90deg,var(--sim-gold),var(--sim-burgundy));height:2px}
.text-link,.card-link{color:var(--sim-burgundy);font-weight:850;text-underline-offset:4px}
.text-link:hover,.card-link:hover{text-decoration:underline}

/* decorative signature for major content blocks */
.visual-heading,.section-head>div:first-child{position:relative}
.visual-heading::after{content:"";display:block;width:74px;height:4px;border-radius:99px;background:linear-gradient(90deg,var(--sim-burgundy),var(--sim-gold));margin-top:18px;opacity:.9}

/* ---------------- Buttons ---------------- */
.btn{min-height:46px;padding:11px 20px;border-radius:14px;font-size:.9rem;font-weight:850;gap:8px;transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease}
.btn-primary{background:linear-gradient(135deg,var(--sim-burgundy),#8b2a26);box-shadow:0 10px 28px rgba(118,33,30,.17)}
.btn-dark{background:linear-gradient(135deg,#242624,#101211);color:#fff}
.btn-light{background:#fff;border-color:var(--sim-line);box-shadow:0 7px 20px rgba(18,47,44,.045)}
.btn-ghost{background:transparent;border-color:var(--sim-line-strong)}
.btn-danger{background:#8d2d28;color:#fff;border-color:#8d2d28}
.btn-sm{min-height:38px;padding:7px 13px;border-radius:11px;font-size:.8rem}

/* ---------------- Cards / content listing ---------------- */
.portal-grid{gap:20px}
.portal-card{min-height:370px;border-radius:26px;box-shadow:var(--sim-shadow);border:1px solid rgba(255,255,255,.1)}
.portal-card:after{background:linear-gradient(180deg,rgba(5,27,26,.04) 16%,rgba(5,31,29,.95) 100%)}
.portal-card-content{right:24px;left:24px;bottom:23px}
.portal-card h3{font-size:1.45rem;line-height:1.4}
.portal-card p{line-height:1.75;margin-bottom:8px}
.design-grid,.catalog-grid{gap:22px}
.design-card,.catalog-card{background:var(--sim-card);border:1px solid var(--sim-line);border-radius:22px;overflow:hidden;box-shadow:var(--sim-shadow-sm)}
.design-image{height:275px;background:#efe9de}
.design-image img,.catalog-cover img{transition:transform .45s ease,filter .45s ease}
.design-card:hover .design-image img,.catalog-card:hover .catalog-cover img{transform:scale(1.035)}
.design-body,.catalog-body{padding:22px 22px 24px}
.design-body h3,.catalog-body h2,.catalog-body h3{font-size:1.2rem;line-height:1.55;margin:8px 0 9px}
.design-body p,.catalog-body p{color:var(--sim-muted);font-size:.88rem;line-height:1.8;min-height:auto}
.meta-row{flex-wrap:wrap;gap:8px 12px;font-size:.74rem;color:#7b7a74}
.card-badge,.catalog-count{background:rgba(12,48,46,.9);font-weight:800}
.catalog-cover{height:250px}
.catalog-meta{border-top:1px solid var(--sim-line);padding-top:14px;margin-top:16px}
.journey-grid{gap:18px}
.journey-card{min-height:210px;padding:26px;border-radius:22px;background:#fff;border:1px solid var(--sim-line)}
.journey-card h3{font-size:1.25rem}
.journey-card p{line-height:1.8}
.feature-ribbon{border-radius:30px;padding:clamp(38px,5vw,58px);gap:42px;box-shadow:var(--sim-shadow-lg)}
.feature-ribbon img{width:100%;aspect-ratio:4/3;object-fit:cover}
.cta-banner{border-radius:28px;padding:42px 46px;box-shadow:var(--sim-shadow)}

/* ---------------- Page hero / breadcrumbs ---------------- */
.catalog-hero,.page-hero{padding:78px 0 58px;background:linear-gradient(130deg,#f5eee2 0%,#fbf8f2 58%,#edf4f0 100%)}
.page-hero-compact{padding:58px 0 44px}
.catalog-hero>.container,.page-hero>.container{position:relative}
.catalog-hero h1,.page-hero h1{font-size:clamp(2.55rem,4.9vw,4.35rem);line-height:1.22;max-width:960px;margin:14px 0 12px}
.catalog-hero p,.page-hero p{max-width:760px;color:var(--sim-muted);font-size:1.03rem;line-height:1.9}
.breadcrumb{width:auto;display:flex;flex-wrap:wrap;gap:5px 8px;background:rgba(255,255,255,.66);border:1px solid var(--sim-line);padding:7px 12px;border-radius:12px;max-width:max-content}
.breadcrumb span:before{color:var(--sim-gold)}

/* ---------------- Explore/filter ---------------- */
.explore-layout{grid-template-columns:280px minmax(0,1fr);gap:30px}
.filter-panel{top:108px;padding:22px;border-radius:20px;background:linear-gradient(180deg,#f7f1e7,#f2ebdf);border:1px solid var(--sim-line);box-shadow:var(--sim-shadow-sm)}
.filter-panel form{gap:15px}
.filter-panel::before{font-size:1rem}
label{gap:7px;color:#303330;font-size:.84rem;font-weight:800}
input,select,textarea{min-height:48px;border-radius:12px;padding:11px 13px;background:#fff;border:1px solid rgba(18,63,60,.16);color:#1f211f}
textarea{line-height:1.75}
input::placeholder,textarea::placeholder{color:#a09e98}
.pagination{gap:7px;flex-wrap:wrap}
.pagination a{width:42px;height:42px;border-radius:11px;background:#fff}

/* ---------------- Detail page ---------------- */
.detail-hero{padding:58px 0 70px;background:linear-gradient(180deg,#fbf8f2,#fff)}
.detail-grid{gap:clamp(34px,5vw,66px);grid-template-columns:minmax(0,1.02fr) minmax(340px,.98fr);align-items:start}
.detail-media{position:sticky;top:108px}
.detail-main-image{width:100%;height:min(570px,52vw);min-height:420px;object-fit:cover;border-radius:24px;background:#eee7db}
.thumb-row{gap:9px;margin-top:12px;overflow-x:auto;padding-bottom:5px;scrollbar-width:thin}
.thumb{border-radius:12px;border:2px solid transparent;background:#fff;padding:3px}
.thumb:hover{border-color:var(--sim-gold)}
.detail-copy{padding-top:8px}
.detail-copy h1{font-size:clamp(2.5rem,4.5vw,4.25rem)!important;line-height:1.2!important;margin:14px 0 18px!important}
.detail-copy .lead{font-size:1.05rem;line-height:1.95;color:var(--sim-muted)}
.detail-tags{gap:8px;flex-wrap:wrap}
.detail-tags span,.pill{padding:7px 11px;border-radius:999px;background:#fff;border:1px solid var(--sim-line);font-size:.78rem}
.detail-actions{gap:9px;margin-top:22px}
.content-layout,.content-columns{gap:30px}
.prose,.legal-prose{font-size:1rem;line-height:2}
.prose h2,.legal-prose h2{font-size:1.65rem;line-height:1.45;color:var(--sim-green);margin:34px 0 12px}
.prose h3,.legal-prose h3{font-size:1.25rem;color:#262826}
.prose p,.prose li,.legal-prose p,.legal-prose li{color:var(--sim-muted)}
.fact-grid{gap:12px}
.fact-grid>div,.source-card,.sticky-card{border-radius:18px;border:1px solid var(--sim-line)}
.sticky-card,.source-card{top:108px}

/* ---------------- About / story / values ---------------- */
.story-grid{gap:clamp(38px,6vw,72px)}
.story-art{border-radius:26px;box-shadow:var(--sim-shadow)}
.story-art img{min-height:440px;max-height:600px;width:100%;object-fit:cover}
.values-grid{gap:16px}
.values-grid article{border-radius:20px;box-shadow:var(--sim-shadow-sm);padding:25px;background:#fff;border:1px solid var(--sim-line)}
.values-grid article p{line-height:1.8}
.process-panel{border-radius:30px;box-shadow:var(--sim-shadow-lg)}
.process-list li{min-height:92px}

/* ---------------- Contact / FAQ / sources / legal ---------------- */
.contact-grid{gap:26px;align-items:stretch}
.contact-info,.contact-form-card{border-radius:24px}
.contact-info{padding:34px;box-shadow:var(--sim-shadow)}
.contact-info h2,.contact-info h1{font-size:2rem;line-height:1.35}
.contact-info-list div{background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.12)}
.contact-form-card{padding:32px;border:1px solid var(--sim-line);box-shadow:var(--sim-shadow-sm)}
.source-list{gap:12px}
.source-item{padding:20px;border-radius:17px;background:#fff}
.faq-list{gap:11px}
.faq-item{border-radius:16px;overflow:hidden;background:#fff}
.faq-item button{padding:18px 20px;font-size:.96rem}
.faq-answer{line-height:1.9}
.legal-prose{background:#fff;border:1px solid var(--sim-line);border-radius:24px;padding:clamp(24px,4vw,48px);box-shadow:var(--sim-shadow-sm)}

/* ---------------- Auth ---------------- */
.auth-section{min-height:calc(100vh - 88px);padding:54px 22px;display:grid;place-items:center}
.auth-card{width:min(100%,980px);border-radius:28px;overflow:hidden;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);background:#fff}
.auth-art{padding:44px;min-height:560px;display:flex;flex-direction:column;justify-content:center}
.auth-art h1{font-size:clamp(2.2rem,4vw,3.35rem);line-height:1.3;margin:14px 0}
.auth-art p{color:rgba(255,255,255,.72);line-height:1.9}
.auth-art img{margin-top:28px;height:210px;width:100%;object-fit:cover;border-radius:18px;border:1px solid rgba(255,255,255,.12)}
.auth-form{padding:48px 44px;justify-content:center}
.auth-form h2{font-size:2rem;margin:5px 0 8px}
.auth-form>p{font-size:.88rem;color:var(--sim-muted)}
.security-form{max-width:720px;margin-inline:auto}

/* ---------------- User dashboard/projects ---------------- */
.dashboard-grid,.cards-grid{gap:18px}
.dash-card,.card,.panel{border:1px solid var(--sim-line);background:#fff;border-radius:20px;box-shadow:var(--sim-shadow-sm)}
.dash-card{padding:25px;min-height:235px}
.dash-card .dash-icon{width:48px;height:48px;border-radius:14px;background:var(--sim-soft);color:var(--sim-burgundy);display:grid;place-items:center;font-size:1.35rem}
.dash-card>strong{font-size:1.8rem;color:var(--sim-green)}
.project-card{padding:24px}
.project-card h2{font-size:1.25rem;line-height:1.5;margin:6px 0}
.panel{padding:26px}
.empty-state{border:1px dashed rgba(18,63,60,.18);background:linear-gradient(180deg,#fff,#faf7f1);border-radius:22px;padding:48px 26px;box-shadow:none}
.empty-state h2{margin-top:0}
.notification-list{gap:12px}
.notification-item{border-radius:16px;background:#fff;border:1px solid var(--sim-line);box-shadow:0 5px 20px rgba(20,43,40,.035);padding:18px 20px}
.notification-item h3{margin:0 0 4px;font-size:1rem}
.notification-item p{margin:0 0 4px;color:var(--sim-muted);line-height:1.7}

/* ---------------- Footer ---------------- */
.site-footer{padding:64px 0 22px;border-top:3px solid var(--sim-gold);background:linear-gradient(150deg,#082a28,#123d3a)}
.footer-grid{grid-template-columns:1.35fr .8fr .8fr .9fr;gap:42px}
.footer-grid>div:first-child{max-width:390px}
.footer-grid p{font-size:.88rem;line-height:1.85}
.footer-grid h3{font-size:.98rem;margin:4px 0 10px;color:var(--sim-gold-soft)}
.footer-grid a{font-size:.88rem;padding:2px 0}
.footer-bottom{margin-top:42px;padding-top:18px;font-size:.75rem}

/* ---------------- Error pages ---------------- */
.error-page{min-height:72vh;background:linear-gradient(135deg,#f7f0e5,#edf4f0);position:relative;overflow:hidden}
.error-page::before{content:"";position:absolute;inset:0;background:url('../images/brand/pattern-grid.svg') center/520px;opacity:.075}
.error-page>div{position:relative;z-index:1;max-width:650px;background:rgba(255,255,255,.72);border:1px solid var(--sim-line);box-shadow:var(--sim-shadow);padding:44px;border-radius:28px}
.error-code{font-size:clamp(5rem,14vw,8.5rem);color:var(--sim-gold);text-shadow:0 8px 30px rgba(200,155,82,.16)}

/* ======================== ADMIN ======================== */
.admin-body{background:#f3f0e9;color:#20231f}
.admin-shell{grid-template-columns:278px minmax(0,1fr)}
.admin-sidebar{width:auto;padding:24px 18px;background:linear-gradient(180deg,#0b3431,#072623);border-left:1px solid rgba(255,255,255,.055)}
.admin-brand{padding:14px 12px 24px;margin:0 0 14px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.055);border-radius:17px}
.admin-brand-logo{width:135px;max-height:52px;object-fit:contain}
.admin-sidebar nav{margin-top:16px;gap:6px}
.admin-sidebar nav a{min-height:45px;padding:10px 14px 10px 36px;border-radius:12px;font-size:.85rem;font-weight:760}
.admin-user{margin-top:auto;padding:15px 13px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.055);border-radius:14px}
.admin-user span{font-weight:800;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-user small{font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-content{padding:0 clamp(20px,3vw,42px) 54px;background:linear-gradient(180deg,#f8f5ef,#f2efe9)}
.admin-topbar{min-height:82px;position:sticky;top:0;z-index:30;margin-inline:calc(clamp(20px,3vw,42px) * -1);padding-inline:clamp(20px,3vw,42px);background:rgba(248,245,239,.91);backdrop-filter:blur(14px);border-bottom:1px solid var(--sim-line)}
.admin-topbar strong{font-size:1.02rem;color:var(--sim-green)}
.admin-topbar small{font-size:.73rem}
.admin-page,.admin-page-head{max-width:1360px;margin-inline:auto}
.admin-page{padding-top:28px}
.admin-page-head{padding-top:28px;margin-bottom:20px}
.admin-page-head h1,.admin-title-row h1{font-size:1.85rem;line-height:1.35;margin:0}
.admin-page-head p,.admin-title-row p{color:var(--sim-muted);margin:5px 0 0}
.admin-stats{gap:14px}
.admin-stats article{padding:21px;border-radius:18px;background:#fff;box-shadow:var(--sim-shadow-sm)}
.admin-stats strong{font-size:2rem;color:var(--sim-burgundy);margin:5px 0}
.admin-panel,.form-card{border-radius:20px;background:#fff;border:1px solid var(--sim-line);box-shadow:var(--sim-shadow-sm)}
.admin-panel{padding:22px}
.form-card{padding:26px}
.panel-head{margin-bottom:18px}
.panel-head h1,.panel-head h2{line-height:1.4}
.admin-filter{gap:9px;padding:12px;background:rgba(255,255,255,.66);border:1px solid var(--sim-line);border-radius:16px;margin-bottom:16px;box-shadow:0 5px 18px rgba(20,43,40,.025)}
.admin-filter input{max-width:360px}
.admin-filter select{max-width:210px}
.table-wrap{border:1px solid var(--sim-line);border-radius:14px;overflow:auto;background:#fff;scrollbar-width:thin}
table{min-width:760px}
thead th{position:sticky;top:0;z-index:2;background:#f4eee4;padding:13px 14px;font-size:.75rem;color:#575b56}
td{padding:13px 14px;font-size:.85rem}
tbody tr:last-child td{border-bottom:0}
tbody tr:hover{background:#fbf8f2}
.table-thumb{width:62px;height:50px;border-radius:9px}
.action-row{gap:7px;flex-wrap:wrap}
.status,.status-badge{font-weight:800;border:1px solid rgba(0,0,0,.035)}
.form-section-title{padding-bottom:16px;border-bottom:1px solid var(--sim-line);margin-bottom:22px}
.form-section-title>span{width:40px;height:40px;border-radius:11px;background:linear-gradient(135deg,#f4ecdf,#ece2d1);color:var(--sim-burgundy)}
.form-section-title h2{font-size:1.22rem;line-height:1.4}
.form-section-title p{font-size:.82rem}
.form-grid{gap:16px}
.upload-grid{gap:18px}
.upload-box{background:#f8f3ea;border-color:rgba(118,33,30,.25);border-radius:14px}
.image-preview{border-radius:14px;background:#faf8f3}
.sticky-actions{bottom:12px;border-radius:16px;padding:12px;background:rgba(255,255,255,.93);box-shadow:0 16px 45px rgba(20,43,40,.12)}
.taxonomy-grid-wide{gap:16px}
.taxonomy-edit-item{border-radius:12px;background:#fbf9f5}
.message-card{border-radius:18px;box-shadow:var(--sim-shadow-sm)}
.message-body{border:1px solid var(--sim-line);line-height:1.85}
.settings-preview{border-radius:20px;box-shadow:var(--sim-shadow)}

/* ======================== DARK THEME ======================== */
.dark-theme{
  --sim-bg:#0f1c1b;
  --sim-card:#172827;
  --sim-soft:#192a28;
  --sim-soft-green:#172b29;
  --sim-ink:#f5f0e7;
  --sim-muted:#bcb8af;
  --sim-line:rgba(255,255,255,.11);
  --sim-line-strong:rgba(255,255,255,.17);
  background:var(--sim-bg);color:var(--sim-ink)
}
.dark-theme .site-header.phase2{background:rgba(15,28,27,.93)}
.dark-theme .section-soft,.dark-theme .catalog-hero,.dark-theme .page-hero,.dark-theme .detail-hero,.dark-theme .auth-section,.dark-theme .error-page{background:linear-gradient(135deg,#142422,#0f1c1b)}
.dark-theme .design-card,.dark-theme .catalog-card,.dark-theme .journey-card,.dark-theme .dash-card,.dark-theme .card,.dark-theme .panel,.dark-theme .form-card,.dark-theme .contact-form-card,.dark-theme .source-item,.dark-theme .faq-item,.dark-theme .legal-prose,.dark-theme .notification-item,.dark-theme .empty-state,.dark-theme .trust-grid,.dark-theme .trust-grid article{background:#172827;color:#f5f0e7;border-color:var(--sim-line)}
.dark-theme input,.dark-theme select,.dark-theme textarea{background:#10201f;color:#f5f0e7;border-color:var(--sim-line)}
.dark-theme .pill,.dark-theme .detail-tags span{background:#172827;color:#f5f0e7}
.dark-theme .filter-panel{background:#152624}
.dark-theme .theme-toggle{background:#172827;color:#fff}
.dark-theme .main-nav>a:not(.nav-cta),.dark-theme .link-button{color:#eee9df}

/* ======================== LAPTOP / TABLET ======================== */
@media(max-width:1180px){
  .container{width:min(var(--sim-content),calc(100% - 38px))}
  .main-nav{gap:13px;font-size:.84rem}
  .brand-logo{width:130px}
  .hero-grid{grid-template-columns:1fr .9fr;gap:40px}
  .portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid{grid-template-columns:1.2fr 1fr 1fr 1fr;gap:28px}
}

@media(max-width:1020px){
  .hero-grid,.detail-grid,.story-grid,.region-hero-grid,.feature-ribbon,.contact-grid,.content-columns,.content-layout{grid-template-columns:1fr}
  .hero-copy{max-width:780px}
  .showcase-stack{max-width:620px;height:480px;margin-top:10px}
  .showcase-card.primary{height:405px}
  .detail-media{position:static;max-width:780px;width:100%;margin-inline:auto}
  .detail-main-image{height:560px;min-height:0}
  .explore-layout{grid-template-columns:1fr}
  .filter-panel{position:static}
  .catalog-grid,.design-grid,.design-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .values-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid{grid-template-columns:1fr 1fr}
}

/* Mobile/tablet navigation drawer — keep logo right, menu button left */
@media(max-width:980px){
  .site-header .nav-wrap{height:72px;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important}
  .site-header .brand{margin:0!important;min-width:0;order:1}
  .site-header .brand-logo{width:116px;max-height:44px}
  .site-header .nav-toggle{display:block!important;margin:0!important;order:3}
  .site-header .nav-tools{display:none!important}
  .main-nav{position:fixed!important;inset-block:0!important;inset-inline-end:0!important;inset-inline-start:auto!important;width:min(86vw,365px)!important;max-width:365px!important;height:100dvh!important;padding:0 16px 26px!important;display:flex!important;transform:translateX(105%);transition:transform .28s ease!important;background:linear-gradient(180deg,#0c3734,#072825)!important;box-shadow:-25px 0 70px rgba(0,0,0,.3)!important;border:0!important;border-radius:0!important;overflow-y:auto!important;z-index:1100!important}
  .main-nav.open{transform:translateX(0)!important}
  .mobile-nav-head{min-height:88px;padding:16px 2px 13px!important}
  .main-nav a,.main-nav .link-button{font-size:.9rem!important;min-height:48px!important;padding:10px 13px!important;border-radius:12px!important}
  .nav-overlay{z-index:1090!important}
  .phase2-hero{padding:58px 0 66px;min-height:auto}
  .hero-grid{grid-template-columns:1fr;gap:34px}
  .hero-copy h1{font-size:clamp(2.7rem,7.6vw,4rem)!important}
  .catalog-hero,.page-hero{padding:58px 0 46px}
  .admin-shell{grid-template-columns:1fr}
  .admin-content{width:100%;padding-inline:20px}
  .admin-topbar{margin-inline:-20px;padding-inline:20px}
  .admin-sidebar{position:fixed!important;inset-block:0!important;inset-inline-end:0!important;inset-inline-start:auto!important;width:min(86vw,330px)!important;height:100dvh!important;z-index:1300!important;transform:translateX(105%);transition:transform .28s ease!important}
  .admin-sidebar.open{transform:translateX(0)!important;right:auto!important}
  .admin-toggle{display:block!important}
  .admin-overlay{z-index:1290!important}
}

/* ======================== MOBILE ======================== */
@media(max-width:740px){
  html{scroll-padding-top:82px}
  body{font-size:15.5px;line-height:1.75}
  .container{width:min(100% - 28px,var(--sim-content))}
  .site-header .nav-wrap{height:68px}
  .site-header .brand-logo{width:108px;max-height:40px}
  .site-header .nav-toggle{width:44px;height:44px;flex-basis:44px;border-radius:13px}
  .main-nav{width:min(88vw,350px)!important}

  .phase2-hero{padding:38px 0 44px}
  .hero-kicker{width:100%;border-radius:14px;justify-content:flex-start;font-size:.72rem;padding:8px 10px}
  .hero-copy h1{font-size:clamp(2rem,9vw,2.8rem)!important;line-height:1.3!important;margin:18px 0 16px!important;letter-spacing:-.012em!important}
  .hero-copy>p{font-size:.98rem;line-height:1.95}
  .hero-actions{display:grid;grid-template-columns:1fr;margin:24px 0 16px;gap:9px}
  .hero-actions .btn{width:100%;min-height:52px}
  .hero-note{font-size:.79rem;line-height:1.7;padding:10px 11px}
  .showcase-stack{height:304px;margin-top:2px}
  .showcase-card.primary{height:272px;width:84%;left:0;top:8px;border-radius:21px;padding:7px}
  .showcase-card.primary img{border-radius:16px}
  .showcase-card.secondary{height:130px;width:50%;right:0;bottom:0;border-width:5px;border-radius:18px;padding:5px}
  .showcase-card.secondary img{border-radius:12px}
  .showcase-label{right:12px;bottom:12px;max-width:calc(100% - 24px);padding:5px 8px;font-size:.68rem}
  .floating-seal{width:76px;height:76px;right:7px;top:0;border-width:4px;font-size:.54rem}
  .floating-seal strong{font-size:1.08rem}

  .trust-strip{margin-top:0;padding-top:8px}
  .trust-grid{grid-template-columns:1fr 1fr;border-radius:18px}
  .trust-grid article{padding:16px 14px;min-height:96px}
  .trust-grid strong{font-size:.86rem}
  .trust-grid span{font-size:.66rem}

  .section{padding:52px 0}
  .section-tight{padding-top:34px}
  .section-head{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:24px}
  .section-head h1,.section-head h2,.visual-heading h2{font-size:clamp(1.7rem,7vw,2.15rem)!important;line-height:1.4!important}
  .visual-heading p,.section-head p{font-size:.92rem;line-height:1.85}
  .visual-heading::after{width:54px;height:3px;margin-top:13px}

  .portal-grid,.journey-grid,.catalog-grid,.design-grid,.design-grid.compact,.values-grid,.dashboard-grid,.cards-grid{grid-template-columns:1fr!important;gap:14px}
  .portal-card{min-height:285px;border-radius:20px}
  .portal-card-content{right:18px;left:18px;bottom:18px}
  .portal-card h3{font-size:1.25rem;margin:6px 0}
  .design-card,.catalog-card,.journey-card,.dash-card,.card,.panel{border-radius:18px}
  .design-image{height:230px}
  .catalog-cover{height:220px}
  .design-body,.catalog-body{padding:18px}
  .design-body h3,.catalog-body h2,.catalog-body h3{font-size:1.1rem}
  .journey-card{min-height:auto;padding:21px}

  .feature-ribbon,.process-panel{padding:26px 21px;border-radius:22px;gap:26px}
  .feature-ribbon h2,.process-panel h2,.cta-banner h2{font-size:1.72rem!important;line-height:1.4!important}
  .feature-ribbon img{aspect-ratio:16/10}
  .cta-banner{display:block;padding:26px 21px;border-radius:21px}
  .cta-banner .btn{width:100%;margin-top:18px}

  .catalog-hero,.page-hero{padding:42px 0 34px}
  .page-hero-compact{padding:37px 0 30px}
  .catalog-hero h1,.page-hero h1,.detail-copy h1{font-size:clamp(1.85rem,8vw,2.35rem)!important;line-height:1.38!important;margin:10px 0 11px!important}
  .catalog-hero p,.page-hero p{font-size:.93rem;line-height:1.85}
  .breadcrumb{font-size:.72rem;padding:6px 9px;border-radius:10px;line-height:1.5}

  .explore-layout{gap:20px}
  .filter-panel{padding:17px;border-radius:17px}
  .filter-panel::before{font-size:.93rem;margin-bottom:12px}
  input,select,textarea{min-height:48px;font-size:16px!important} /* prevents iOS zoom */
  textarea{min-height:118px}
  .btn{min-height:46px;font-size:.88rem}

  .detail-hero{padding:34px 0 48px}
  .detail-grid{gap:24px}
  .detail-main-image{height:auto;aspect-ratio:4/3;min-height:0;border-radius:18px}
  .detail-copy h1{margin-top:8px!important}
  .detail-copy .lead{font-size:.95rem}
  .detail-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .detail-actions .btn{width:100%}
  .prose,.legal-prose{font-size:.94rem;line-height:1.9}
  .prose h2,.legal-prose h2{font-size:1.4rem}
  .sticky-card,.source-card{border-radius:16px;padding:18px}

  .story-art img{min-height:300px;height:360px}
  .values-grid article{padding:21px}
  .contact-info,.contact-form-card{padding:23px 20px;border-radius:20px}
  .contact-info h2,.contact-info h1{font-size:1.65rem}
  .source-item{grid-template-columns:1fr;padding:18px}
  .faq-item button{padding:16px 17px;font-size:.9rem}
  .faq-answer{padding:0 17px 18px}
  .legal-prose{padding:22px 19px;border-radius:19px}

  .auth-section{min-height:auto;padding:28px 14px}
  .auth-card{grid-template-columns:1fr;border-radius:21px}
  .auth-art{min-height:auto;padding:28px 22px}
  .auth-art h1{font-size:1.85rem}
  .auth-art p{font-size:.9rem}
  .auth-art img{height:145px;margin-top:20px}
  .auth-form{padding:28px 21px}
  .auth-form h2{font-size:1.6rem}

  .dash-card{min-height:auto;padding:21px}
  .project-card,.panel{padding:20px}
  .notification-item{flex-direction:column;padding:16px}
  .empty-state{padding:34px 18px;border-radius:18px}

  .footer-grid{grid-template-columns:1fr;gap:24px}
  .site-footer{padding:48px 0 18px}
  .footer-grid>div:first-child{max-width:none}
  .footer-bottom{margin-top:30px;align-items:flex-start;text-align:right;gap:6px}

  .error-page{padding:50px 14px}
  .error-page>div{padding:30px 20px;border-radius:21px;width:100%}

  /* admin mobile */
  .admin-content{padding:0 13px 36px!important}
  .admin-topbar{min-height:66px;margin-inline:-13px!important;padding-inline:13px!important}
  .admin-topbar>div{min-width:0}
  .admin-topbar strong{font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:68vw}
  .admin-topbar small{display:none}
  .admin-toggle{width:42px;height:42px;border-radius:12px}
  .admin-sidebar{width:min(88vw,324px)!important;padding:20px 15px}
  .admin-brand-logo{width:120px}
  .admin-page,.admin-page-head{padding-top:20px}
  .admin-page-head h1,.admin-title-row h1{font-size:1.45rem}
  .admin-title-row,.panel-head{align-items:flex-start;flex-direction:column;gap:10px}
  .admin-title-row .btn,.panel-head>.btn{width:100%}
  .admin-stats{grid-template-columns:1fr 1fr;gap:10px}
  .admin-stats article{padding:17px;border-radius:15px}
  .admin-stats strong{font-size:1.55rem}
  .admin-panel,.form-card{padding:18px;border-radius:17px}
  .admin-filter{flex-direction:column;padding:10px;border-radius:14px}
  .admin-filter input,.admin-filter select,.admin-filter .btn,.admin-filter a.btn{width:100%;max-width:none}
  .form-grid,.upload-grid{grid-template-columns:1fr}
  .span-2{grid-column:auto}
  .form-section-title{gap:11px;margin-bottom:18px}
  .form-section-title>span{width:36px;height:36px}
  .form-section-title h2{font-size:1.08rem}
  .table-wrap{margin-inline:-6px;width:calc(100% + 12px);border-radius:12px}
  table{min-width:680px}
  th,td{padding:11px 12px}
  .sticky-actions{bottom:7px;padding:9px;gap:7px;border-radius:13px;flex-wrap:wrap}
  .sticky-actions .btn{flex:1 1 130px}
  .taxonomy-edit-item{align-items:stretch}
}

@media(max-width:480px){
  .container{width:min(100% - 22px,var(--sim-content))}
  .site-header .brand-logo{width:103px}
  .main-nav{width:90vw!important}
  .hero-copy h1{font-size:1.95rem!important}
  .showcase-stack{height:278px}
  .showcase-card.primary{height:250px}
  .showcase-card.secondary{height:118px}
  .floating-seal{width:70px;height:70px}
  .trust-grid{grid-template-columns:1fr}
  .trust-grid article{min-height:auto;border-left:0!important;border-bottom:1px solid var(--sim-line)!important}
  .trust-grid article:last-child{border-bottom:0!important}
  .design-image{height:215px}
  .catalog-cover{height:205px}
  .catalog-hero h1,.page-hero h1,.detail-copy h1{font-size:1.78rem!important}
  .section-head h1,.section-head h2,.visual-heading h2{font-size:1.62rem!important}
  .admin-stats{grid-template-columns:1fr}
}

/* very small devices */
@media(max-width:360px){
  .container{width:min(100% - 18px,var(--sim-content))}
  .site-header .brand-logo{width:94px}
  .site-header .nav-toggle{width:41px;height:41px;flex-basis:41px}
  .hero-copy h1{font-size:1.78rem!important}
  .hero-kicker{font-size:.67rem}
  .showcase-stack{height:250px}
  .showcase-card.primary{height:225px}
  .showcase-card.secondary{height:105px}
  .floating-seal{display:none}
}


/* ======================================================================
   SIMYAA UI/UX EDITION 4.1 — TYPOGRAPHY REBALANCE + MOBILE CONSISTENCY
   تقليل أحجام العناوين وتحسين التناسق في جميع الصفحات وعلى الهاتف
   ====================================================================== */
:root{
  --type-display:clamp(2.35rem,4vw,3.9rem);
  --type-page:clamp(2rem,3.4vw,3.2rem);
  --type-section:clamp(1.7rem,2.8vw,2.45rem);
  --type-card:1.08rem;
  --type-body:15.5px;
}
html{font-size:15.5px}
body{font-size:var(--type-body);line-height:1.78}
.main-nav{font-size:.88rem}
.main-nav>a:not(.nav-cta),.link-button{min-height:40px}
.btn{font-size:.86rem;min-height:44px}
.btn-sm{font-size:.78rem;min-height:36px}
.hero-copy h1{font-size:var(--type-display)!important;line-height:1.22!important;margin:18px 0 16px!important}
.hero-copy>p{font-size:1rem;max-width:600px}
.hero-actions .btn{min-width:156px;min-height:50px}
.catalog-hero h1,.page-hero h1,.detail-copy h1{font-size:var(--type-page)!important;line-height:1.28!important;margin:10px 0 12px!important;max-width:840px}
.catalog-hero p,.page-hero p,.detail-copy .lead{font-size:.96rem;line-height:1.85}
.section-head h1,.section-head h2,.visual-heading h2,.feature-ribbon h2,.process-panel h2,.cta-banner h2{font-size:var(--type-section)!important;line-height:1.35!important}
.section-head>p,.visual-heading p,.prose,.legal-prose,.journey-card p,.design-body p,.catalog-body p,.footer-grid p{font-size:.92rem}
.design-body h3,.catalog-body h2,.catalog-body h3,.journey-card h3,.project-card h2{font-size:var(--type-card);line-height:1.5}
.prose h2,.legal-prose h2{font-size:1.42rem}
.prose h3,.legal-prose h3{font-size:1.12rem}
.contact-info h1,.contact-info h2,.auth-art h1,.auth-form h2{font-size:1.7rem!important;line-height:1.35!important}
.admin-page-head h1,.admin-title-row h1,.panel-head h1,.panel-head h2{font-size:1.55rem}
.admin-stats strong{font-size:1.65rem}

@media(max-width:1180px){
  html{font-size:15.25px}
  .hero-copy h1{font-size:clamp(2.2rem,4.5vw,3.45rem)!important}
  .catalog-hero h1,.page-hero h1,.detail-copy h1{font-size:clamp(1.95rem,3.6vw,2.8rem)!important}
  .section-head h1,.section-head h2,.visual-heading h2,.feature-ribbon h2,.process-panel h2,.cta-banner h2{font-size:clamp(1.6rem,2.6vw,2.15rem)!important}
}

@media(max-width:980px){
  html{font-size:15px}
  .hero-copy h1{font-size:clamp(2rem,5.8vw,3rem)!important;line-height:1.25!important}
  .catalog-hero h1,.page-hero h1,.detail-copy h1{font-size:clamp(1.85rem,4.8vw,2.55rem)!important;line-height:1.32!important}
  .section-head h1,.section-head h2,.visual-heading h2,.feature-ribbon h2,.process-panel h2,.cta-banner h2{font-size:clamp(1.55rem,3.7vw,2rem)!important;line-height:1.38!important}
  .contact-info h1,.contact-info h2,.auth-art h1,.auth-form h2{font-size:1.55rem!important}
}

@media(max-width:740px){
  body{font-size:15px;line-height:1.74}
  .hero-copy h1{font-size:clamp(1.72rem,7.3vw,2.28rem)!important;line-height:1.34!important;margin:14px 0 12px!important}
  .hero-copy>p{font-size:.92rem;line-height:1.85}
  .hero-actions .btn{min-height:48px}
  .catalog-hero h1,.page-hero h1,.detail-copy h1{font-size:clamp(1.58rem,6.5vw,2.08rem)!important;line-height:1.4!important}
  .catalog-hero p,.page-hero p,.detail-copy .lead{font-size:.9rem;line-height:1.8}
  .section-head h1,.section-head h2,.visual-heading h2,.feature-ribbon h2,.process-panel h2,.cta-banner h2{font-size:clamp(1.4rem,5.8vw,1.82rem)!important;line-height:1.42!important}
  .section-head>p,.visual-heading p,.prose,.legal-prose,.journey-card p,.design-body p,.catalog-body p,.footer-grid p{font-size:.88rem}
  .design-body h3,.catalog-body h2,.catalog-body h3,.journey-card h3,.project-card h2{font-size:1rem}
  .prose h2,.legal-prose h2{font-size:1.22rem}
  .prose h3,.legal-prose h3{font-size:1.02rem}
  .contact-info h1,.contact-info h2,.auth-art h1,.auth-form h2{font-size:1.35rem!important;line-height:1.4!important}
  .admin-page-head h1,.admin-title-row h1,.panel-head h1,.panel-head h2{font-size:1.28rem}
}

@media(max-width:480px){
  html{font-size:14.75px}
  .hero-copy h1{font-size:clamp(1.54rem,7vw,1.92rem)!important}
  .catalog-hero h1,.page-hero h1,.detail-copy h1{font-size:clamp(1.44rem,6vw,1.78rem)!important}
  .section-head h1,.section-head h2,.visual-heading h2,.feature-ribbon h2,.process-panel h2,.cta-banner h2{font-size:clamp(1.28rem,5.4vw,1.58rem)!important}
  .contact-info h1,.contact-info h2,.auth-art h1,.auth-form h2{font-size:1.22rem!important}
}

@media(max-width:360px){
  html{font-size:14.5px}
  .hero-copy h1{font-size:1.46rem!important}
  .catalog-hero h1,.page-hero h1,.detail-copy h1{font-size:1.36rem!important}
}

/* ======================================================================
   SIMYAA UI/UX EDITION 4.2 — FULL PAGE AUDIT
   Consistency pass across public pages, account workspace and admin UI.
   ====================================================================== */
:root{
  --page-max:1180px;
  --page-reading:820px;
  --touch-size:44px;
}

/* Visible CTA text and contrast safeguards */
.main-nav .nav-cta{
  color:#fff!important;
  background:linear-gradient(135deg,var(--sim-green),#1b5550)!important;
  border-color:transparent!important;
}
.feature-ribbon .btn-light,.contact-info .btn-light,.process-panel .btn-light{
  background:#fff!important;color:var(--sim-green)!important;border-color:rgba(255,255,255,.72)!important;
}
.dark-theme .feature-ribbon .btn-light,.dark-theme .contact-info .btn-light,.dark-theme .process-panel .btn-light{color:var(--sim-green)!important}

/* Global page rhythm */
.content-grid-spaced{margin-top:32px}
.section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;padding-bottom:14px;border-bottom:1px solid var(--sim-line)}
.section-toolbar>div{display:flex;align-items:baseline;gap:10px;min-width:0}
.section-toolbar strong{font-size:1.05rem;color:var(--sim-green)}
.section-toolbar small{color:var(--sim-muted);font-size:.78rem}
.form-actions{display:flex;gap:10px;align-items:center;margin-top:22px}
.panel-title{margin-bottom:18px}.panel-title h2{margin:6px 0 0;font-size:1.24rem;line-height:1.4;color:var(--sim-green)}
.field-value{display:block;margin-top:3px}
.contact-logo{filter:brightness(0) invert(1)}
.settings-divider{border:0;border-top:1px solid rgba(255,255,255,.12);margin:20px 0}
.color-swatch{border:0!important;font-weight:800}.swatch-burgundy{background:#6f1d1b!important;color:#fff!important}.swatch-green{background:#173e3d!important;color:#fff!important}.swatch-gold{background:#c9a66b!important;color:#171717!important}.swatch-ivory{background:#f7f2e8!important;color:#171717!important}

/* More refined catalogue cards */
.catalog-card,.design-card,.portal-card{isolation:isolate}
.catalog-card .catalog-cover,.design-card .design-image{display:block;overflow:hidden}
.catalog-card img,.design-card img,.portal-card img{width:100%;height:100%;object-fit:cover}
.design-body{display:flex;flex-direction:column;min-height:190px}
.design-body .card-link,.design-body form:last-child{margin-top:auto}
.catalog-body{display:flex;flex-direction:column;min-height:210px}.catalog-body .catalog-meta,.catalog-body .card-link{margin-top:auto}
.design-grid.compact .design-image{height:235px}

/* Region/type hero imagery */
.region-hero-grid>img{width:100%;height:390px;object-fit:cover;border-radius:24px;box-shadow:var(--sim-shadow)}
.region-hero-grid>div{min-width:0}

/* Explore */
.explore-layout>div{min-width:0}
.filter-panel .btn{width:100%}
.pagination{margin-top:28px;display:flex;justify-content:center}
.pagination a{display:grid;place-items:center;border:1px solid var(--sim-line);color:var(--sim-green);font-weight:800}
.pagination a.active{background:var(--sim-green);color:#fff;border-color:var(--sim-green)}

/* Detail */
.project-add-form{margin-top:18px;padding:16px;border:1px solid var(--sim-line);border-radius:16px;background:#faf7f1;display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.project-add-form label{flex:1 1 220px}.project-add-form .btn{flex:0 0 auto}
.fact-grid>div{background:#fff;padding:15px 16px;box-shadow:0 5px 18px rgba(20,43,40,.035)}
.source-card{background:linear-gradient(145deg,var(--sim-green-2),var(--sim-green));color:#fff;box-shadow:var(--sim-shadow)}
.source-card p,.source-card small{color:rgba(255,255,255,.75)}.source-card .eyebrow{color:var(--sim-gold-soft)}.source-card .text-link{color:#fff}

/* FAQ / source / legal */
.faq-item button{min-height:58px;align-items:center}.faq-item button span:last-child{color:var(--sim-burgundy);font-size:1.25rem;transition:transform .2s ease}
.source-item{min-height:98px}.source-item .external{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border-radius:11px;background:#f7f1e7;border:1px solid var(--sim-line)}
.legal-prose>h2:first-child{margin-top:0}

/* Authentication */
.auth-form label{width:100%}.auth-form input{width:100%}.auth-form .btn-block{margin-top:4px}
.auth-card{border:1px solid var(--sim-line);box-shadow:var(--sim-shadow-lg)}

/* Account dashboard */
.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.dash-card{min-height:210px;position:relative;overflow:hidden}.dash-card::after{content:"";position:absolute;width:70px;height:70px;left:-24px;bottom:-24px;border:12px double rgba(200,155,82,.08);transform:rotate(45deg)}
.dash-card p{color:var(--sim-muted);font-size:.88rem}.dash-card h3{font-size:1.05rem;margin:8px 0}.dash-card strong{font-size:1.55rem}

/* Notifications */
.notification-item{align-items:center;min-height:88px}
.notification-copy{display:flex;align-items:flex-start;gap:12px;min-width:0;flex:1}
.notification-dot{width:10px;height:10px;margin-top:8px;flex:0 0 10px;border-radius:50%;background:#d4d0c8}
.notification-item.unread .notification-dot{background:var(--sim-burgundy);box-shadow:0 0 0 5px rgba(118,33,30,.08)}
.notification-copy h3{font-size:.98rem}.notification-copy p{font-size:.86rem}

/* Projects */
.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.project-card{min-height:240px}.project-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.project-visibility{font-size:.74rem;color:var(--sim-muted)}
.project-form-card{padding:30px}
.project-workspace{display:grid;grid-template-columns:340px minmax(0,1fr);gap:26px;align-items:start}
.project-settings-panel{position:sticky;top:104px}.project-designs-area{min-width:0}
.danger-zone{margin-top:24px;padding:16px;border-radius:14px;background:#fff5f3;border:1px solid rgba(141,45,40,.18)}
.danger-zone strong{color:#7b2723}.danger-zone p{margin:4px 0 12px;font-size:.8rem;color:#8b7772}

/* Admin refinements */
.admin-page>.admin-filter:first-of-type{margin-top:4px}
.admin-panel>.table-wrap{margin:0}
.table-email{direction:ltr;display:inline-block;text-align:left}
.admin-title-row{padding-bottom:4px}
.admin-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.admin-stats article span{font-size:.78rem;color:var(--sim-muted)}
.admin-stats article small{color:var(--sim-muted)}
.message-card{display:block;padding:20px;background:#fff;border:1px solid var(--sim-line)}
.message-card:hover{border-color:rgba(200,155,82,.38);transform:translateY(-2px)}
.message-card h3{font-size:1.03rem;margin:9px 0 3px}.message-card p{font-size:.82rem;color:var(--sim-muted);margin:0}
.settings-preview{position:sticky;top:104px}

/* Prevent long Arabic/Latin values from breaking layouts */
.table-wrap,.source-item,.message-card,.contact-info-list div,.detail-copy,.catalog-body,.design-body,.project-card{min-width:0}
.table-email,.source-item h3,.message-card h3,.contact-info-list strong{overflow-wrap:anywhere;word-break:break-word}

/* Tablet */
@media(max-width:1020px){
  .dashboard-grid,.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .project-workspace{grid-template-columns:1fr}.project-settings-panel{position:static}
  .admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .settings-preview{position:static}
  .region-hero-grid>img{height:340px}
}

/* Mobile */
@media(max-width:740px){
  .content-grid-spaced{margin-top:22px}
  .section-toolbar{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:18px}
  .section-toolbar>div{width:100%;justify-content:space-between}
  .section-toolbar>.btn,.section-toolbar>form,.section-toolbar>form .btn{width:100%}
  .form-actions{display:grid;grid-template-columns:1fr;width:100%}.form-actions .btn{width:100%}
  .dashboard-grid,.project-grid{grid-template-columns:1fr!important}
  .dash-card{min-height:auto;padding:19px}.dash-card strong{font-size:1.35rem}
  .project-form-card{padding:20px 18px}
  .project-workspace{gap:18px}
  .project-settings-panel,.project-designs-area{width:100%}
  .notification-item{align-items:stretch}.notification-item>.btn{width:100%}
  .region-hero-grid>img{height:auto;aspect-ratio:16/10;border-radius:18px}
  .project-add-form{display:grid;grid-template-columns:1fr}.project-add-form .btn{width:100%}
  .source-item .external{width:100%}
  .design-grid.compact .design-image{height:215px}
  .admin-stats{grid-template-columns:1fr 1fr}
  .admin-stats article{min-height:112px}
  .message-head{flex-direction:column;gap:8px}.message-head>small{align-self:flex-start}
}

@media(max-width:480px){
  .admin-stats{grid-template-columns:1fr}
  .section-toolbar>div{align-items:flex-start;flex-direction:column;gap:3px}
  .design-grid.compact .design-image{height:200px}
}


/* ======================================================================
   SIMYAA UI/UX EDITION 4.3 — COMPACT TYPOGRAPHY + HEADER BRAND + CONTRAST
   نسخة نهائية: عناوين متوسطة، ترويسة أوضح، تباين أعلى، وتجاوب أدق
   ====================================================================== */
:root{
  --sim-burgundy:#681b18;
  --sim-burgundy-2:#4f1210;
  --sim-red-readable:#5b1714;
  --sim-heading:#171915;
  --sim-body-size:15px;
  --sim-h1-home:clamp(2.15rem,3.35vw,3.05rem);
  --sim-h1-page:clamp(1.8rem,2.8vw,2.55rem);
  --sim-h2:clamp(1.45rem,2.1vw,1.95rem);
  --sim-h3:1.04rem;
}
html{font-size:15px!important}
body{font-size:var(--sim-body-size)!important;line-height:1.72!important}

/* Public header: symbol + project name */
.site-header .brand-header{
  display:inline-flex!important;align-items:center!important;gap:9px!important;
  flex:0 0 auto;min-width:max-content;color:var(--sim-green);
}
.site-header .brand-symbol{
  width:42px;height:42px;object-fit:contain;flex:0 0 42px;border-radius:11px;
  box-shadow:0 6px 18px rgba(18,63,60,.08);
}
.site-header .brand-name{
  display:block!important;font-size:1.02rem!important;line-height:1.2!important;
  font-weight:900;color:var(--sim-green);white-space:nowrap;letter-spacing:0!important;
}
.dark-theme .site-header .brand-name{color:#fff}

/* Compact navigation */
.nav-wrap{height:78px!important;gap:18px!important}
.main-nav{gap:16px!important;font-size:.84rem!important}
.main-nav>a:not(.nav-cta),.link-button{min-height:38px!important;padding-block:7px!important}
.nav-cta{min-height:40px!important;padding:8px 15px!important;font-size:.82rem!important}
.theme-toggle{width:40px!important;height:40px!important}

/* Global heading scale — intentionally restrained */
.hero-copy h1{
  font-size:var(--sim-h1-home)!important;line-height:1.28!important;
  margin:16px 0 14px!important;letter-spacing:-.012em!important;max-width:650px;
}
.hero-copy h1 mark{color:var(--sim-red-readable)!important}
.hero-copy>p{font-size:.95rem!important;line-height:1.82!important;max-width:590px!important}
.hero-kicker{font-size:.72rem!important;padding:6px 10px!important}
.hero-kicker img{width:26px!important;height:26px!important}
.hero-actions{margin:22px 0 15px!important}
.hero-actions .btn{min-height:46px!important;min-width:145px!important;font-size:.84rem!important;padding-inline:18px!important}
.hero-note{font-size:.76rem!important;padding:8px 10px!important}

.catalog-hero h1,.page-hero h1,.detail-copy h1{
  font-size:var(--sim-h1-page)!important;line-height:1.34!important;
  margin:9px 0 10px!important;letter-spacing:-.008em!important;max-width:820px!important;
}
.catalog-hero p,.page-hero p,.detail-copy .lead{font-size:.91rem!important;line-height:1.82!important}
.section-head h1,.section-head h2,.visual-heading h2,.feature-ribbon h2,.process-panel h2,.cta-banner h2{
  font-size:var(--sim-h2)!important;line-height:1.4!important;letter-spacing:-.006em!important;
}
.design-body h3,.catalog-body h2,.catalog-body h3,.journey-card h3,.project-card h2,.dash-card h3{
  font-size:var(--sim-h3)!important;line-height:1.5!important;
}
.prose h2,.legal-prose h2{font-size:1.28rem!important;line-height:1.5!important}
.prose h3,.legal-prose h3{font-size:1.04rem!important}
.contact-info h1,.contact-info h2,.auth-art h1,.auth-form h2{font-size:1.45rem!important;line-height:1.4!important}
.admin-page-head h1,.admin-title-row h1,.panel-head h1,.panel-head h2{font-size:1.35rem!important;line-height:1.4!important}
.admin-stats strong{font-size:1.45rem!important}

/* Reduce vertical scale so pages feel balanced */
.phase2-hero{min-height:590px!important;padding:54px 0 66px!important}
.hero-grid{gap:clamp(34px,4vw,54px)!important}
.showcase-stack{height:470px!important;max-width:520px!important}
.showcase-card.primary{height:395px!important;width:75%!important;top:28px!important}
.showcase-card.secondary{height:205px!important;width:43%!important}
.floating-seal{width:100px!important;height:100px!important;font-size:.66rem!important}
.floating-seal strong{font-size:1.38rem!important}
.section{padding:clamp(3rem,5vw,4.5rem) 0!important}
.catalog-hero,.page-hero{padding:54px 0 40px!important}
.page-hero-compact{padding:42px 0 32px!important}
.detail-hero{padding:40px 0 54px!important}

/* High-contrast burgundy/red text on light cards */
.text-link,.card-link,.eyebrow,.design-card .card-link,.catalog-card small,
.project-card .danger,.danger-zone strong,.status-new,.check-list li:before{
  color:var(--sim-red-readable)!important;
}
.design-card .card-link,.catalog-card .card-link,.text-link{font-weight:900!important}
.catalog-card small,.portal-card small{font-weight:900!important}
.status-new{background:#fff0ed!important;border-color:#e8c5bf!important}
.btn-primary{background:linear-gradient(135deg,#681b18,#7d2521)!important;color:#fff!important}
.btn-danger{background:#7b2621!important;color:#fff!important;border-color:#7b2621!important}

/* Any burgundy label placed on a dark card gets a light high-contrast color */
.feature-ribbon .eyebrow,.process-panel .eyebrow,.contact-info .eyebrow,.settings-preview .eyebrow,
.feature-ribbon .text-link,.process-panel .text-link,.contact-info .text-link{
  color:#f0d9ad!important;
}
.portal-card .card-link,.portal-card .text-link{color:#fff!important}
.dark-theme .text-link,.dark-theme .card-link,.dark-theme .eyebrow{color:#e8c489!important}

/* Better card readability */
.design-body p,.catalog-body p,.journey-card p,.project-card p,.dash-card p{color:#666962!important}
.dark-theme .design-body p,.dark-theme .catalog-body p,.dark-theme .journey-card p,.dark-theme .project-card p,.dark-theme .dash-card p{color:#c4beb5!important}
.meta-row{color:#666a64!important}
.card-badge,.catalog-count{color:#fff!important;background:rgba(11,53,50,.94)!important}
.portal-card small{color:#f0d09a!important}

/* Tablet */
@media(max-width:980px){
  .nav-wrap{height:68px!important}
  .site-header .brand-symbol{width:37px;height:37px;flex-basis:37px}
  .site-header .brand-name{font-size:.92rem!important}
  .hero-copy h1{font-size:clamp(1.78rem,4.5vw,2.2rem)!important;max-width:580px}
  .catalog-hero h1,.page-hero h1,.detail-copy h1{font-size:clamp(1.55rem,3.8vw,1.95rem)!important}
  .section-head h1,.section-head h2,.visual-heading h2,.feature-ribbon h2,.process-panel h2,.cta-banner h2{font-size:clamp(1.32rem,3vw,1.65rem)!important}
  .phase2-hero{padding:40px 0 48px!important}
  .showcase-stack{height:410px!important}
  .showcase-card.primary{height:345px!important}
  .showcase-card.secondary{height:175px!important}
}

/* Phone */
@media(max-width:740px){
  html{font-size:14.75px!important}
  body{font-size:14.75px!important;line-height:1.68!important}
  .container{width:min(100% - 24px,var(--sim-content))!important}
  .site-header .nav-wrap{height:64px!important;gap:10px!important}
  .site-header .brand-header{gap:7px!important}
  .site-header .brand-symbol{width:34px;height:34px;flex-basis:34px;border-radius:9px}
  .site-header .brand-name{font-size:.86rem!important}
  .site-header .nav-toggle{width:40px!important;height:40px!important;flex-basis:40px!important}
  .main-nav a,.main-nav .link-button{font-size:.84rem!important}

  .phase2-hero{padding:30px 0 36px!important}
  .hero-kicker{font-size:.67rem!important;padding:6px 8px!important}
  .hero-kicker img{width:23px!important;height:23px!important}
  .hero-copy h1{font-size:clamp(1.48rem,6vw,1.82rem)!important;line-height:1.4!important;margin:12px 0 10px!important;max-width:100%}
  .hero-copy>p{font-size:.87rem!important;line-height:1.78!important}
  .hero-actions{margin:18px 0 12px!important;gap:8px!important}
  .hero-actions .btn{min-height:44px!important;font-size:.82rem!important}
  .hero-note{font-size:.72rem!important;line-height:1.6!important}
  .showcase-stack{height:268px!important}
  .showcase-card.primary{height:238px!important;width:82%!important;top:6px!important}
  .showcase-card.secondary{height:108px!important;width:47%!important}
  .floating-seal{width:66px!important;height:66px!important;font-size:.48rem!important;border-width:4px!important}
  .floating-seal strong{font-size:.92rem!important}

  .section{padding:38px 0!important}
  .catalog-hero,.page-hero{padding:32px 0 26px!important}
  .page-hero-compact{padding:28px 0 23px!important}
  .detail-hero{padding:28px 0 38px!important}
  .catalog-hero h1,.page-hero h1,.detail-copy h1{font-size:clamp(1.34rem,5.5vw,1.58rem)!important;line-height:1.45!important}
  .section-head h1,.section-head h2,.visual-heading h2,.feature-ribbon h2,.process-panel h2,.cta-banner h2{font-size:clamp(1.2rem,4.9vw,1.42rem)!important;line-height:1.48!important}
  .design-body h3,.catalog-body h2,.catalog-body h3,.journey-card h3,.project-card h2,.dash-card h3{font-size:.96rem!important}
  .prose h2,.legal-prose h2{font-size:1.1rem!important}
  .contact-info h1,.contact-info h2,.auth-art h1,.auth-form h2{font-size:1.18rem!important}
  .admin-page-head h1,.admin-title-row h1,.panel-head h1,.panel-head h2{font-size:1.12rem!important}
}

@media(max-width:420px){
  html{font-size:14.5px!important}
  body{font-size:14.5px!important}
  .site-header .brand-symbol{width:32px;height:32px;flex-basis:32px}
  .site-header .brand-name{font-size:.8rem!important}
  .hero-copy h1{font-size:1.42rem!important}
  .catalog-hero h1,.page-hero h1,.detail-copy h1{font-size:1.28rem!important}
  .section-head h1,.section-head h2,.visual-heading h2,.feature-ribbon h2,.process-panel h2,.cta-banner h2{font-size:1.16rem!important}
  .showcase-stack{height:245px!important}
  .showcase-card.primary{height:218px!important}
  .showcase-card.secondary{height:96px!important}
}


/* ======================================================================
   SIMYAA UI/UX EDITION 4.4 — PROFESSIONAL TYPE HIERARCHY
   إصلاح هرميّة العناوين: العنوان الرئيسي > عنوان البطاقة > النص الفرعي
   ====================================================================== */
:root{
  --sim-section-title:1.34rem;
  --sim-section-subtitle:.90rem;
  --sim-card-title:1.02rem;
}

/* Requested journey section: clear semantic and visual hierarchy */
.journey-heading{max-width:720px}
.journey-heading h2{
  margin:0!important;
  font-size:var(--sim-section-title)!important;
  line-height:1.45!important;
  font-weight:900!important;
  color:var(--sim-heading)!important;
  letter-spacing:0!important;
}
.journey-heading .journey-subtitle{
  margin:8px 0 0!important;
  max-width:620px;
  font-size:var(--sim-section-subtitle)!important;
  line-height:1.8!important;
  font-weight:600!important;
  color:var(--sim-muted)!important;
}
.journey-heading::after{
  width:48px!important;
  height:3px!important;
  margin-top:13px!important;
}
.journey-card h3{
  font-size:var(--sim-card-title)!important;
  line-height:1.45!important;
  margin:12px 0 5px!important;
  color:var(--sim-heading)!important;
  font-weight:900!important;
}
.journey-card p{
  font-size:.84rem!important;
  line-height:1.72!important;
  margin:0!important;
}

/* Consistent hierarchy in every card family */
.design-body h3,.catalog-body h2,.catalog-body h3,.portal-card h3,.project-card h2,.dash-card h3{
  font-weight:900!important;
}
.design-body p,.catalog-body p,.portal-card p,.project-card p,.dash-card p{
  font-size:.84rem!important;
  line-height:1.72!important;
}

/* Keep decorative overlines clearly smaller than titles */
.eyebrow{
  font-size:.69rem!important;
  line-height:1.5!important;
  font-weight:900!important;
}

/* The supporting paragraph under a section heading must never compete with the heading */
.visual-heading>p:not(.journey-subtitle),.section-head p{
  font-size:.87rem!important;
  line-height:1.78!important;
  font-weight:500!important;
}

/* More restrained general section headings */
.section-head h1,.section-head h2,.visual-heading:not(.journey-heading) h2,.feature-ribbon h2,.process-panel h2,.cta-banner h2{
  font-size:clamp(1.18rem,1.7vw,1.48rem)!important;
  line-height:1.46!important;
}

/* Desktop cards should remain subordinate to section titles, but stronger than descriptions */
.portal-card h3{font-size:1.02rem!important;line-height:1.45!important}
.design-body h3,.catalog-body h2,.catalog-body h3,.project-card h2,.dash-card h3{font-size:1rem!important}

@media(max-width:980px){
  :root{--sim-section-title:1.25rem;--sim-section-subtitle:.86rem;--sim-card-title:.98rem}
  .section-head h1,.section-head h2,.visual-heading:not(.journey-heading) h2,.feature-ribbon h2,.process-panel h2,.cta-banner h2{
    font-size:clamp(1.12rem,2.6vw,1.36rem)!important;
  }
}

@media(max-width:740px){
  :root{--sim-section-title:1.14rem;--sim-section-subtitle:.82rem;--sim-card-title:.94rem}
  .journey-heading .journey-subtitle{margin-top:6px!important;line-height:1.68!important}
  .journey-heading::after{width:42px!important;margin-top:10px!important}
  .journey-card h3{margin-top:9px!important}
  .journey-card p,.design-body p,.catalog-body p,.portal-card p,.project-card p,.dash-card p{font-size:.80rem!important}
  .visual-heading>p:not(.journey-subtitle),.section-head p{font-size:.82rem!important}
  .eyebrow{font-size:.65rem!important}
  .section-head h1,.section-head h2,.visual-heading:not(.journey-heading) h2,.feature-ribbon h2,.process-panel h2,.cta-banner h2{
    font-size:1.12rem!important;
  }
}

@media(max-width:420px){
  :root{--sim-section-title:1.08rem;--sim-section-subtitle:.79rem;--sim-card-title:.91rem}
  .journey-heading .journey-subtitle{max-width:100%}
  .section-head h1,.section-head h2,.visual-heading:not(.journey-heading) h2,.feature-ribbon h2,.process-panel h2,.cta-banner h2{
    font-size:1.06rem!important;
  }
}


/* ======================================================================
   SIMYAA UI/UX EDITION 4.5 — RIGHT MOBILE DRAWER / NO LAYOUT SHIFT
   القائمة الجانبية: تخرج بالكامل من اليمين، لا تسبب تمريراً أفقياً،
   ولا تحرك أو تقص محتوى الصفحة. الخلفية تبقى ثابتة مع طبقة تعتيم واضحة.
   ====================================================================== */
@media (max-width:980px){
  html,body{max-width:100%;overflow-x:hidden!important}
  body.nav-open{overflow:hidden!important;overscroll-behavior:none}

  /* Header stays stable while the drawer opens. */
  .site-header.phase2{z-index:1000!important}
  .site-header .nav-wrap{position:relative!important}

  /* Physical right/left properties are intentional here to avoid RTL
     logical-property conflicts in older mobile browsers. */
  .main-nav[data-nav]{
    position:fixed!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:auto!important;
    width:min(82vw,320px)!important;
    max-width:320px!important;
    min-width:0!important;
    height:100dvh!important;
    min-height:100vh!important;
    margin:0!important;
    padding:0 14px 22px!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:5px!important;
    direction:rtl!important;
    text-align:right!important;
    background:linear-gradient(180deg,#0d403c 0%,#092f2d 52%,#072724 100%)!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:-18px 0 46px rgba(5,22,20,.25)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch;
    transform:translate3d(101%,0,0)!important;
    opacity:1!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:transform .26s cubic-bezier(.22,.72,.2,1),visibility 0s linear .26s!important;
    z-index:1200!important;
    isolation:isolate!important;
  }
  .main-nav[data-nav].open{
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transition:transform .26s cubic-bezier(.22,.72,.2,1),visibility 0s!important;
  }
  .main-nav[data-nav]::before{
    content:""!important;position:absolute!important;inset:0!important;z-index:-2!important;
    background:url('../images/brand/pattern-grid.svg') center/390px!important;opacity:.055!important;pointer-events:none!important;
  }
  .main-nav[data-nav]::after{
    content:""!important;position:absolute!important;width:220px!important;height:220px!important;
    left:-105px!important;right:auto!important;bottom:-92px!important;top:auto!important;
    border:32px double rgba(255,255,255,.035)!important;transform:rotate(45deg)!important;z-index:-1!important;pointer-events:none!important;
  }

  /* Backdrop covers the viewport only, never changes page width. */
  .nav-overlay[data-nav-overlay]{
    display:block!important;
    position:fixed!important;
    top:0!important;right:0!important;bottom:0!important;left:0!important;
    inset:0!important;
    width:100vw!important;height:100dvh!important;
    margin:0!important;
    background:rgba(7,25,23,.40)!important;
    backdrop-filter:blur(2px)!important;
    -webkit-backdrop-filter:blur(2px)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:opacity .22s ease,visibility 0s linear .22s!important;
    z-index:1150!important;
  }
  .nav-overlay[data-nav-overlay].open{
    opacity:1!important;visibility:visible!important;pointer-events:auto!important;
    transition:opacity .22s ease,visibility 0s!important;
  }

  .mobile-nav-head{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    flex:0 0 auto!important;min-height:72px!important;margin:0 0 8px!important;padding:13px 2px 11px!important;
    position:sticky!important;top:0!important;z-index:5!important;
    background:rgba(13,64,60,.96)!important;border-bottom:1px solid rgba(255,255,255,.10)!important;
    backdrop-filter:blur(10px)!important;
  }
  .mobile-nav-head strong{font-size:.92rem!important;color:#fff!important}
  .mobile-nav-head button{
    width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;
    display:grid!important;place-items:center!important;border-radius:12px!important;
    border:1px solid rgba(255,255,255,.12)!important;background:rgba(255,255,255,.08)!important;
    color:#fff!important;font-size:1.55rem!important;line-height:1!important;box-shadow:none!important;
  }
  .main-nav[data-nav] a,.main-nav[data-nav] .link-button{
    flex:0 0 auto!important;width:100%!important;min-height:44px!important;margin:0!important;
    padding:9px 12px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;
    text-align:right!important;border:1px solid transparent!important;border-radius:11px!important;
    color:rgba(255,255,255,.86)!important;background:transparent!important;font-size:.83rem!important;font-weight:800!important;
    white-space:normal!important;overflow-wrap:anywhere!important;
  }
  .main-nav[data-nav] a:hover,.main-nav[data-nav] a.active,.main-nav[data-nav] .link-button:hover{
    background:rgba(255,255,255,.085)!important;border-color:rgba(255,255,255,.075)!important;color:#fff!important;
  }
  .main-nav[data-nav] a.active{box-shadow:inset -3px 0 0 #d8ad68!important}
  .main-nav[data-nav] .nav-cta{
    margin-top:6px!important;justify-content:center!important;background:#d2a75f!important;color:#143331!important;
    border-color:rgba(255,255,255,.12)!important;box-shadow:0 8px 20px rgba(0,0,0,.12)!important;
  }
  .main-nav[data-nav] .inline-form{width:100%!important;margin:0!important}

  /* Ensure transformed/off-canvas drawer never enlarges the document. */
  main,.site-footer{max-width:100vw!important;overflow-x:hidden!important}
  .site-header.phase2{overflow:visible!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}

@media (max-width:520px){
  .main-nav[data-nav]{width:min(84vw,296px)!important;max-width:296px!important;padding-inline:12px!important}
  .nav-overlay[data-nav-overlay]{background:rgba(7,25,23,.34)!important}
}

@media (max-width:360px){
  .main-nav[data-nav]{width:min(86vw,278px)!important;max-width:278px!important}
}

@media (prefers-reduced-motion:reduce){
  .main-nav[data-nav],.nav-overlay[data-nav-overlay]{transition:none!important}
}

/* ======================================================================
   SIMYAA UI/UX EDITION 4.6 — FINAL TYPE HIERARCHY / BRAND / IMAGE SYSTEM
   قواعد نهائية أعلى أولوية: عناوين واضحة بلا تضخيم، وصف أصغر من العنوان،
   شعار موحد جديد، وصور محلية ثابتة ومتجاوبة في كل صفحات المشروع.
   ====================================================================== */
:root{
  --v46-ink:#171916;
  --v46-muted:#6d6b65;
  --v46-green:#123f3c;
  --v46-burgundy:#741f1c;
  --v46-gold:#c59a55;
  --v46-card-title:1.08rem;
  --v46-card-body:.82rem;
  --v46-card-meta:.70rem;
  --v46-section-title:clamp(1.28rem,1.75vw,1.58rem);
  --v46-page-title:clamp(1.78rem,2.65vw,2.35rem);
  --v46-home-title:clamp(2.1rem,3.25vw,2.95rem);
}

/* Base scale: readable, restrained, and consistent. */
html{font-size:15px!important}
body{font-size:15px!important;line-height:1.72!important;color:var(--v46-ink)}
h1,h2,h3,h4{text-wrap:balance;overflow-wrap:anywhere}
p,li{overflow-wrap:anywhere}

/* New brand asset everywhere. */
.site-header .brand-header{display:flex!important;align-items:center!important;min-width:0!important;gap:0!important}
.site-header .brand-symbol-professional{
  width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important;
  object-fit:contain!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  filter:none!important;transform:none!important;
}
.site-header .nav-wrap{height:76px!important}
.footer-brand .brand-logo{width:92px!important;height:102px!important;object-fit:contain!important;filter:none!important}
.admin-brand-logo{width:92px!important;height:104px!important;object-fit:contain!important;filter:none!important;margin-inline:auto}
.contact-logo{width:98px!important;height:108px!important;object-fit:contain!important;filter:none!important;margin-bottom:14px!important}
.settings-preview>img{width:96px!important;height:106px!important;object-fit:contain!important;filter:none!important;margin-bottom:18px!important}
.hero-kicker img{width:32px!important;height:36px!important;object-fit:contain!important;filter:none!important;border-radius:0!important}
@media(max-width:980px){
  .mobile-nav-head strong::before{
    background:url('../images/brand/simyaa-logo.png') center/contain no-repeat!important;
    width:42px!important;height:46px!important;border-radius:0!important;box-shadow:none!important;
  }
}

/* -------------------- Main/page headings -------------------- */
.hero-copy h1{
  font-size:var(--v46-home-title)!important;line-height:1.29!important;font-weight:900!important;
  margin:15px 0 13px!important;max-width:650px!important;letter-spacing:-.008em!important;
}
.hero-copy>p{font-size:.94rem!important;line-height:1.84!important;max-width:610px!important;color:var(--v46-muted)!important}
.catalog-hero h1,.page-hero h1,.detail-copy h1,.error-page h1{
  font-size:var(--v46-page-title)!important;line-height:1.34!important;font-weight:900!important;
  margin:9px 0 10px!important;letter-spacing:-.004em!important;
}
.catalog-hero p,.page-hero p,.detail-copy .lead{font-size:.91rem!important;line-height:1.82!important;color:var(--v46-muted)!important}
.section-head h1,.section-head h2,.visual-heading h2,.feature-ribbon h2,.process-panel h2,.cta-banner h2{
  font-size:var(--v46-section-title)!important;line-height:1.43!important;font-weight:900!important;
  margin-top:7px!important;letter-spacing:0!important;
}
.visual-heading>p,.section-head p,.journey-heading .journey-subtitle{
  font-size:.84rem!important;line-height:1.76!important;font-weight:500!important;color:var(--v46-muted)!important;
  margin-top:6px!important;
}
.eyebrow{
  font-size:.68rem!important;line-height:1.5!important;font-weight:900!important;color:var(--v46-burgundy)!important;
  letter-spacing:0!important;
}
.eyebrow-light{color:#ecd09c!important}

/* -------------------- Card hierarchy: title > details, always -------------------- */
.design-body h3,.catalog-body h2,.catalog-body h3,.portal-card-content h3,
.journey-card h3,.values-grid article h3,.project-card h2,.project-card h3,
.dash-card h3,.source-item h3,.message-card h3,.notification-copy h3,
.sticky-card h3,.source-card h3,.fact-grid strong{
  font-size:var(--v46-card-title)!important;line-height:1.48!important;font-weight:900!important;
  color:var(--v46-ink)!important;margin:6px 0 6px!important;letter-spacing:0!important;
}
.design-body p,.catalog-body p,.portal-card-content p,.journey-card p,.values-grid article p,
.project-card p,.dash-card p,.source-item p,.message-card p,.notification-copy p,
.sticky-card p,.source-card p,.fact-grid small{
  font-size:var(--v46-card-body)!important;line-height:1.72!important;font-weight:450!important;
  color:var(--v46-muted)!important;margin-top:0!important;
}
.design-body small,.catalog-body>small,.portal-card-content small,.values-grid article>span,
.meta-row,.project-visibility,.source-item small,.notification-item small,.catalog-meta,.fact-grid small{
  font-size:var(--v46-card-meta)!important;line-height:1.55!important;font-weight:800!important;
}

/* Dark image cards: keep title and text legible. */
.portal-card-content h3{color:#fff!important;text-shadow:0 2px 10px rgba(0,0,0,.22)!important}
.portal-card-content p{color:rgba(255,255,255,.82)!important}
.portal-card-content small{color:#f0cf94!important}
.source-card h3{color:#fff!important}.source-card p,.source-card small{color:rgba(255,255,255,.80)!important}
.feature-ribbon h2,.contact-info h1,.contact-info h2{color:#fff!important}

/* Burgundy/red text contrast on light cards. */
.catalog-body>small,.design-body>small,.values-grid article>span,.meta-row span,.project-visibility,
.card-link,.text-link,.breadcrumb a{color:var(--v46-burgundy)!important}
.card-link,.text-link{font-weight:850!important}
.dark-theme .catalog-body>small,.dark-theme .design-body>small,.dark-theme .values-grid article>span,
.dark-theme .meta-row span,.dark-theme .project-visibility,.dark-theme .card-link,.dark-theme .text-link{color:#e5c68e!important}

/* Content typography. */
.prose,.legal-prose{font-size:.91rem!important;line-height:1.9!important}
.prose h2,.legal-prose h2{font-size:1.25rem!important;line-height:1.5!important;font-weight:900!important}
.prose h3,.legal-prose h3{font-size:1.02rem!important;line-height:1.55!important;font-weight:900!important}
.faq-item button{font-size:.94rem!important;font-weight:900!important}
.contact-info h1,.contact-info h2,.auth-art h1,.auth-form h2{font-size:1.38rem!important;line-height:1.42!important}
.admin-page-head h1,.admin-title-row h1,.panel-head h1,.panel-head h2{font-size:1.28rem!important;line-height:1.42!important}
.admin-stats strong{font-size:1.38rem!important}
.form-section-title h2{font-size:1.02rem!important}.form-section-title p{font-size:.78rem!important}

/* Cards/images are reliable and visually consistent. */
.design-card,.catalog-card,.portal-card,.journey-card,.values-grid article,.project-card,.dash-card,.source-item{
  overflow:hidden!important;
}
.design-image,.catalog-cover{background:#eee8dc!important;overflow:hidden!important}
.design-image img,.catalog-cover img,.portal-card>img,.showcase-card img,.feature-ribbon>img,.story-art img,.region-hero-grid>img,.auth-art img{
  width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;
}
.design-image{height:245px!important}.catalog-cover{height:225px!important}.portal-card{min-height:330px!important}
.design-body,.catalog-body{padding:19px 20px 21px!important}
.design-body h3 a,.catalog-body h2 a,.catalog-body h3 a{display:inline;color:inherit!important}
.card-badge,.catalog-count{font-size:.68rem!important;line-height:1.4!important}

/* Balanced page rhythm. */
.phase2-hero{min-height:560px!important;padding:46px 0 58px!important}
.catalog-hero,.page-hero{padding:48px 0 38px!important}
.section{padding:48px 0!important}.section-tight{padding-top:30px!important}
.section-head{margin-bottom:24px!important}
.content-grid-spaced{margin-top:26px!important}

/* Header/navigation size balance. */
.main-nav{font-size:.83rem!important;gap:14px!important}
.main-nav>a:not(.nav-cta),.link-button{min-height:38px!important;padding:7px 1px!important}
.nav-cta{font-size:.80rem!important;min-height:40px!important;padding:8px 14px!important}

/* Dark theme hierarchy. */
.dark-theme .design-body h3,.dark-theme .catalog-body h2,.dark-theme .catalog-body h3,
.dark-theme .journey-card h3,.dark-theme .values-grid article h3,.dark-theme .project-card h2,
.dark-theme .dash-card h3,.dark-theme .source-item h3,.dark-theme .message-card h3,.dark-theme .notification-copy h3,
.dark-theme .sticky-card h3{color:#f7f2e8!important}
.dark-theme .design-body p,.dark-theme .catalog-body p,.dark-theme .journey-card p,.dark-theme .values-grid article p,
.dark-theme .project-card p,.dark-theme .dash-card p,.dark-theme .source-item p,.dark-theme .message-card p,
.dark-theme .notification-copy p,.dark-theme .sticky-card p{color:#c5c0b7!important}

/* Tablet */
@media(max-width:980px){
  :root{
    --v46-home-title:clamp(1.9rem,5vw,2.55rem);
    --v46-page-title:clamp(1.62rem,4vw,2.05rem);
    --v46-section-title:clamp(1.20rem,3vw,1.42rem);
    --v46-card-title:1.03rem;
  }
  .site-header .nav-wrap{height:68px!important}
  .site-header .brand-symbol-professional{width:52px!important;height:52px!important;max-width:52px!important;max-height:52px!important}
  .catalog-hero,.page-hero{padding:40px 0 32px!important}
  .phase2-hero{padding:40px 0 48px!important}
}

/* Mobile */
@media(max-width:740px){
  :root{
    --v46-home-title:clamp(1.65rem,7vw,2rem);
    --v46-page-title:clamp(1.43rem,6vw,1.72rem);
    --v46-section-title:clamp(1.12rem,4.8vw,1.30rem);
    --v46-card-title:.98rem;
    --v46-card-body:.78rem;
    --v46-card-meta:.65rem;
  }
  html{font-size:14.75px!important}body{font-size:14.75px!important}
  .site-header .nav-wrap{height:64px!important}
  .site-header .brand-symbol-professional{width:47px!important;height:47px!important;max-width:47px!important;max-height:47px!important}
  .hero-copy h1{line-height:1.38!important;margin:12px 0 10px!important}
  .hero-copy>p{font-size:.87rem!important;line-height:1.78!important}
  .catalog-hero h1,.page-hero h1,.detail-copy h1{line-height:1.42!important}
  .catalog-hero p,.page-hero p,.detail-copy .lead{font-size:.84rem!important;line-height:1.76!important}
  .section{padding:38px 0!important}.section-tight{padding-top:24px!important}
  .catalog-hero,.page-hero{padding:33px 0 27px!important}.phase2-hero{padding:30px 0 38px!important}
  .section-head{margin-bottom:18px!important}
  .visual-heading>p,.section-head p,.journey-heading .journey-subtitle{font-size:.78rem!important;line-height:1.68!important}
  .eyebrow{font-size:.62rem!important}
  .design-image{height:215px!important}.catalog-cover{height:205px!important}.portal-card{min-height:270px!important}
  .design-body,.catalog-body{padding:16px 17px 18px!important}
  .portal-card-content{right:17px!important;left:17px!important;bottom:17px!important}
  .prose,.legal-prose{font-size:.84rem!important}.prose h2,.legal-prose h2{font-size:1.10rem!important}.prose h3,.legal-prose h3{font-size:.95rem!important}
  .contact-info h1,.contact-info h2,.auth-art h1,.auth-form h2{font-size:1.18rem!important}
  .admin-page-head h1,.admin-title-row h1,.panel-head h1,.panel-head h2{font-size:1.14rem!important}
  .footer-brand .brand-logo{width:80px!important;height:88px!important}
  .contact-logo{width:82px!important;height:92px!important}
}

@media(max-width:420px){
  :root{--v46-home-title:1.58rem;--v46-page-title:1.38rem;--v46-section-title:1.08rem;--v46-card-title:.94rem}
  .design-image{height:200px!important}.catalog-cover{height:190px!important}.portal-card{min-height:255px!important}
  .site-header .brand-symbol-professional{width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important}
}

/* 4.6 card families not covered by legacy naming. */
.empty-state h2,.contact-form-card h2,.admin-panel h2,.admin-panel h3,.panel h2,.panel h3,.card h2,.card h3,.panel-title{
  font-size:1.06rem!important;line-height:1.48!important;font-weight:900!important;color:var(--v46-ink)!important;margin:5px 0 7px!important;
}
.empty-state p,.contact-form-card>p,.admin-panel p,.panel p,.card p{
  font-size:.82rem!important;line-height:1.72!important;color:var(--v46-muted)!important;
}
.dark-theme .empty-state h2,.dark-theme .contact-form-card h2,.dark-theme .panel h2,.dark-theme .panel h3,.dark-theme .card h2,.dark-theme .card h3{color:#f7f2e8!important}
@media(max-width:740px){
  .empty-state h2,.contact-form-card h2,.admin-panel h2,.admin-panel h3,.panel h2,.panel h3,.card h2,.card h3,.panel-title{font-size:.96rem!important}
  .empty-state p,.contact-form-card>p,.admin-panel p,.panel p,.card p{font-size:.78rem!important}
}

/* ======================================================================
   SIMYAA UI/UX EDITION 4.7 — RICH HERITAGE CARDS / UNIQUE VISUAL CONTENT
   بطاقات أكثر ثراءً: صورة فوتوغرافية مختلفة + شريط نقش مختلف + تصنيف واضح.
   ====================================================================== */
:root{
  --v47-card-gap:18px;
  --v47-soft-gold:#e9d8b7;
  --v47-soft-green:#edf4f0;
  --v47-soft-wine:#f6ece9;
}

/* Keep the hierarchy unambiguous: title > supporting text > metadata. */
.design-body h3,.catalog-body h2,.catalog-body h3,.portal-card-content h3{
  font-size:1.02rem!important;line-height:1.46!important;font-weight:900!important;
}
.design-body p,.catalog-body p,.portal-card-content p{
  font-size:.79rem!important;line-height:1.72!important;font-weight:450!important;
}
.meta-row,.catalog-body>small,.portal-card-content small,.motif-chip-row{
  font-size:.66rem!important;
}

/* Rich card shell. */
.design-grid,.catalog-grid,.portal-grid{gap:var(--v47-card-gap)!important;align-items:stretch}
.design-card,.catalog-card,.portal-card{
  position:relative!important;isolation:isolate!important;background:#fff!important;
  border:1px solid rgba(18,63,60,.11)!important;box-shadow:0 10px 30px rgba(20,43,40,.065)!important;
}
.design-card::after,.catalog-card::after{
  content:"";position:absolute;inset-inline-start:-22px;bottom:-22px;width:66px;height:66px;
  border:12px double rgba(197,154,85,.08);transform:rotate(45deg);pointer-events:none;z-index:-1;
}

/* Four restrained card silhouettes; visual variety without losing consistency. */
.card-variant-1{border-radius:24px 10px 24px 10px!important}
.card-variant-2{border-radius:10px 26px 10px 26px!important}
.card-variant-3{border-radius:28px!important}
.card-variant-4{border-radius:16px 16px 30px 16px!important}
.card-variant-1 .design-image,.card-variant-1 .catalog-cover{border-radius:23px 9px 0 0!important}
.card-variant-2 .design-image,.card-variant-2 .catalog-cover{border-radius:9px 25px 0 0!important}
.card-variant-3 .design-image,.card-variant-3 .catalog-cover{border-radius:27px 27px 0 0!important}
.card-variant-4 .design-image,.card-variant-4 .catalog-cover{border-radius:15px 15px 0 0!important}

/* Unique motif strip inside every content card. */
.card-motif-strip{
  height:42px!important;padding:7px 14px!important;background:linear-gradient(90deg,#fbf8f1,#f4eee3)!important;
  border-top:1px solid rgba(18,63,60,.06)!important;border-bottom:1px solid rgba(18,63,60,.08)!important;
  overflow:hidden!important;
}
.card-motif-strip img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:8px!important}
.portal-motif{
  position:absolute!important;z-index:3!important;top:16px!important;left:16px!important;width:116px!important;height:34px!important;
  padding:5px!important;border-radius:10px!important;background:rgba(255,253,248,.92)!important;
  border:1px solid rgba(255,255,255,.5)!important;box-shadow:0 8px 22px rgba(0,0,0,.12)!important;
}
.portal-motif img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:6px!important}

/* Content chips make each card informative instead of looking empty. */
.motif-chip-row{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin:7px 0 3px!important}
.motif-chip-row span{
  display:inline-flex!important;align-items:center!important;min-height:23px!important;padding:3px 8px!important;
  border-radius:999px!important;background:var(--v47-soft-green)!important;color:#24514e!important;
  border:1px solid rgba(18,63,60,.08)!important;font-weight:800!important;line-height:1.35!important;
}
.motif-chip-row span:nth-child(2){background:var(--v47-soft-wine)!important;color:#752822!important;border-color:rgba(116,31,28,.08)!important}

/* Make image crops feel distinct while remaining responsive. */
.design-card:nth-child(4n+1) .design-image img,.catalog-card:nth-child(4n+1) .catalog-cover img{object-position:50% 45%!important}
.design-card:nth-child(4n+2) .design-image img,.catalog-card:nth-child(4n+2) .catalog-cover img{object-position:44% 52%!important}
.design-card:nth-child(4n+3) .design-image img,.catalog-card:nth-child(4n+3) .catalog-cover img{object-position:56% 48%!important}
.design-card:nth-child(4n) .design-image img,.catalog-card:nth-child(4n) .catalog-cover img{object-position:50% 56%!important}
.design-image{height:232px!important}.catalog-cover{height:218px!important}
.design-image::after,.catalog-cover::after{
  content:"";position:absolute!important;inset:0!important;pointer-events:none!important;
  background:linear-gradient(180deg,transparent 58%,rgba(9,36,34,.14) 100%)!important;
}
.card-badge,.catalog-count{z-index:2!important}

/* Catalog cards show real visual classification clearly. */
.catalog-body{display:flex!important;flex-direction:column!important;min-height:205px!important}
.catalog-body p{flex:1 1 auto!important;margin-bottom:12px!important}
.catalog-meta{margin-top:auto!important}
.design-body{display:flex!important;flex-direction:column!important;min-height:230px!important}
.design-body p{flex:1 1 auto!important;margin-bottom:12px!important}
.design-body .card-link{margin-top:auto!important}

/* Portal cards: each category/type stays readable over its real photo. */
.portal-card{min-height:320px!important}
.portal-card::after{background:linear-gradient(180deg,rgba(7,31,30,.04) 18%,rgba(7,31,30,.94) 100%)!important}
.portal-card-content{z-index:4!important}
.portal-card-content p{max-width:92%!important}

/* Detail gallery thumbnails also use robust object-fit. */
.thumb img,.detail-main-image{object-fit:cover!important}

.dark-theme .design-card,.dark-theme .catalog-card{background:#172827!important}
.dark-theme .card-motif-strip{background:#132321!important;border-color:rgba(255,255,255,.08)!important}
.dark-theme .motif-chip-row span{background:#203331!important;color:#d8ece8!important;border-color:rgba(255,255,255,.08)!important}
.dark-theme .motif-chip-row span:nth-child(2){background:#352423!important;color:#f0c8c2!important}

@media(max-width:980px){
  .design-image{height:220px!important}.catalog-cover{height:210px!important}
  .catalog-body{min-height:195px!important}.design-body{min-height:218px!important}
}
@media(max-width:740px){
  .design-grid,.catalog-grid,.portal-grid{gap:14px!important}
  .design-image{height:210px!important}.catalog-cover{height:200px!important}
  .design-body,.catalog-body{min-height:0!important}
  .card-motif-strip{height:38px!important;padding:6px 12px!important}
  .portal-motif{top:12px!important;left:12px!important;width:104px!important;height:31px!important}
  .design-body h3,.catalog-body h2,.catalog-body h3,.portal-card-content h3{font-size:.96rem!important}
  .design-body p,.catalog-body p,.portal-card-content p{font-size:.76rem!important}
}
@media(max-width:420px){
  .design-image{height:196px!important}.catalog-cover{height:188px!important}
  .card-variant-1,.card-variant-2,.card-variant-3,.card-variant-4{border-radius:18px!important}
  .card-variant-1 .design-image,.card-variant-1 .catalog-cover,.card-variant-2 .design-image,.card-variant-2 .catalog-cover,
  .card-variant-3 .design-image,.card-variant-3 .catalog-cover,.card-variant-4 .design-image,.card-variant-4 .catalog-cover{border-radius:17px 17px 0 0!important}
}
/* Extra V4.7 card silhouettes for a richer but controlled visual rhythm. */
.card-variant-5{border-radius:12px 30px 24px 12px!important}
.card-variant-6{border-radius:30px 12px 12px 24px!important}
.card-variant-5 .design-image,.card-variant-5 .catalog-cover{border-radius:11px 29px 0 0!important}
.card-variant-6 .design-image,.card-variant-6 .catalog-cover{border-radius:29px 11px 0 0!important}
.design-card.card-variant-5 .card-motif-strip,.catalog-card.card-variant-5 .card-motif-strip{background:linear-gradient(90deg,#f4eee3,#edf4f0)!important}
.design-card.card-variant-6 .card-motif-strip,.catalog-card.card-variant-6 .card-motif-strip{background:linear-gradient(90deg,#f8f2e8,#f6ece9)!important}
@media(max-width:420px){
  .card-variant-5,.card-variant-6{border-radius:18px!important}
  .card-variant-5 .design-image,.card-variant-5 .catalog-cover,.card-variant-6 .design-image,.card-variant-6 .catalog-cover{border-radius:17px 17px 0 0!important}
}
