/*
Theme Name: Tashabbus UZ
Theme URI: https://5.tashabbus.uz.vhod.kz/
Description: Одностраничник-справочник по платформе 5tashabbus.uz (Besh tashabbus). Тема рендерит главную через front-page.php.
Author: vhod network
Version: 1.0
*/
:root{
  --blue:#134e8e; --blue2:#2478d4; --cyan:#17b8c4; --sky:#eaf3fc;
  --ink:#14263c; --muted:#586b82; --bg:#f5f9fd;
  --card:#ffffff; --line:#e2ecf7; --gold:#f6a723; --green:#1faa6b; --red:#e0554a;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--ink);background:var(--bg);line-height:1.68;font-size:17px;-webkit-font-smoothing:antialiased}
.wrap{max-width:1000px;margin:0 auto;padding:0 20px}
h1,h2,h3,h4{line-height:1.25;color:var(--ink)}
a{color:var(--blue2);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}

/* buttons */
.btn{display:inline-block;padding:13px 24px;border-radius:12px;font-weight:600;font-size:16px;
  transition:.2s;cursor:pointer;border:none;text-align:center}
.btn:hover{text-decoration:none;transform:translateY(-2px)}
.btn.primary{background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;
  box-shadow:0 8px 20px rgba(19,78,142,.28)}
.btn.ghost{background:#fff;color:var(--blue);border:1.5px solid #cfe0f2}
.btn.gold{background:linear-gradient(135deg,var(--gold),#e8890f);color:#fff;
  box-shadow:0 8px 20px rgba(246,167,35,.3)}

/* header */
.site-header{background:linear-gradient(135deg,#0f3f74 0%,#1b5fb0 52%,#17b8c4 130%);
  color:#fff;padding:54px 0 60px;position:relative;overflow:hidden}
.site-header:after{content:"";position:absolute;right:-120px;top:-90px;width:400px;height:400px;
  border-radius:50%;background:rgba(255,255,255,.08)}
.site-header:before{content:"";position:absolute;left:-80px;bottom:-150px;width:320px;height:320px;
  border-radius:50%;background:rgba(255,255,255,.06)}
.site-header .wrap{position:relative;z-index:2}
.badge{display:inline-block;background:rgba(255,255,255,.16);padding:6px 15px;border-radius:30px;
  font-size:13.5px;font-weight:600;letter-spacing:.3px;margin-bottom:18px}
.site-header h1{font-size:36px;font-weight:800;margin:0 0 14px;max-width:820px}
.site-header .sub{font-size:18px;opacity:.94;margin:0;max-width:660px}
@media(max-width:600px){.site-header h1{font-size:27px}.site-header .sub{font-size:16px}}

/* sticky toc */
.toc{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30;
  box-shadow:0 2px 10px rgba(19,78,142,.05)}
.toc .wrap{display:flex;gap:6px;overflow-x:auto;padding-top:9px;padding-bottom:9px;
  -ms-overflow-style:none;scrollbar-width:none}
.toc .wrap::-webkit-scrollbar{display:none}
.toc a{white-space:nowrap;padding:8px 14px;border-radius:9px;color:var(--muted);
  font-size:14.5px;font-weight:500}
.toc a:hover{background:var(--sky);color:var(--blue);text-decoration:none}

/* main */
main{padding:40px 0 60px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 26px}
.callout{border-radius:14px;padding:16px 20px;margin:0 0 26px;font-size:15.5px}
.callout.info{background:#fff7e8;border:1px solid #f6dda0;color:#7a5813}
.lead{font-size:18px;margin:0 0 30px}
.lead strong{color:var(--blue)}

section{margin:0 0 46px;scroll-margin-top:70px}
section h2{font-size:26px;font-weight:800;margin:0 0 12px;padding-bottom:10px;
  border-bottom:2px solid var(--sky)}
section h3{font-size:19px;margin:26px 0 8px}
.answer{background:var(--sky);border-left:4px solid var(--blue2);border-radius:0 12px 12px 0;
  padding:14px 18px;margin:0 0 18px;font-size:16.5px}
ol,ul{padding-left:22px}
ol li,ul li{margin:7px 0}
b,strong{color:var(--ink)}

/* cards grid */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:20px 0}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:24px 22px;transition:.2s}
.card:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(19,78,142,.12);border-color:#cfe0f2}
.card .ic{width:50px;height:50px;border-radius:13px;display:grid;place-items:center;font-size:25px;
  margin-bottom:14px;background:linear-gradient(135deg,#eaf3ff,#d7ecff)}
.card h3{margin:0 0 6px;font-size:17.5px}
.card p{margin:0;color:var(--muted);font-size:15px}
.card .num{float:right;font-size:15px;font-weight:800;color:var(--blue2);opacity:.45}

/* tabs */
.tabs{margin:18px 0}
.tab-btns{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.tab-btn{padding:10px 18px;border-radius:10px;border:1.5px solid var(--line);background:#fff;
  color:var(--muted);font-weight:600;font-size:15px;cursor:pointer;transition:.15s}
.tab-btn.active{background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;border-color:transparent}
.tab-pane{display:none;background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px}
.tab-pane.active{display:block}

/* support status */
.status{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);
  border-radius:14px;padding:16px 20px;margin:18px 0}
.status .dot{width:12px;height:12px;border-radius:50%;flex:none}
.status.open .dot{background:var(--green);box-shadow:0 0 0 4px rgba(31,170,107,.18)}
.status.closed .dot{background:var(--red);box-shadow:0 0 0 4px rgba(224,85,74,.18)}
.status b{font-size:16px}
.status span{color:var(--muted);font-size:14.5px}

/* steps */
.steps{counter-reset:s;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin:24px 0 6px}
.step{position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px 20px 20px}
.step:before{counter-increment:s;content:counter(s);position:absolute;top:-17px;left:20px;width:38px;height:38px;
  border-radius:11px;background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;font-weight:800;
  font-size:17px;display:grid;place-items:center;box-shadow:0 6px 14px rgba(19,78,142,.3)}
.step h4{margin:8px 0 5px;font-size:16.5px}
.step p{margin:0;color:var(--muted);font-size:14.5px}

/* faq */
details{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 20px;margin-bottom:12px}
details[open]{border-color:#cfe0f2;box-shadow:0 8px 20px rgba(19,78,142,.07)}
summary{font-weight:600;cursor:pointer;font-size:16.5px;list-style:none;display:flex;
  justify-content:space-between;align-items:center;gap:12px}
summary::-webkit-details-marker{display:none}
summary:after{content:"+";color:var(--blue2);font-size:22px;font-weight:400;flex:none}
details[open] summary:after{content:"\2013"}
details .fa{color:var(--muted);margin-top:10px;font-size:15.5px}

/* uzbek block */
.uzblock{background:#eef5fd;border:1px solid var(--line);border-radius:18px;padding:28px 26px;margin:36px 0 0}
.uzblock .flag{display:inline-block;font-size:12.5px;font-weight:700;color:var(--blue);
  letter-spacing:.6px;text-transform:uppercase;margin-bottom:12px}
.uzblock p{color:#274056;font-size:16px;margin:0 0 14px}
.uzblock p:last-child{margin-bottom:0}

/* mobile sticky cta */
.mcta{position:fixed;left:0;right:0;bottom:0;z-index:40;display:none;gap:10px;padding:10px 14px;
  background:rgba(255,255,255,.96);border-top:1px solid var(--line);backdrop-filter:blur(6px)}
.mcta .btn{flex:1;padding:12px}
@media(max-width:720px){.mcta{display:flex}main{padding-bottom:80px}}

/* back to top */
.totop{position:fixed;right:18px;bottom:88px;width:46px;height:46px;border-radius:50%;
  background:var(--blue);color:#fff;display:none;place-items:center;font-size:22px;cursor:pointer;
  box-shadow:0 8px 20px rgba(19,78,142,.35);z-index:39;border:none}
.totop.show{display:grid}
@media(max-width:720px){.totop{bottom:78px}}

/* footer */
.site-footer{background:#12263c;color:#9fb2c8;padding:38px 0 28px;font-size:14.5px}
.site-footer .flinks{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:20px}
.site-footer a{color:#c0d4ea}
.site-footer .disc{border-top:1px solid #24384f;padding-top:16px;font-size:12.8px;color:#7c8da4;line-height:1.6}
