/* ════════════════════════════════════════
   DESIGN TOKENS — LIGHT & DARK
════════════════════════════════════════ */
:root {
  --emerald: #1a6b4a;
  --emerald-light: #2d8f64;
  --emerald-dark: #0f3d2a;
  --emerald-pale: #e8f5ef;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-pale: #fdf8ee;

  --bg-page: #faf8f4;
  --bg-card: #ffffff;
  --bg-secondary: #f4f1eb;
  --bg-nav: rgba(255,255,255,0.95);

  --text-1: #1a1a1a;
  --text-2: #4a4a4a;
  --text-3: #888;

  --border: #e0d8c8;
  --border-focus: #1a6b4a;

  --shadow: 0 4px 32px rgba(26,107,74,0.10);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.06);

  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
}
[data-theme="dark"] {
  --bg-page: #0f1a14;
  --bg-card: #1a2b20;
  --bg-secondary: #152318;
  --bg-nav: rgba(15,26,20,0.97);

  --text-1: #f0ede6;
  --text-2: #b8b4a8;
  --text-3: #6b7c72;

  --border: #2a3d30;
  --border-focus: #2d8f64;

  --shadow: 0 4px 32px rgba(0,0,0,0.4);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.3);

  --cream: #152318;
  --emerald-pale: #1a3328;
  --gold-pale: #2a2212;
}

/* ════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Tajawal',sans-serif;
  background:var(--bg-page);
  color:var(--text-1);
  min-height:100vh;
  overflow-x:hidden;
  transition:background var(--transition),color var(--transition);
}
.view{display:none}
.view.active{display:block}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
nav{
  position:fixed;top:0;left:0;right:0;z-index:200;
  background:var(--bg-nav);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  height:68px;padding:0 1.5rem;
  display:flex;align-items:center;justify-content:space-between;
  transition:background var(--transition),border-color var(--transition);
}
.nav-logo{display:flex;align-items:center;gap:10px;cursor:pointer;text-decoration:none}
.nav-logo-icon{
  width:40px;height:40px;border-radius:10px;
  background:linear-gradient(135deg,var(--emerald),var(--emerald-light));
  display:flex;align-items:center;justify-content:center;font-size:20px;
}
.nav-logo-text{font-family:'Cormorant Garamond',serif;font-size:1.5rem;font-weight:600;color:var(--emerald-dark)}
[data-theme="dark"] .nav-logo-text{color:var(--gold-light)}
.nav-logo-text span{color:var(--gold)}
.nav-links{display:flex;align-items:center;gap:1.2rem}
.nav-links a{font-size:0.88rem;font-weight:500;color:var(--text-2);text-decoration:none;transition:color .2s;cursor:pointer}
.nav-links a:hover{color:var(--emerald)}
.nav-cta{background:var(--emerald);color:white!important;padding:7px 18px;border-radius:8px}
.nav-cta:hover{background:var(--emerald-light)!important}
.nav-right{display:flex;align-items:center;gap:10px}

/* Dark mode toggle */
.dark-toggle{
  width:44px;height:24px;border-radius:12px;
  background:var(--border);border:none;cursor:pointer;
  position:relative;transition:background .3s;flex-shrink:0;
}
.dark-toggle.on{background:var(--emerald)}
.dark-toggle::after{
  content:'';position:absolute;top:3px;left:3px;
  width:18px;height:18px;border-radius:50%;
  background:white;transition:transform .3s;
}
.dark-toggle.on::after{transform:translateX(20px)}

/* Mobile hamburger */
.hamburger{display:none;background:none;border:none;cursor:pointer;font-size:1.4rem;color:var(--text-1)}
@media(max-width:768px){
  .nav-links{display:none}
  .hamburger{display:block}
  .nav-links.open{
    display:flex;flex-direction:column;align-items:flex-start;
    position:fixed;top:68px;left:0;right:0;
    background:var(--bg-card);border-bottom:1px solid var(--border);
    padding:1rem 1.5rem;gap:1rem;z-index:199;
  }
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero{
  min-height:100vh;
  background:var(--emerald-dark);
  position:relative;display:flex;align-items:center;justify-content:center;
  overflow:hidden;padding:80px 2rem 5rem;
}
.hero-pattern{
  position:absolute;inset:0;
  background-image:
    radial-gradient(circle at 20% 50%,rgba(201,168,76,.08) 0%,transparent 50%),
    radial-gradient(circle at 80% 20%,rgba(45,143,100,.12) 0%,transparent 50%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a84c' fill-opacity='0.05'%3E%3Cpath d='M40 0l5 5-5 5-5-5zm0 70l5 5-5 5-5-5zm-35-35l5-5 5 5-5 5zm70 0l5-5 5 5-5 5zM40 20l4 4-4 4-4-4zm0 40l4 4-4 4-4-4zm-20-20l4-4 4 4-4 4zm40 0l4-4 4 4-4 4z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-arch{position:absolute;bottom:-1px;left:0;right:0;height:80px;background:var(--bg-page);clip-path:ellipse(55% 100% at 50% 100%);transition:background var(--transition)}
.hero-content{position:relative;z-index:1;text-align:center;max-width:700px}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(201,168,76,.15);border:1px solid rgba(201,168,76,.3);
  color:var(--gold-light);padding:6px 18px;border-radius:50px;
  font-size:.8rem;font-weight:500;margin-bottom:1.5rem;
  letter-spacing:1px;text-transform:uppercase;
}
.hero-title{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.8rem,7vw,5rem);color:white;font-weight:600;
  line-height:1.1;margin-bottom:.6rem;
}
.hero-title .gold{color:var(--gold-light);font-style:italic}
.hero-tagline{font-size:1.05rem;font-weight:300;color:rgba(255,255,255,.7);margin-bottom:2.5rem}
.hero-tagline em{color:var(--gold-light);font-style:normal}
.hero-cta-group{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.btn-primary{
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  color:var(--emerald-dark);font-family:'Tajawal',sans-serif;
  font-size:.95rem;font-weight:700;padding:13px 28px;
  border-radius:10px;border:none;cursor:pointer;
  box-shadow:0 4px 24px rgba(201,168,76,.4);
  transition:transform .2s,box-shadow .2s;text-decoration:none;display:inline-block;
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 32px rgba(201,168,76,.5)}
.btn-outline{
  background:transparent;color:white;font-family:'Tajawal',sans-serif;
  font-size:.95rem;font-weight:500;padding:13px 28px;
  border-radius:10px;border:1px solid rgba(255,255,255,.3);cursor:pointer;
  transition:background .2s,border-color .2s;text-decoration:none;display:inline-block;
}
.btn-outline:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.6)}
.hero-stats{display:flex;gap:2.5rem;justify-content:center;margin-top:3rem;flex-wrap:wrap}
.hero-stat-num{font-family:'Cormorant Garamond',serif;font-size:2rem;font-weight:600;color:var(--gold-light)}
.hero-stat-label{font-size:.78rem;color:rgba(255,255,255,.5);margin-top:2px;text-align:center}

/* ════════════════════════════════════════
   SECTIONS
════════════════════════════════════════ */
section{padding:5rem 2rem}
.section-title{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(1.8rem,4vw,2.6rem);font-weight:600;
  color:var(--emerald-dark);text-align:center;margin-bottom:.4rem;
}
[data-theme="dark"] .section-title{color:var(--gold-light)}
.section-sub{text-align:center;color:var(--text-3);font-size:.95rem;margin-bottom:2.5rem}
.container{max-width:1150px;margin:0 auto}
.ornament{text-align:center;margin:.5rem 0;color:var(--gold);font-size:1.3rem;letter-spacing:8px;opacity:.7}

/* ════════════════════════════════════════
   VALUES
════════════════════════════════════════ */
.values-section{background:var(--bg-card);transition:background var(--transition)}
.values-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1.2rem}
.value-card{
  background:var(--bg-secondary);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.75rem 1.25rem;text-align:center;
  transition:transform .2s,box-shadow .2s,background var(--transition);
  position:relative;overflow:hidden;
}
.value-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--emerald),var(--gold))}
.value-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.value-icon{width:56px;height:56px;border-radius:14px;background:var(--emerald-pale);display:flex;align-items:center;justify-content:center;font-size:1.6rem;margin:0 auto 1rem}
.value-title{font-weight:700;color:var(--emerald-dark);margin-bottom:.4rem;font-size:1rem}
[data-theme="dark"] .value-title{color:var(--gold-light)}
.value-desc{font-size:.85rem;color:var(--text-2);line-height:1.6}

/* ════════════════════════════════════════
   FILTERS BAR
════════════════════════════════════════ */
.filters-bar{
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.25rem 1.5rem;
  margin-bottom:1.75rem;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.75rem;
  transition:background var(--transition),border-color var(--transition);
}
.filter-group{display:flex;flex-direction:column;gap:4px}
.filter-label{font-size:.75rem;font-weight:700;color:var(--text-3);text-transform:uppercase;letter-spacing:.5px}
.filter-control{
  padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);
  font-family:'Tajawal',sans-serif;font-size:.85rem;color:var(--text-1);
  background:var(--bg-secondary);outline:none;transition:border-color .2s,background var(--transition);
}
.filter-control:focus{border-color:var(--border-focus)}
.filters-actions{display:flex;gap:.5rem;align-items:flex-end}
.btn-filter{
  padding:8px 16px;border-radius:var(--radius-sm);
  font-family:'Tajawal',sans-serif;font-size:.85rem;font-weight:600;
  border:none;cursor:pointer;transition:opacity .2s;
}
.btn-filter-apply{background:var(--emerald);color:white}
.btn-filter-reset{background:var(--bg-secondary);color:var(--text-2);border:1px solid var(--border)}
.btn-filter:hover{opacity:.85}
.results-count{font-size:.85rem;color:var(--text-3);margin-bottom:.75rem}
.results-count strong{color:var(--emerald)}

/* ════════════════════════════════════════
   PROFILE CARDS
════════════════════════════════════════ */
.profiles-section{background:var(--bg-page);transition:background var(--transition)}
.profiles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:1.5rem}
.profile-card{
  background:var(--bg-card);border-radius:var(--radius);
  border:1px solid var(--border);overflow:hidden;
  transition:transform .2s,box-shadow .2s,background var(--transition),border-color var(--transition);
  position:relative;
}
.profile-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.profile-card-img{
  width:100%;height:220px;
  background:linear-gradient(135deg,var(--emerald-pale),var(--gold-pale));
  display:flex;align-items:center;justify-content:center;
  font-size:5rem;position:relative;overflow:hidden;
}
.profile-card-img img{width:100%;height:100%;object-fit:cover}
/* Favorite button */
.fav-btn{
  position:absolute;top:10px;right:10px;
  width:34px;height:34px;border-radius:50%;
  background:rgba(255,255,255,.9);border:none;cursor:pointer;
  font-size:1.1rem;display:flex;align-items:center;justify-content:center;
  transition:transform .2s,background .2s;z-index:5;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.fav-btn:hover{transform:scale(1.15)}
.fav-btn.active{background:#fff0f0}
/* Detail tags */
.profile-tags{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:.75rem}
.tag{
  font-size:.72rem;font-weight:600;padding:3px 9px;border-radius:20px;
  background:var(--emerald-pale);color:var(--emerald);
}
[data-theme="dark"] .tag{background:var(--emerald-pale);color:#6ecfa3}
.tag.gold-tag{background:var(--gold-pale);color:#7a5c10}
[data-theme="dark"] .tag.gold-tag{background:#2a2212;color:var(--gold-light)}
.profile-card-body{padding:1.25rem}
.profile-card-name{font-family:'Cormorant Garamond',serif;font-size:1.3rem;font-weight:600;color:var(--emerald-dark);margin-bottom:3px}
[data-theme="dark"] .profile-card-name{color:var(--gold-light)}
.profile-card-meta{font-size:.8rem;color:var(--text-3);margin-bottom:.6rem}
.profile-card-desc{
  font-size:.86rem;color:var(--text-2);line-height:1.6;margin-bottom:.9rem;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.profile-card-footer{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:.75rem;border-top:1px solid var(--border);
}
.wa-badge{display:flex;align-items:center;gap:5px;font-size:.8rem;font-weight:600}
.wa-badge.pub{color:#25D366}
.wa-badge.priv{color:var(--text-3)}
/* Report button */
.report-btn{
  background:none;border:none;cursor:pointer;
  font-size:.75rem;color:var(--text-3);
  display:flex;align-items:center;gap:4px;padding:4px 8px;
  border-radius:6px;transition:background .2s,color .2s;
}
.report-btn:hover{background:#fee2e2;color:#c53030}
.no-profiles{grid-column:1/-1;text-align:center;padding:4rem;color:var(--text-3)}
.no-profiles .icon{font-size:3rem;margin-bottom:1rem}

/* ════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════ */
.testimonials-section{background:var(--bg-card);transition:background var(--transition)}
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}
.testimonial-card{
  background:var(--bg-secondary);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.75rem;
  position:relative;transition:background var(--transition),border-color var(--transition);
}
.testimonial-card::before{
  content:'"';font-family:'Cormorant Garamond',serif;
  font-size:5rem;color:var(--gold);opacity:.3;
  position:absolute;top:-10px;left:16px;line-height:1;
}
.testimonial-text{font-size:.9rem;color:var(--text-2);line-height:1.8;margin-bottom:1.2rem;font-style:italic}
.testimonial-author{display:flex;align-items:center;gap:10px}
.testimonial-avatar{
  width:44px;height:44px;border-radius:50%;
  background:linear-gradient(135deg,var(--emerald),var(--gold));
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;flex-shrink:0;
}
.testimonial-name{font-weight:700;color:var(--text-1);font-size:.9rem}
.testimonial-city{font-size:.78rem;color:var(--text-3)}
.testimonial-hearts{color:var(--gold);font-size:.85rem;margin-bottom:4px}

/* ════════════════════════════════════════
   FORM VIEW
════════════════════════════════════════ */
.form-view{min-height:100vh;padding-top:90px;background:var(--bg-page);transition:background var(--transition)}
.form-container{max-width:720px;margin:0 auto;padding:2rem}
.form-header{text-align:center;margin-bottom:2rem}
.form-card{
  background:var(--bg-card);border-radius:var(--radius);
  border:1px solid var(--border);padding:2.25rem;
  box-shadow:var(--shadow);transition:background var(--transition),border-color var(--transition);
}
.form-group{margin-bottom:1.3rem}
.form-label{display:block;font-size:.85rem;font-weight:700;color:var(--text-2);margin-bottom:5px}
.form-label .req{color:#e53e3e}
.form-control{
  width:100%;padding:10px 13px;
  border:1.5px solid var(--border);border-radius:var(--radius-sm);
  font-family:'Tajawal',sans-serif;font-size:.92rem;
  color:var(--text-1);background:var(--bg-secondary);
  outline:none;transition:border-color .2s,background var(--transition);
}
.form-control:focus{border-color:var(--border-focus);background:var(--bg-card);box-shadow:0 0 0 3px rgba(26,107,74,.1)}
textarea.form-control{resize:vertical;min-height:90px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-row-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem}
@media(max-width:600px){.form-row,.form-row-3{grid-template-columns:1fr}}
.radio-group{display:flex;gap:1.5rem;margin-top:6px;flex-wrap:wrap}
.radio-option{display:flex;align-items:center;gap:7px;cursor:pointer}
.radio-option input{accent-color:var(--emerald);width:15px;height:15px}
.radio-option span{font-size:.88rem;color:var(--text-2)}
.upload-area{
  border:2px dashed var(--border);border-radius:var(--radius-sm);
  padding:1.75rem;text-align:center;cursor:pointer;
  transition:border-color .2s,background .2s;background:var(--bg-secondary);
}
.upload-area:hover,.upload-area.has-file{border-color:var(--emerald);background:var(--emerald-pale)}
.upload-preview{width:90px;height:90px;object-fit:cover;border-radius:50%;margin:.5rem auto;display:block;border:3px solid var(--emerald)}
.upload-icon{font-size:1.8rem;margin-bottom:6px}
.upload-text{font-size:.82rem;color:var(--text-3)}
.btn-submit{
  width:100%;background:linear-gradient(135deg,var(--emerald),var(--emerald-light));
  color:white;font-family:'Tajawal',sans-serif;font-size:1rem;font-weight:700;
  padding:13px;border-radius:10px;border:none;cursor:pointer;
  box-shadow:0 4px 24px rgba(26,107,74,.3);
  transition:transform .2s,box-shadow .2s;margin-top:.5rem;
}
.btn-submit:hover{transform:translateY(-2px);box-shadow:0 8px 32px rgba(26,107,74,.4)}
.form-section-title{
  font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;
  color:var(--emerald);margin:1.5rem 0 .75rem;
  padding-bottom:.4rem;border-bottom:2px solid var(--emerald-pale);
}
.form-success{text-align:center;padding:3rem;display:none}
.form-success .check{font-size:4rem;margin-bottom:1rem}
.form-success h3{font-family:'Cormorant Garamond',serif;font-size:1.8rem;color:var(--emerald-dark)}
[data-theme="dark"] .form-success h3{color:var(--gold-light)}
.form-success p{color:var(--text-2);margin-top:.5rem}

/* ════════════════════════════════════════
   FAVORITES VIEW
════════════════════════════════════════ */
.favs-view{min-height:100vh;padding:90px 2rem 4rem;background:var(--bg-page);transition:background var(--transition)}
.favs-container{max-width:1150px;margin:0 auto}

/* ════════════════════════════════════════
   MODAL (report / profile detail)
════════════════════════════════════════ */
.modal-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.55);
  z-index:500;display:none;align-items:center;justify-content:center;
  padding:1rem;
}
.modal-overlay.open{display:flex}
.modal{
  background:var(--bg-card);border-radius:var(--radius);
  padding:2rem;width:100%;max-width:480px;
  box-shadow:0 20px 60px rgba(0,0,0,.3);
  position:relative;transition:background var(--transition);
}
.modal-close{
  position:absolute;top:14px;right:14px;
  background:var(--bg-secondary);border:none;cursor:pointer;
  width:30px;height:30px;border-radius:50%;
  font-size:1rem;color:var(--text-2);
  display:flex;align-items:center;justify-content:center;
}
.modal-close:hover{background:var(--border)}
.modal-title{font-family:'Cormorant Garamond',serif;font-size:1.4rem;font-weight:600;color:var(--emerald-dark);margin-bottom:1rem}
[data-theme="dark"] .modal-title{color:var(--gold-light)}
.report-options{display:flex;flex-direction:column;gap:.6rem;margin-bottom:1.2rem}
.report-option{
  display:flex;align-items:center;gap:10px;
  padding:.75rem 1rem;border-radius:var(--radius-sm);
  border:1.5px solid var(--border);cursor:pointer;
  transition:border-color .2s,background .2s;
}
.report-option:hover,.report-option.selected{border-color:var(--emerald);background:var(--emerald-pale)}
.report-option input{accent-color:var(--emerald)}
.report-option span{font-size:.88rem;color:var(--text-2)}

/* ════════════════════════════════════════
   ADMIN
════════════════════════════════════════ */
.admin-view{min-height:100vh;background:#f0f2f5;transition:background var(--transition)}
[data-theme="dark"] .admin-view{background:#0c1510}
.admin-login{
  min-height:100vh;display:flex;align-items:center;justify-content:center;
  background:var(--emerald-dark);padding:2rem;
}
.admin-login-card{
  background:var(--bg-card);border-radius:var(--radius);
  padding:2.5rem;width:100%;max-width:400px;
  box-shadow:0 20px 60px rgba(0,0,0,.3);
  transition:background var(--transition);
}
.admin-header{
  background:var(--emerald-dark);color:white;
  padding:0 1.5rem;height:62px;
  display:flex;align-items:center;justify-content:space-between;
  position:sticky;top:0;z-index:50;
}
.admin-header-logo{font-family:'Cormorant Garamond',serif;font-size:1.35rem;color:var(--gold-light)}
.admin-body{padding:1.5rem;max-width:1200px;margin:0 auto}
.stats-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin-bottom:1.75rem}
.stat-card{
  background:var(--bg-card);border-radius:var(--radius-sm);
  padding:1.1rem 1.25rem;border-left:4px solid var(--emerald);
  box-shadow:var(--shadow-card);transition:background var(--transition);
}
.stat-card.gold{border-left-color:var(--gold)}
.stat-card.red{border-left-color:#e53e3e}
.stat-card.blue{border-left-color:#4299e1}
.stat-card.purple{border-left-color:#805ad5}
.stat-num{font-size:1.9rem;font-weight:700;color:var(--emerald-dark)}
[data-theme="dark"] .stat-num{color:var(--gold-light)}
.stat-label{font-size:.78rem;color:var(--text-3);margin-top:2px}
.admin-table-wrap{
  background:var(--bg-card);border-radius:var(--radius);
  box-shadow:var(--shadow-card);overflow:hidden;
  transition:background var(--transition);
}
.admin-table-header{
  padding:1.1rem 1.25rem;
  display:flex;align-items:center;justify-content:space-between;
  border-bottom:1px solid var(--border);
}
.admin-table-title{font-weight:700;color:var(--text-1);font-size:1rem}
table{width:100%;border-collapse:collapse}
th{
  background:var(--bg-secondary);text-align:left;
  padding:9px 14px;font-size:.75rem;
  font-weight:700;color:var(--text-3);
  text-transform:uppercase;letter-spacing:.5px;
  border-bottom:1px solid var(--border);
}
td{
  padding:11px 14px;border-bottom:1px solid var(--border);
  font-size:.85rem;color:var(--text-1);vertical-align:middle;
}
tr:last-child td{border-bottom:none}
tr:hover td{background:var(--bg-secondary)}
.admin-profile-cell{display:flex;align-items:center;gap:10px}
.admin-avatar{
  width:42px;height:42px;border-radius:10px;
  object-fit:cover;background:var(--emerald-pale);
  display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;flex-shrink:0;overflow:hidden;
}
.admin-avatar img{width:100%;height:100%;object-fit:cover}
.admin-name{font-weight:600;color:var(--emerald-dark);font-size:.88rem}
[data-theme="dark"] .admin-name{color:var(--gold-light)}
.admin-sub{font-size:.75rem;color:var(--text-3)}
.badge{display:inline-block;padding:3px 9px;border-radius:20px;font-size:.72rem;font-weight:600}
.badge-pending{background:#fef3c7;color:#92400e}
.badge-validated{background:var(--emerald-pale);color:var(--emerald)}
.badge-pub{background:#dcfce7;color:#166534}
.badge-priv{background:#f1f5f9;color:#64748b}
.badge-reported{background:#fee2e2;color:#c53030}
.admin-desc{max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text-2)}
.btn-action{
  padding:5px 11px;border-radius:6px;font-size:.75rem;font-weight:600;
  border:none;cursor:pointer;transition:opacity .2s;
}
.btn-action:hover{opacity:.8}
.btn-val{background:var(--emerald);color:white}
.btn-inval{background:var(--bg-secondary);color:var(--text-2);border:1px solid var(--border)}
.btn-del{background:#fee2e2;color:#c53030}
.action-cell{display:flex;gap:4px;flex-wrap:wrap}
.btn-logout{
  background:rgba(255,255,255,.1);color:white;
  border:1px solid rgba(255,255,255,.2);padding:6px 14px;
  border-radius:8px;font-size:.82rem;cursor:pointer;transition:background .2s;
}
.btn-logout:hover{background:rgba(255,255,255,.2)}
.empty-state{text-align:center;padding:3rem;color:var(--text-3)}

/* ════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════ */
.hiw-section{background:var(--bg-card);transition:background var(--transition)}
.hiw-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-top:1rem}
.hiw-step{text-align:center;padding:1.5rem}
.hiw-num{
  width:52px;height:52px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;font-weight:700;margin:0 auto 1rem;
}
.hiw-title{color:var(--text-1);font-weight:700;margin-bottom:.4rem}
.hiw-desc{font-size:.83rem;color:var(--text-2);line-height:1.6}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer{
  background:var(--emerald-dark);color:rgba(255,255,255,.7);padding:3rem 2rem;
}
.footer-inner{
  max-width:1150px;margin:0 auto;
  display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem;
}
@media(max-width:768px){.footer-inner{grid-template-columns:1fr}}
.footer-brand h3{font-family:'Cormorant Garamond',serif;font-size:1.7rem;color:var(--gold-light);margin-bottom:.5rem}
.footer-brand p{font-size:.83rem;line-height:1.7}
.footer-col h4{color:white;font-size:.85rem;font-weight:700;margin-bottom:.9rem;text-transform:uppercase;letter-spacing:1px}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:.4rem;font-size:.83rem}
.footer-col a{color:rgba(255,255,255,.55);text-decoration:none;transition:color .2s;cursor:pointer}
.footer-col a:hover{color:var(--gold-light)}
.footer-bottom{max-width:1150px;margin:1.5rem auto 0;padding-top:1.25rem;border-top:1px solid rgba(255,255,255,.1);text-align:center;font-size:.77rem}
.social-links{display:flex;gap:10px;margin-top:.75rem}
.social-link{
  width:34px;height:34px;border-radius:8px;
  background:rgba(255,255,255,.1);
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;cursor:pointer;transition:background .2s;text-decoration:none;
}
.social-link:hover{background:var(--gold)}

/* ════════════════════════════════════════
   TOAST
════════════════════════════════════════ */
.toast{
  position:fixed;bottom:1.5rem;right:1.5rem;z-index:999;
  background:var(--emerald-dark);color:white;
  padding:.9rem 1.25rem;border-radius:12px;
  box-shadow:0 8px 32px rgba(0,0,0,.3);font-size:.88rem;font-weight:500;
  transform:translateY(100px);opacity:0;
  transition:transform .3s,opacity .3s;
  display:flex;align-items:center;gap:8px;min-width:220px;
}
.toast.show{transform:translateY(0);opacity:1}
.toast.err{background:#c53030}
.toast.info{background:#2b6cb0}

/* ════════════════════════════════════════
   UTILS
════════════════════════════════════════ */
.stars{color:var(--gold);font-size:.9rem}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
════════════════════════════════════════ */

/* ── Hero deux colonnes → colonne unique sur mobile ── */
@media(max-width:900px){
  .hero{
    flex-direction:column !important;
    min-height:auto !important;
    padding:90px 0 0 !important;
    align-items:stretch !important;
  }
  /* Colonne gauche */
  .hero > div:first-of-type {
    padding:2.5rem 1.5rem 2rem !important;
  }
  /* Séparateur vertical → horizontal */
  .hero > div[style*="width:1px"]{
    width:auto !important;
    height:1px !important;
    align-self:auto !important;
    margin:0 1.5rem !important;
  }
  /* Colonne Fatiha */
  .hero > div:last-of-type {
    padding:2rem 1.5rem 3.5rem !important;
    border-top:1px solid rgba(255,255,255,.12);
  }
  .hero-arch{ height:50px }
}

/* ── Nav mobile amélioré ── */
@media(max-width:768px){
  nav{ height:60px; padding:0 1rem }
  .nav-logo-text{ font-size:1.25rem }
  .nav-links.open{
    top:60px;
    padding:1.25rem 1rem;
    gap:.6rem;
    box-shadow:0 8px 24px rgba(0,0,0,.1);
  }
  .nav-links.open a{
    width:100%; padding:.65rem .75rem;
    border-radius:8px;
    font-size:.92rem;
  }
  .nav-links.open a:hover{ background:var(--emerald-pale) }
  .nav-cta{ text-align:center }
  #lang-select{ font-size:.8rem; padding:4px 6px }
}

/* ── Sections padding ── */
@media(max-width:768px){
  section{ padding:3rem 1.25rem }
  .container{ padding:0 }
  .section-title{ font-size:clamp(1.5rem,6vw,2rem) }
  .section-sub{ font-size:.88rem }
}

/* ── Profile cards — 1 colonne sur très petit écran ── */
@media(max-width:480px){
  .profiles-grid{
    grid-template-columns:1fr;
    gap:1rem;
  }
  .profile-card-img{ height:200px }
  .profile-card-body{ padding:1rem }
  .profile-card-name{ font-size:1.1rem }
}
@media(min-width:481px) and (max-width:768px){
  .profiles-grid{ grid-template-columns:repeat(2,1fr); gap:1rem }
}

/* ── Filtres — défilement horizontal sur mobile ── */
@media(max-width:768px){
  .filters-bar{
    display:flex;
    overflow-x:auto;
    gap:.75rem;
    padding:1rem;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .filters-bar::-webkit-scrollbar{ display:none }
  .filter-group{
    min-width:140px;
    scroll-snap-align:start;
    flex-shrink:0;
  }
  .filters-actions{ flex-shrink:0 }
}

/* ── Values grid ── */
@media(max-width:600px){
  .values-grid{ grid-template-columns:repeat(2,1fr); gap:.75rem }
  .value-card{ padding:1.25rem .9rem }
  .value-icon{ width:44px; height:44px; font-size:1.3rem }
}

/* ── Testimonials ── */
@media(max-width:600px){
  .testimonials-grid{ grid-template-columns:1fr }
}

/* ── How it works ── */
@media(max-width:600px){
  .hiw-grid{ grid-template-columns:repeat(2,1fr); gap:1rem }
  .hiw-step{ padding:1rem .5rem }
}

/* ── Form ── */
@media(max-width:600px){
  .form-container{ padding:1rem }
  .form-card{ padding:1.25rem 1rem }
  .form-row, .form-row-3{ grid-template-columns:1fr }
  .btn-submit{ font-size:.95rem; padding:12px }
}

/* ── Boutons CTA hero ── */
@media(max-width:480px){
  .hero-cta-group{ flex-direction:column; align-items:center; gap:.75rem }
  .btn-primary, .btn-outline{ width:100%; max-width:300px; text-align:center; padding:14px 20px }
  .hero-stats{ gap:1.5rem }
  .hero-stat-num{ font-size:1.6rem }
}

/* ── Toast mobile ── */
@media(max-width:480px){
  .toast{
    left:1rem; right:1rem; bottom:1rem;
    min-width:auto; font-size:.85rem;
  }
}

/* ── Modal ── */
@media(max-width:480px){
  .modal{ padding:1.5rem 1.25rem; border-radius:12px }
  .modal-title{ font-size:1.2rem }
}

/* ── Profil page ── */
@media(max-width:600px){
  .form-view > div > div[style*="max-width:720px"]{
    padding:0 .75rem !important;
  }
}

/* ── Footer ── */
@media(max-width:600px){
  footer{ padding:2rem 1.25rem }
  .footer-bottom{ font-size:.72rem }
}

/* ── Admin sidebar ── */
@media(max-width:768px){
  .adm-sidebar{ display:none }
  .adm-main{ padding:1rem }
  .stats-grid{ grid-template-columns:repeat(2,1fr) }
  .tbl th, .tbl td{ padding:.55rem .6rem; font-size:.75rem }
}

/* ── Touch — cibles minimales 44px ── */
@media(max-width:768px){
  .fav-btn{ width:40px; height:40px; font-size:1.2rem }
  .report-btn{ padding:8px 10px }
  .btn-filter{ padding:10px 14px }
  select.filter-control,
  input.filter-control{ min-height:42px }
  .form-control{ min-height:44px; font-size:.95rem }
  .dark-toggle{ width:48px; height:28px }
  .dark-toggle::after{ width:22px; height:22px }
  .dark-toggle.on::after{ transform:translateX(20px) }
}

/* ── Scroll fluide iOS ── */
* { -webkit-tap-highlight-color:transparent }
input, select, textarea, button { touch-action:manipulation }

/* ── Safe area (notch iPhone) ── */
@supports(padding:max(0px)){
  nav{ padding-left:max(1rem,env(safe-area-inset-left)); padding-right:max(1rem,env(safe-area-inset-right)) }
  .toast{ bottom:max(1.5rem,env(safe-area-inset-bottom)) }
}