:root{
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #e5e7eb;
  --accent: #1f2937;
  --shadow: 0 10px 30px rgba(0,0,0,0.06);
  --radius: 16px;
  --max: 1100px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Noto Sans Arabic", "Noto Sans", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.7;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.logo{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  font-weight: 900;
}

.nav{
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
}
.nav a{ padding: 8px 10px; border-radius: 12px; }
.nav a:hover{ background: #f3f4f6; text-decoration: none; color: var(--text); }

.menu-mobile{ display: none; }

.hero{
  padding: 56px 0 20px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 22px;
  align-items: start;
}

.h1{
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.6px;
}
.subtitle{
  margin-top: 10px;
  color: var(--muted);
  font-weight: 650;
}
.tagline{
  margin-top: 14px;
  font-size: 18px;
  color: var(--text);
}

.cta-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 750;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.btn.primary{
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn:hover{ text-decoration: none; transform: translateY(-1px); }

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-side{
  padding: 18px;
}
.mini-title{
  margin: 0;
  font-weight: 850;
}
.mini-text{
  margin: 10px 0 0;
  color: var(--muted);
}

.section{
  padding: 36px 0;
}
.section h2{
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.2px;
}
.section p.lead{
  margin: 0 0 16px;
  color: var(--muted);
}

.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.box{
  padding: 16px;
}

.list{
  margin: 0;
  padding: 0;
  list-style: none;
}
.list li{
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.list li:last-child{ border-bottom: none; }

.chips{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip{
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f9fafb;
  color: var(--muted);
  font-weight: 650;
}

.kicker{
  font-size: 13px;
  color: var(--muted);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer{
  border-top: 1px solid var(--border);
  padding: 20px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .nav{ display: none; }
  .menu-mobile{ display: block; }
  details.menu-mobile summary{
    list-style: none;
    cursor: pointer;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    font-weight: 800;
  }
  details.menu-mobile[open] summary{ box-shadow: var(--shadow); }
  .mobile-panel{
    margin-top: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
  }
  .mobile-panel a{
    display: block;
    padding: 12px 12px;
    color: var(--muted);
    font-weight: 750;
    border-bottom: 1px solid var(--border);
  }
  .mobile-panel a:last-child{ border-bottom: none; }
  .mobile-panel a:hover{ background: #f3f4f6; text-decoration: none; color: var(--text); }
}
.meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.hr{
  height:1px;
  background: var(--border);
  border:0;
  margin: 18px 0;
}
.small{
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.profile-photo{
  width: 180px;
  height: 180px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  margin-top: 14px;
}

.profile-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}






/* ===== HOME MOBILE MENU: VISIBLE FIX ===== */
@media (max-width: 900px){

  /* header ro biar ro + rooye hame chi */
  body.home .header{
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    background: #ffffff !important;
  }

  /* link-ha va button-ha ro majbooran visible kon */
  body.home .header *,
  body.home .nav,
  body.home .menu-mobile,
  body.home .menu-mobile summary{
    opacity: 1 !important;
    visibility: visible !important;
    color: #111111 !important;
  }

  /* desktop nav ro hide kon, mobile menu ro show kon */
  body.home .nav{ display: none !important; }
  body.home .menu-mobile{ display: block !important; }

  /* menu button ro “dide shodan”i kon */
  body.home .menu-mobile summary{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 12px !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    background: #fff !important;
    font-weight: 900 !important;
  }

  body.home .menu-mobile summary::-webkit-details-marker{ display:none !important; }
}



body.home .header{ pointer-events: auto !important; }