/* Landing tidy (hamoon_page_builder). JS adds .hmc-landing-tidy */

.hmc-landing-pending .hamoon-builder-root section#coverage,
.hmc-landing-pending .hamoon-builder-root section#contact,
.hmc-landing-pending .hamoon-builder-root .challenge,
.hmc-landing-pending .hamoon-builder-root .hero-badges,
.hmc-landing-pending .hamoon-builder-root .hero-stats{visibility:hidden;max-height:0;overflow:hidden;margin:0!important;padding:0!important;border:0!important}

.hmc-landing-tidy .hmc-landing-map,
.hmc-landing-tidy #about,
.hmc-landing-tidy #contact{
  visibility:visible!important;max-height:none!important;overflow:visible;opacity:1;
}

.hmc-landing-tidy .hero-badges,
.hmc-landing-tidy .hero-stats{display:none!important}

.hmc-landing-tidy a.btn.primary,
.hmc-landing-tidy a.btn.primary:visited,
.hmc-landing-tidy .nav-cta,
.hmc-landing-tidy .mobile-cta a.btn.primary{color:var(--on-dark,#fff)!important}

/* —— hero title: near original scale (was over-shrunk) —— */
.hmc-landing-tidy .hero-copy h1{
  font-size:clamp(2.55rem,4.8vw,4.35rem)!important;
  line-height:1.18!important;
  letter-spacing:-.025em;
  max-width:16em;
}

/* —— map card: soft coverage map —— */
.hmc-landing-tidy .hmc-landing-map{
  min-height:0;padding:16px 14px 12px;display:flex;flex-direction:column;gap:8px;
  border-radius:26px;background:var(--surface)!important;
  border:1px solid color-mix(in srgb,var(--line) 88%,transparent);
  box-shadow:0 14px 34px rgba(49,41,99,.05);
}
.hmc-landing-tidy .hmc-landing-map-head{display:none!important}
.hmc-landing-tidy .hmc-landing-map-ostan{
  --hm-pad:0;flex:1;display:flex;flex-direction:column;gap:8px;min-height:0;justify-content:center;
}
.hmc-landing-tidy .hmc-landing-map-ostan .map-card{
  margin:0;padding:8px 4px 4px;border-radius:0;border:0;
  background:transparent;box-shadow:none;overflow:visible;width:100%;max-width:none;flex:none;
}
.hmc-landing-tidy .hmc-landing-map-ostan .map-card:before{display:none}
.hmc-landing-tidy .hmc-landing-map-ostan .map-stage{
  max-height:300px;min-height:0!important;height:auto!important;padding:0;border-radius:0;background:transparent;
  aspect-ratio:663.3/600.5;width:100%;margin:0 auto;overflow:visible;
}
.hmc-landing-tidy .hmc-landing-map-ostan .iran{
  max-height:300px;height:auto;width:100%;display:block;overflow:visible;
  filter:drop-shadow(0 10px 24px rgba(49,41,99,.07));
}
.hmc-landing-tidy .hmc-landing-map-ostan .map-legend{display:none!important}
.hmc-landing-tidy .hmc-map-cities{display:none!important}

/* soft province fills (not neon) */
.hmc-landing-tidy .hmc-landing-map-ostan .m-base path{
  fill:#ebe8f4!important;stroke:#fff!important;stroke-width:1.4!important;
}
.hmc-landing-tidy .hmc-landing-map-ostan .m-cov{cursor:pointer}
.hmc-landing-tidy .hmc-landing-map-ostan .m-cov path{
  stroke:#fff!important;stroke-width:1.5!important;
  transition:fill .2s ease,filter .2s ease,opacity .2s ease;
}
.hmc-landing-tidy .hmc-landing-map-ostan .m-cov.is-active path{
  fill:#9fd9be!important;filter:none;
}
.hmc-landing-tidy .hmc-landing-map-ostan .m-cov.is-pilot path{
  fill:#ffd18a!important;filter:none;
}
.hmc-landing-tidy .hmc-landing-map-ostan .m-cov.is-soon path{
  fill:url(#m-hatch)!important;filter:none;
}
.hmc-landing-tidy .hmc-landing-map-ostan .m-dot{
  display:block!important;fill:#fff!important;stroke:#6b63a8!important;stroke-width:1.4!important;
}

/* tiny soft name pills above cities */
.hmc-landing-tidy .hmc-landing-map-ostan .map-label{
  display:block!important;
  --dy:10px;
  padding:3px 8px!important;margin:0;border:0;
  border-radius:999px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 4px 12px rgba(39,29,96,.1)!important;
  pointer-events:none;white-space:nowrap;
  font-size:.66rem!important;font-weight:800!important;line-height:1.35!important;
  letter-spacing:-.01em;color:#3a3560!important;
  text-shadow:none!important;
  transform:translate(-50%,calc(-100% - var(--dy)))!important;
}
.hmc-landing-tidy .hmc-landing-map-ostan .map-label:after{
  display:block!important;content:"";position:absolute;left:50%;top:100%;
  transform:translateX(-50%);border:4px solid transparent;border-top-color:rgba(255,255,255,.92);
}
.hmc-landing-tidy .hmc-landing-map-ostan .map-label.is-main,
.hmc-landing-tidy .hmc-landing-map-ostan .map-label.is-below,
.hmc-landing-tidy .hmc-landing-map-ostan .map-label.is-start,
.hmc-landing-tidy .hmc-landing-map-ostan .map-label.is-end{
  padding:3px 8px!important;font-size:.66rem!important;font-weight:800!important;
  border-radius:999px!important;
}
.hmc-landing-tidy .hmc-landing-map-ostan .map-label.is-below{
  transform:translate(-50%,var(--dy))!important;
}
.hmc-landing-tidy .hmc-landing-map-ostan .map-label.is-below:after{
  top:auto;bottom:100%;border-top-color:transparent;border-bottom-color:rgba(255,255,255,.92);
}
.hmc-landing-tidy .hmc-landing-map-ostan .map-label.is-start{
  transform:translate(-14px,calc(-100% - var(--dy)))!important;
}
.hmc-landing-tidy .hmc-landing-map-ostan .map-label.is-end{
  transform:translate(calc(-100% + 14px),calc(-100% - var(--dy)))!important;
}

.hmc-landing-tidy .hmc-map-keys{
  display:flex;align-items:center;justify-content:center;gap:4px 14px;flex-wrap:wrap;
  margin:2px 0 0;padding:8px 0 0;
  border-top:1px solid color-mix(in srgb,var(--line) 80%,transparent);
  font-size:.7rem;font-weight:700;color:var(--muted);
}
.hmc-landing-tidy .hmc-map-keys i{
  width:10px;height:10px;border-radius:3px;display:inline-block;flex:none;
}
.hmc-landing-tidy .hmc-map-keys i.is-active{background:#9fd9be}
.hmc-landing-tidy .hmc-map-keys i.is-pilot{background:#ffd18a}
.hmc-landing-tidy .hmc-map-keys i.is-soon{
  background:repeating-linear-gradient(45deg,#d3cbf7 0 2px,#efecfd 2px 5px);
}
.hmc-landing-tidy .hmc-landing-map-hint{
  margin:0;padding:0;text-align:center;border:0;background:transparent;
  font-size:.72rem;line-height:1.5;color:var(--muted);font-weight:650;
}
@media (hover:hover) and (pointer:fine){
  .hmc-landing-tidy .hmc-landing-map-ostan .m-cov:hover path{
    filter:brightness(1.04);stroke-width:2!important;
  }
  .hmc-landing-tidy .hmc-landing-map-ostan .m-base path:hover{fill:#ddd8ec!important}
}
.hmc-landing-tidy .hmc-landing-map-ostan .m-cov:focus-visible path{
  stroke:#5b43da!important;stroke-width:2.2!important;
}

.hmc-landing-tidy .eco-grid{align-items:stretch}
.hmc-landing-tidy .eco-grid .market,
.hmc-landing-tidy .eco-grid .hmc-landing-map{min-height:0}

/* —— landing footer —— */
.hmc-landing-tidy .hamoon-integrated-footer{
  padding:48px 0 36px;margin-top:8px;
}
.hmc-landing-tidy .integrated-footer-card,
.hmc-landing-tidy.hmc-footer-tidy .integrated-footer-card,
.hmc-landing-tidy .hmc-footer-tidy .integrated-footer-card{
  border-radius:28px;overflow:hidden;
  background:linear-gradient(165deg,#ffffff 0%,#f7f5fc 100%);
  border:1px solid color-mix(in srgb,var(--line) 80%,transparent);
  box-shadow:0 18px 48px rgba(49,41,99,.06);
}
.hmc-landing-tidy .integrated-footer-main{
  display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:36px 28px;
  padding:34px 34px 28px;align-items:start;
}
.hmc-landing-tidy .integrated-footer-brand{
  display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);
}
.hmc-landing-tidy .integrated-footer-brand b,
.hmc-landing-tidy .integrated-footer-brand span:last-child{
  font-size:1.15rem;font-weight:900;letter-spacing:-.02em;
}
.hmc-landing-tidy .integrated-footer-brand .mark{
  width:42px;height:42px;border-radius:14px;
}
.hmc-landing-tidy .integrated-footer-about p{
  margin:12px 0 0;max-width:22rem;font-size:.88rem;line-height:1.9;color:var(--muted);font-weight:600;
}
.hmc-landing-tidy .integrated-footer-links h3,
.hmc-landing-tidy .integrated-footer-contact h3{
  margin:0 0 14px;font-size:.84rem;font-weight:850;color:var(--ink);
  letter-spacing:-.01em;
}
.hmc-landing-tidy .integrated-footer-links>div,
.hmc-landing-tidy .integrated-footer-contact-links{
  display:flex;flex-direction:column;gap:2px;
}
.hmc-landing-tidy .integrated-footer-links a,
.hmc-landing-tidy .integrated-footer-contact-links a{
  display:block;padding:8px 0;font-size:.88rem;font-weight:650;line-height:1.5;
  color:var(--muted);text-decoration:none;transition:color .18s,transform .18s;
}
.hmc-landing-tidy .integrated-footer-bottom{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 34px;border-top:1px solid color-mix(in srgb,var(--line) 88%,transparent);
  font-size:.8rem;font-weight:650;color:var(--muted);background:rgba(255,255,255,.45);
}
.hmc-landing-tidy .integrated-footer-bottom a{
  color:var(--muted);text-decoration:none;font-weight:750;transition:color .18s;
}
@media (hover:hover) and (pointer:fine){
  .hmc-landing-tidy .integrated-footer-links a:hover,
  .hmc-landing-tidy .integrated-footer-contact-links a:hover,
  .hmc-landing-tidy .integrated-footer-bottom a:hover{color:var(--pd);transform:translateX(-2px)}
  .hmc-landing-tidy .integrated-footer-brand:hover{color:var(--pd)}
}
@media (max-width:900px){
  .hmc-landing-tidy .integrated-footer-main{
    grid-template-columns:1fr 1fr;gap:24px 18px;padding:26px 22px 20px;
  }
  .hmc-landing-tidy .integrated-footer-about{grid-column:1/-1}
  .hmc-landing-tidy .integrated-footer-bottom{padding:14px 22px}
}

/* —— whole-landing mobile —— */
html.hmc-landing-html{scrollbar-gutter:stable;overflow-y:scroll}
.hmc-landing-tidy{overflow-x:clip;max-width:100%}
html.hmc-landing-html body{overflow-x:clip}
.hmc-landing-tidy .container{width:min(100% - 28px,var(--max))!important}
.hmc-landing-tidy img,.hmc-landing-tidy svg,.hmc-landing-tidy video{max-width:100%}
.hmc-landing-tidy .market,
.hmc-landing-tidy .hmc-landing-map,
.hmc-landing-tidy .smart-card,
.hmc-landing-tidy .guide-step{min-width:0}

@media (max-width:980px){
  .hmc-landing-tidy .hero-showcase{min-height:0!important;gap:18px!important}
  .hmc-landing-tidy .product-visual{max-width:100%;margin-inline:auto}
  .hmc-landing-tidy .phone-float{max-width:min(100%,300px);margin-inline:auto}
  .hmc-landing-tidy .smart-grid{
    display:grid!important;grid-template-columns:1fr!important;gap:12px!important;
    overflow:visible!important;scroll-snap-type:none!important;margin:0!important;padding:0!important;
  }
  .hmc-landing-tidy .smart-card{
    flex:none!important;width:100%!important;min-width:0!important;min-height:0!important;
    padding:18px!important;scroll-snap-align:none!important;
  }
  .hmc-landing-tidy .guide-grid{grid-template-columns:1fr!important;gap:10px!important}
  .hmc-landing-tidy .eco-grid{grid-template-columns:1fr!important;gap:14px!important}
  .hmc-landing-tidy .market,
  .hmc-landing-tidy .hmc-landing-map{min-height:0!important;padding:16px 14px!important;overflow:hidden}
  .hmc-landing-tidy .market-top{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;gap:10px!important;margin-bottom:14px!important;
  }
  .hmc-landing-tidy .market-top > div{width:100%}
  .hmc-landing-tidy .market-top .more{
    align-self:flex-start!important;margin:0!important;padding:8px 0;font-weight:800;
  }
  .hmc-landing-tidy .market-list{
    display:grid!important;grid-template-columns:1fr!important;gap:10px!important;
    overflow:visible!important;scroll-snap-type:none!important;margin:0!important;padding:0!important;
  }
  .hmc-landing-tidy .market-list .coupon{
    flex:none!important;width:100%!important;min-width:0!important;
    scroll-snap-align:none!important;box-sizing:border-box;
  }
  .hmc-landing-tidy .head{flex-direction:column;align-items:flex-start!important;gap:10px!important}
  .hmc-landing-tidy .head .more{align-self:flex-start}
  .hmc-landing-tidy .section{padding-top:40px!important;padding-bottom:8px!important}
  .hmc-landing-tidy .hmc-landing-map-ostan .map-stage{max-height:320px;min-height:0!important}
  .hmc-landing-tidy .hmc-landing-map-ostan .iran{max-height:320px}
}

@media (max-width:640px){
  .hmc-landing-tidy .nav{min-height:56px!important}
  .hmc-landing-tidy .hero{padding-top:10px!important;padding-bottom:4px!important}
  .hmc-landing-tidy .hero-showcase:before{opacity:.3!important}
  .hmc-landing-tidy .hero-copy{padding:22px 18px 8px!important}
  .hmc-landing-tidy .hero-copy h1{font-size:clamp(2.15rem,8.2vw,2.85rem)!important;line-height:1.22!important;max-width:none}
  .hmc-landing-tidy .hero-copy>p{font-size:.9rem!important;line-height:1.7!important;margin-top:12px!important}
  .hmc-landing-tidy .hero-actions{flex-direction:column;align-items:stretch!important;width:100%;gap:10px!important}
  .hmc-landing-tidy .hero-actions .btn,
  .hmc-landing-tidy .hero-actions .text-link{width:100%;justify-content:center;text-align:center;min-height:46px}
  .hmc-landing-tidy .hero-actions .text-link{padding:10px 12px}
  .hmc-landing-tidy .hero-trust{
    display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
    align-items:center!important;justify-content:center!important;
    gap:0!important;margin-top:12px!important;padding:0 2px;
    font-size:.68rem!important;font-weight:700!important;color:var(--muted)!important;
    width:100%;
  }
  .hmc-landing-tidy .hero-trust span{
    display:inline-flex!important;align-items:center;gap:4px;
    padding:0 8px;white-space:nowrap;line-height:1.2;
    border-left:1px solid color-mix(in srgb,var(--line) 90%,transparent);
  }
  .hmc-landing-tidy .hero-trust span:last-child{border-left:0;padding-left:0}
  .hmc-landing-tidy .hero-trust span:first-child{padding-right:0}
  .hmc-landing-tidy .hero-trust i{
    width:14px!important;height:14px!important;font-size:.65rem!important;
    background:color-mix(in srgb,var(--green) 12%,transparent)!important;
  }
  .hmc-landing-tidy .app-window,
  .hmc-landing-tidy .window-content{min-width:0;overflow:hidden}
  .hmc-landing-tidy .product-visual{overflow:hidden;border-radius:22px}
  .hmc-landing-tidy .coupon{
    grid-template-columns:48px 1fr!important;gap:10px!important;padding:12px!important;
    align-items:center!important;
  }
  .hmc-landing-tidy .coupon h3{font-size:.95rem!important;line-height:1.45!important}
  .hmc-landing-tidy .coupon p{font-size:.78rem!important}
  .hmc-landing-tidy .coupon .price{font-size:.82rem!important}
  .hmc-landing-tidy .coupon-visual{width:48px!important;height:48px!important;font-size:1.35rem!important}
  .hmc-landing-tidy .download-box{
    flex-direction:column!important;align-items:stretch!important;gap:16px!important;
    padding:20px 16px!important;text-align:right!important;
  }
  .hmc-landing-tidy .download-box h2{font-size:clamp(1.25rem,5.5vw,1.55rem)!important;line-height:1.4!important}
  .hmc-landing-tidy .download-box p{font-size:.86rem!important;margin-top:6px!important}
  .hmc-landing-tidy .store-row{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    width:100%!important;gap:10px!important;margin:0!important;
  }
  .hmc-landing-tidy .store-row .btn{
    width:100%!important;min-height:48px!important;justify-content:center!important;
    box-sizing:border-box;
  }
  .hmc-landing-tidy .hmc-landing-map{
    padding:14px 12px 12px!important;border-radius:22px!important;
  }
  .hmc-landing-tidy .hmc-landing-map-ostan .map-card{
    padding:4px 0 0!important;border:0!important;background:transparent!important;
  }
  .hmc-landing-tidy .hmc-landing-map-ostan .map-stage{
    max-height:none!important;min-height:0!important;width:100%!important;
  }
  .hmc-landing-tidy .hmc-landing-map-ostan .iran{
    max-height:none!important;width:100%!important;
    filter:drop-shadow(0 8px 20px rgba(49,41,99,.08));
  }
  .hmc-landing-tidy .hmc-landing-map-ostan .map-label{
    font-size:.7rem!important;padding:4px 9px!important;
  }
  .hmc-landing-tidy .hmc-map-keys{
    gap:6px 12px;font-size:.68rem;
  }
  .hmc-landing-tidy .hmc-landing-map-hint{font-size:.7rem;margin-top:0}
  .hmc-landing-tidy .guide-step{padding:16px!important}
  .hmc-landing-tidy .hamoon-integrated-footer{
    padding:22px 0 calc(84px + env(safe-area-inset-bottom,0px))!important;
  }
  .hmc-landing-tidy .integrated-footer-card{
    border-radius:22px!important;overflow:hidden;width:100%;
  }
  .hmc-landing-tidy .integrated-footer-main{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:18px 16px!important;
    padding:20px 18px 14px!important;
    align-items:start!important;
  }
  .hmc-landing-tidy .integrated-footer-about{
    grid-column:1/-1!important;max-width:none!important;width:100%;padding:0!important;
  }
  .hmc-landing-tidy .integrated-footer-brand{
    min-height:0;align-items:center;gap:8px;
  }
  .hmc-landing-tidy .integrated-footer-brand .mark{
    width:36px!important;height:36px!important;border-radius:11px!important;
  }
  .hmc-landing-tidy .integrated-footer-brand b,
  .hmc-landing-tidy .integrated-footer-brand span:last-child{
    font-size:1.05rem!important;
  }
  .hmc-landing-tidy .integrated-footer-about p{
    margin-top:8px!important;font-size:.8rem!important;line-height:1.75!important;
    max-width:28rem!important;color:var(--muted)!important;font-weight:600!important;
  }
  .hmc-landing-tidy .integrated-footer-links,
  .hmc-landing-tidy .integrated-footer-contact{
    width:auto;padding:0!important;border:0!important;
  }
  .hmc-landing-tidy .integrated-footer-links h3,
  .hmc-landing-tidy .integrated-footer-contact h3{
    margin:0 0 8px!important;font-size:.72rem!important;font-weight:800!important;
    color:var(--ink)!important;letter-spacing:-.01em;
  }
  .hmc-landing-tidy .integrated-footer-links>div,
  .hmc-landing-tidy .integrated-footer-contact-links{
    display:flex!important;flex-direction:column!important;gap:0!important;
  }
  .hmc-landing-tidy .integrated-footer-links a,
  .hmc-landing-tidy .integrated-footer-contact-links a{
    display:block!important;min-height:0!important;
    padding:5px 0!important;border:0!important;
    font-size:.8rem!important;line-height:1.55!important;
    color:var(--muted)!important;font-weight:650!important;
    -webkit-tap-highlight-color:transparent;
  }
  .hmc-landing-tidy .integrated-footer-links a:active,
  .hmc-landing-tidy .integrated-footer-contact-links a:active{
    color:var(--pd)!important;
  }
  .hmc-landing-tidy .integrated-footer-socials{display:none!important}
  .hmc-landing-tidy .integrated-footer-bottom{
    min-height:0!important;padding:12px 18px!important;
    flex-direction:row!important;flex-wrap:wrap!important;
    align-items:center!important;justify-content:space-between!important;
    gap:8px 14px!important;text-align:right;
    font-size:.72rem!important;line-height:1.5;color:var(--muted)!important;
  }
  .hmc-landing-tidy .integrated-footer-bottom a{
    display:inline;min-height:0;padding:0;
    font-weight:750!important;color:var(--muted)!important;
  }
  .hmc-landing-tidy .mobile-cta{
    display:flex!important;align-items:center;gap:8px;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom,0))!important;
    backdrop-filter:blur(12px);
  }
  .hmc-landing-tidy .mobile-cta .btn{flex:1;min-height:46px;justify-content:center}
  .hmc-landing-tidy .smart-card h3{font-size:1.02rem!important;line-height:1.5!important;overflow-wrap:anywhere}
  .hmc-landing-tidy .smart-card p{font-size:.84rem!important;line-height:1.7!important}
}

@media (max-width:420px){
  .hmc-landing-tidy .container{width:min(100% - 20px,var(--max))!important}
  .hmc-landing-tidy .hero-copy h1{font-size:clamp(2rem,8.8vw,2.4rem)!important}
  .hmc-landing-tidy .nav-cta{padding-inline:12px!important;min-width:42px}
  .hmc-landing-tidy .market{padding:14px 12px!important;border-radius:20px!important}
  .hmc-landing-tidy .hero-trust{font-size:.62rem!important;gap:0!important}
  .hmc-landing-tidy .hero-trust span{padding:0 6px;gap:3px}
  .hmc-landing-tidy .hero-trust i{width:12px!important;height:12px!important;font-size:.58rem!important}
  .hmc-landing-tidy .hmc-landing-map-ostan .map-label{font-size:.66rem!important;padding:3px 8px!important}
  .hmc-landing-tidy .integrated-footer-main{padding:18px 14px 12px!important;gap:16px 12px!important}
  .hmc-landing-tidy .integrated-footer-bottom{padding-inline:14px!important}
  .hmc-landing-tidy .integrated-footer-links a,
  .hmc-landing-tidy .integrated-footer-contact-links a{font-size:.76rem!important}
}
