/* ===== Fonts (Comfortaa + Jost, full Cyrillic + Latin subsets) ===== */
@import url('fonts/fonts.css');

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;font-family:'Jost',sans-serif}
a{color:#141414;text-decoration:none}
a:hover{color:#141414}
img{max-width:100%;display:block}
input,select,button{font-family:inherit}

/* ===== Animations ===== */
@keyframes arrGlow{0%,100%{box-shadow:0 0 0 0 rgba(160,214,45,0)}50%{box-shadow:0 0 0 6px rgba(160,214,45,.18)}}
@keyframes fabPulse{0%{box-shadow:0 0 0 0 rgba(160,214,45,.55)}70%{box-shadow:0 0 0 16px rgba(160,214,45,0)}100%{box-shadow:0 0 0 0 rgba(160,214,45,0)}}
@keyframes tgPulse{0%{box-shadow:0 0 0 0 rgba(41,160,240,.55)}70%{box-shadow:0 0 0 16px rgba(41,160,240,0)}100%{box-shadow:0 0 0 0 rgba(41,160,240,0)}}

summary{list-style:none;cursor:pointer}
summary::-webkit-details-marker{display:none}
details[open] .faq-plus{transform:rotate(45deg)}
.faq-plus{transition:transform .25s ease}
nav a:hover{color:#7a9e1e}

/* ===== Language switch ===== */
.lang-switch{display:inline-flex;background:#f2f2f2;border-radius:100px;padding:3px}
.lang-switch button{border:0;background:transparent;cursor:pointer;font-family:'Jost',sans-serif;font-weight:600;font-size:13px;color:#6b6b6b;padding:6px 12px;border-radius:100px;transition:all .2s}
.lang-switch button.active{background:#141414;color:#fff}

/* ===== Search widget inputs ===== */
.search-field{background:#f5f6f4;border-radius:14px;padding:10px 16px;display:flex;flex-direction:column;justify-content:center}
.search-field label{font-family:'Jost',sans-serif;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#8a8a8a;margin-bottom:2px}
.search-field input,.search-field select{border:0;background:transparent;outline:none;font-family:'Comfortaa',cursive;font-weight:600;font-size:16px;color:#141414;width:100%}
.search-field input::placeholder{color:#b7b7b7;font-weight:600}
.search-tab{cursor:pointer;font-family:'Jost',sans-serif;font-weight:500;font-size:14px;color:#6b6b6b;background:#f2f2f2;padding:9px 18px;border-radius:100px;border:0;transition:all .2s}
.search-tab.active{font-weight:600;color:#141414;background:#c3f53c}

/* ===== Blog drawer (canvas from right) ===== */
.drawer-overlay{position:fixed;inset:0;background:rgba(10,13,10,.55);opacity:0;visibility:hidden;transition:opacity .3s ease;z-index:200}
.drawer-overlay.open{opacity:1;visibility:visible}
.drawer{position:fixed;top:0;right:0;height:100%;width:min(560px,100%);background:#fff;transform:translateX(100%);transition:transform .38s cubic-bezier(.22,.61,.36,1);z-index:201;display:flex;flex-direction:column}
.drawer.open{transform:translateX(0);box-shadow:-30px 0 60px -30px rgba(0,0,0,.4)}
.drawer__head{position:sticky;top:0;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:22px 28px;border-bottom:1px solid #eee;z-index:2}
.drawer__close{width:42px;height:42px;border-radius:50%;border:1px solid #e4e4e4;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}
.drawer__close:hover{background:#f2f2f2}
.drawer__body{overflow-y:auto;padding:0 0 40px}
.drawer__hero{height:230px;background:#e9eeec;position:relative}
.drawer__hero img{width:100%;height:100%;object-fit:cover}
.drawer__content{padding:28px}
.drawer__content h2{font-family:'Comfortaa',cursive;font-weight:700;font-size:26px;line-height:1.3;color:#141414;margin:0 0 14px}
.drawer__meta{font-family:'Jost',sans-serif;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#9a9a9a;margin-bottom:18px}
.drawer__content p{font-family:'Jost',sans-serif;font-size:15px;line-height:1.75;color:#4a4a4a;margin:0 0 16px}
.drawer__content h3{font-family:'Comfortaa',cursive;font-weight:600;font-size:18px;color:#141414;margin:24px 0 10px}
body.no-scroll{overflow:hidden}

/* ===== Toast ===== */
.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(20px);background:#141414;color:#fff;font-family:'Jost',sans-serif;font-size:14px;padding:14px 22px;border-radius:12px;opacity:0;visibility:hidden;transition:all .3s ease;z-index:300;box-shadow:0 20px 40px -16px rgba(0,0,0,.5)}
.toast.show{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.toast.err{background:#7a1f24}

/* ===== Responsive ===== */
img,svg{max-width:100%}

@media(max-width:960px){
  .hero-grid{grid-template-columns:1fr!important;padding:44px 28px!important}
  .hero-visual{display:none!important}
  .why-grid{grid-template-columns:1fr!important;gap:32px!important}
  .why-panel{padding:44px 28px!important}
  .cta-panel{padding:48px 32px!important}
  .search-grid{grid-template-columns:1fr 1fr!important}
  .search-grid .search-btn{grid-column:1/-1}
  .grid-3{grid-template-columns:1fr 1fr!important}
  .grid-2{grid-template-columns:1fr!important}
  .main-nav{display:none!important}
  .footer-grid{grid-template-columns:1fr 1fr!important}
  #seo-links{grid-template-columns:repeat(2,1fr)!important;gap:22px!important}
}

@media(max-width:640px){
  html,body{overflow-x:hidden;max-width:100%}
  .hero-title{font-size:34px!important}
  .sec-title{font-size:26px!important}
  .hero-grid{padding:36px 22px!important}
  .why-panel{padding:36px 20px!important}
  .cta-panel{padding:34px 22px!important}
  .search-grid{grid-template-columns:1fr!important}
  .grid-3{grid-template-columns:1fr!important}
  .footer-grid{grid-template-columns:1fr!important}
  .cta-flex{flex-direction:column;align-items:flex-start!important}
  /* compact header: hide phone + CTA on mobile, keep logo + language */
  .hdr-cta{display:none!important}
  .header-phone{display:none!important}
  /* landing hero / content panels */
  .l-hero{padding:34px 20px!important}
  .l-content{padding-left:20px!important;padding-right:20px!important}
  /* generous section side padding -> tighter */
  section{padding-left:16px!important;padding-right:16px!important}
  footer{padding-left:16px!important;padding-right:16px!important}
  /* services cards: hide decorative illustration, let text use full width */
  #xizmatlar article{padding:28px!important}
  #xizmatlar article > div[style*="position:absolute"]{display:none!important}
  #xizmatlar article h3,#xizmatlar article p{max-width:100%!important}
}

@media(max-width:420px){
  #seo-links{grid-template-columns:1fr 1fr!important;gap:16px!important}
  .header-phone{display:none!important}
}
