/* =========================================================
   6. HOMEPAGE - HERO
   ========================================================= */

.zm-hero{
  position:relative;
  min-height:0;
  overflow:hidden;
  border-bottom:1px solid #edf1f8;
  background:
    linear-gradient(
      160deg,
      rgba(248,251,255,.97) 0%,
      rgba(248,251,255,.94) 0%,
      rgba(248,251,255,.44) 45%,
      rgba(18,41,90,.08) 100%
    ),
    url('../images/home-page/home.webp') center center/cover no-repeat;
}

.zm-hero-inner{
  display:flex;
  align-items:center;
  width:min(1280px,calc(100% - 40px));
  min-height:285px;
  margin:0 auto;
  padding:34px 0 30px;
}

.zm-hero-copy{
  max-width:690px;
}

.zm-hero h1{
  margin:0 0 12px;
  color:var(--zh-text);
  font-size:clamp(2.55rem,4vw,4.15rem);
  font-weight:800;
  line-height:1.02;
  letter-spacing:-.03em;
}

html[lang="hu"] .zm-hero h1{
  font-size:clamp(2rem,3vw,3.2rem);
}

.zm-hero-sub{
  margin:0 0 16px;
  color:#20375f;
  font-size:1.08rem;
  font-weight:500;
  line-height:1.5;
  text-shadow:0 1px 2px rgba(255,255,255,.92);
}


/* =========================================================
   7. HOMEPAGE - DOMENII
   ========================================================= */

.zm-domains-top{
  padding:18px 0 22px;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
}

.zm-top-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.zm-top-card{
  display:flex;
  align-items:flex-start;
  gap:16px;
  min-height:140px;
  padding:16px;
  border:1px solid var(--zh-border);
  border-radius:12px;
  background:#fff;
  box-shadow:var(--zh-shadow);
}

.zm-top-card .icon{
  display:flex;
  flex:0 0 78px;
  align-items:center;
  justify-content:center;
  width:78px;
  height:78px;
  overflow:hidden;
  border-radius:12px;
  background:#eef5ff;
}

.zm-top-card .icon img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.zm-top-card h3{
  margin:0 0 5px;
  color:var(--zh-text);
  font-size:1.06rem;
  font-weight:800;
}

.zm-top-card p{
  margin:0 0 9px;
  color:#46546e;
  font-size:.91rem;
  line-height:1.45;
}


/* =========================================================
   8. HOMEPAGE - ZIA QUICK HELP
   ========================================================= */

.zm-zia-strip{
  display:flex;
  align-items:center;
  gap:22px;
  width:min(1280px,calc(100% - 40px));
  margin:26px auto 8px;
  padding:18px 24px;
  border:1px solid #dfe8f6;
  border-radius:14px;
  background:linear-gradient(90deg,#edf5ff 0%,#f8fbff 72%,#edf5ff 100%);
  box-shadow:0 8px 24px rgba(16,35,74,.06);
}

.zm-zia-avatar{
  flex:0 0 100px;
  width:100px;
  height:100px;
  overflow:hidden;
  border-radius:20%;
  box-shadow:0 4px 14px rgba(52,108,212,.18);
}

.zm-zia-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.zm-zia-main{
  flex:1 1 auto;
  min-width:0;
}

.zm-zia-main h2{
  margin:0 0 4px;
  color:var(--zh-text);
  font-size:1.55rem;
  font-weight:800;
}

.zm-zia-main p{
  margin:0 0 10px;
  color:#4d5a72;
  font-size:.94rem;
  line-height:1.45;
}

.zm-zia-chips{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.zm-zia-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 16px;
  border:1px solid #b9cff8;
  border-radius:7px;
  background:#fff;
  color:var(--zh-blue);
  font-size:.9rem;
  font-weight:700;
  box-shadow:0 3px 10px rgba(23,99,230,.05);
  transition:.2s ease;
}

.zm-zia-chip:hover{
  border-color:var(--zh-blue);
  background:#f7fbff;
  transform:translateY(-1px);
}

.zm-zia-chip i{
  font-size:1rem;
}


/* =========================================================
   9. HOMEPAGE - CUM LUCRĂM
   ========================================================= */

.zm-workflow-section{
  padding-top:14px;
  padding-bottom:24px;
}

.zm-workflow-section .zm-sec-title{
  margin-bottom:20px;
}

.zm-workflow-section .zm-sec-title h2{
  margin:0;
  color:var(--zh-text);
  font-size:1.9rem;
  font-weight:800;
  letter-spacing:-.01em;
}

.zm-workflow-section .zm-sec-title h2::after{
  width:48px;
  height:3px;
  margin-top:7px;
}

.zm-steps{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:34px;
  align-items:stretch;
}

.zm-step{
  position:relative;
  display:grid;
  grid-template-columns:48px 1fr;
  column-gap:12px;
  row-gap:6px;
  align-items:start;
  min-height:112px;
  padding:14px;
  border:1px solid var(--zh-border);
  border-radius:11px;
  background:#fff;
  box-shadow:0 6px 18px rgba(16,35,74,.045);
}

.zm-step .num{
  grid-column:1;
  grid-row:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  margin-left:2px;
  border-radius:50%;
  background:var(--zh-blue);
  color:#fff;
  font-size:1rem;
  font-weight:800;
  line-height:1;
  box-shadow:0 4px 10px rgba(23,99,230,.18);
}

.zm-step .sicon{
  grid-column:1;
  grid-row:2;
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
}

.zm-step .sicon img{
  width:36px;
  height:36px;
  object-fit:contain;
}

.zm-step > div:last-child{
  grid-column:2;
  grid-row:1 / span 2;
  padding-top:1px;
}

.zm-step h3{
  margin:0 0 6px;
  color:#1b2d59;
  font-size:.98rem;
  font-weight:800;
  line-height:1.22;
}

.zm-step p{
  margin:0;
  color:#4e5d77;
  font-size:.88rem;
  line-height:1.42;
}

.zm-step:not(:last-child)::after{
  content:"→";
  position:absolute;
  right:-21px;
  top:50%;
  color:#b8c6dd;
  font-size:1.35rem;
  font-weight:600;
  line-height:1;
  transform:translateY(-50%);
}


/* =========================================================
   10. HOMEPAGE - ARTICOLE
   ========================================================= */

.zm-articles{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.zm-article-card{
  overflow:hidden;
  border:1px solid var(--zh-border);
  border-radius:12px;
  background:#fff;
  box-shadow:var(--zh-shadow);
}

.zm-article-image{
  height:170px;
  background-position:center;
  background-size:cover;
}

.zm-article-content{
  padding:16px 18px 18px;
}

.zm-cat{
  display:block;
  margin-bottom:8px;
  color:var(--zh-blue);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.zm-article-card h3{
  margin:0 0 8px;
  color:var(--zh-text);
  font-size:1.28rem;
  font-weight:750;
  line-height:1.28;
}

.zm-article-card p{
  margin:0 0 12px;
  color:#50607a;
  font-size:.94rem;
  line-height:1.52;
}


/* =========================================================
   11. HOMEPAGE - DE CE ZOMOSTAR
   ========================================================= */

.zm-why-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.zm-why-card{
  display:flex;
  align-items:flex-start;
  gap:16px;
  padding:18px;
  border:1px solid var(--zh-border);
  border-radius:12px;
  background:#fff;
  box-shadow:0 8px 20px rgba(19,46,99,.05);
}

.zm-why-card .icon{
  display:flex;
  flex:0 0 58px;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  overflow:hidden;
  border-radius:12px;
  background:#eef5ff;
}

.zm-why-card .icon img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.zm-why-card h3{
  margin:0 0 5px;
  color:var(--zh-text);
  font-size:1.05rem;
  font-weight:750;
}

.zm-why-card p{
  margin:0;
  color:#50607a;
  font-size:.91rem;
  line-height:1.5;
}


/* =========================================================
   12. HOMEPAGE - PARTENERI
   ========================================================= */

.zm-partners{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}

.zm-partner{
  display:flex;
  align-items:center;
  justify-content:center;
  height:82px;
  padding:10px;
  border:1px solid var(--zh-border);
  border-radius:10px;
  background:#fff;
  color:#8a94a7;
  font-weight:800;
  letter-spacing:.02em;
  text-align:center;
  box-shadow:0 5px 14px rgba(19,46,99,.04);
}


/* =========================================================
   13. HOMEPAGE - CTA
   ========================================================= */

.zm-cta-band{
  margin-top:10px;
  margin-bottom:0;
  overflow:hidden;
  border-radius:14px;
  background:
    linear-gradient(90deg,rgba(23,99,230,.96),rgba(10,59,145,.96));
  color:#fff;
}

.zm-cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:28px 30px;
}

.zm-cta-inner h2{
  margin:0 0 6px;
  font-size:2rem;
  font-weight:800;
}

.zm-cta-inner p{
  margin:0;
  color:rgba(255,255,255,.92);
  font-size:1.02rem;
}

.zm-cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.zm-cta-actions .zm-btn{
  min-width:220px;
}

.zm-cta-actions .light{
  border-color:#fff;
  background:#fff;
  color:var(--zh-blue) !important;
}

.zm-cta-actions .ghost{
  border-color:rgba(255,255,255,.55);
  background:transparent;
  color:#fff !important;
}



/* Responsive homepage extras */
@media (max-width:1200px){
  .zm-top-grid,.zm-why-grid,.zm-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
  .zm-step:nth-child(2)::after{display:none;}
  .zm-step:not(:last-child)::after{right:-16px;}
  .zm-partners{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:768px){
  .zm-hero-inner{width:min(100% - 28px,1280px);position:relative;z-index:1;min-height:300px;padding:30px 0 28px;}
  .zm-hero{background-position:71% center;}
  .zm-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(248,251,255,.97) 0%,rgba(248,251,255,.94) 62%,rgba(248,251,255,.78) 100%);}
  .zm-hero-copy{max-width:100%;}.zm-hero h1{font-size:2.5rem;}html[lang="hu"] .zm-hero h1{font-size:clamp(2rem,8vw,2.6rem);}.zm-hero-sub{font-size:.98rem;}
  .zm-top-grid,.zm-articles,.zm-why-grid,.zm-partners,.zm-steps{grid-template-columns:1fr;}
  .zm-top-card{min-height:140px;padding:16px;}.zm-top-card .icon{flex-basis:74px;width:74px;height:74px;}
  .zm-zia-strip{align-items:flex-start;width:min(100% - 28px,1280px);padding:16px;gap:14px;}.zm-zia-avatar{flex-basis:66px;width:66px;height:66px;}.zm-zia-main h2{font-size:1.25rem;}.zm-zia-chip{width:100%;justify-content:flex-start;}
  .zm-workflow-section{padding-top:8px;padding-bottom:20px;}.zm-workflow-section .zm-sec-title{margin-bottom:16px;}.zm-workflow-section .zm-sec-title h2{font-size:1.55rem;}.zm-steps{gap:12px;}.zm-step{min-height:106px;padding:14px 13px;}.zm-step::after{display:none!important;}.zm-step h3{font-size:.95rem;}.zm-step p{font-size:.86rem;}
  .zm-why-card{padding:16px;}.zm-cta-inner{flex-direction:column;align-items:flex-start;padding:24px 18px;}.zm-cta-actions{width:100%;}.zm-cta-actions .zm-btn{width:100%;min-width:0;}
}
