/* styles.css — вскрытие-замков-алматы.kz
   Modern, clean, conversion-first, SEO-friendly single page
   UTF-8
*/

:root{
  --bg: #0b0f14;
  --bg2:#0e141b;
  --card: rgba(255,255,255,0.06);
  --card2: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.10);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --muted2: rgba(255,255,255,0.60);
  --brand: #ff8a00;
  --brand2:#ffb000;
  --ok:#38d39f;
  --danger:#ff4d4d;
  --shadow: 0 18px 45px rgba(0,0,0,0.40);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
  --ring: 0 0 0 4px rgba(255,138,0,0.25);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255,138,0,0.18), transparent 55%),
    radial-gradient(1000px 500px at 110% 10%, rgba(255,176,0,0.15), transparent 50%),
    radial-gradient(800px 500px at 50% 115%, rgba(56,211,159,0.10), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }
button,input,textarea{ font:inherit; color:inherit; }

::selection{ background: rgba(255,138,0,0.35); }

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  background:#000;
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  z-index:9999;
}
.skip-link:focus{ left:10px; top:10px; }

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter: blur(12px);
  background: rgba(11,15,20,0.68);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}

.brand-badge{
  width:40px;
  height:40px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, rgba(255,138,0,0.95), rgba(255,176,0,0.95));
  box-shadow: 0 10px 25px rgba(255,138,0,0.20);
}

.brand-title{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand-title strong{ font-size:14px; letter-spacing:0.2px; }
.brand-title span{ font-size:12px; color:var(--muted); margin-top:3px; }

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}

.nav a{
  font-size:13px;
  color: var(--muted);
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
  transition: 0.2s ease;
}
.nav a:hover{
  color: var(--text);
  border-color: var(--border);
  background: rgba(255,255,255,0.04);
}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:flex-end;
  min-width: 260px;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  font-size:13px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  white-space:nowrap;
}

.pill b{ color: var(--text); font-weight:700; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 14px;
  border:1px solid transparent;
  font-weight: 700;
  font-size:14px;
  cursor:pointer;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  user-select:none;
  white-space:nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#1a1207;
  box-shadow: 0 18px 40px rgba(255,138,0,0.20);
}
.btn-primary:hover{
  box-shadow: 0 20px 50px rgba(255,138,0,0.26);
}
.btn-ghost{
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
}
.btn-whatsapp{
  background: rgba(56,211,159,0.10);
  border-color: rgba(56,211,159,0.25);
  color: var(--text);
}
.btn-whatsapp:hover{
  background: rgba(56,211,159,0.14);
  border-color: rgba(56,211,159,0.32);
}

/* Mobile menu */
.menu-toggle{
  display:none;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  cursor:pointer;
}

.mobile-nav{
  display:none;
  padding:10px 0 14px 0;
}
.mobile-nav a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.03);
  margin-bottom:10px;
  color: var(--muted);
}
.mobile-nav a:hover{ color: var(--text); background: rgba(255,255,255,0.05); }

/* Hero */
.hero{
  padding:48px 0 18px 0;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap:22px;
  align-items:stretch;
}

.hero-card{
  border-radius: var(--radius2);
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
  padding:28px;
  position:relative;
  overflow:hidden;
}
.hero-card:before{
  content:"";
  position:absolute;
  inset:-100px -160px auto auto;
  width:320px;
  height:320px;
  background: radial-gradient(circle at 30% 30%, rgba(255,138,0,0.28), transparent 65%);
  transform: rotate(20deg);
  pointer-events:none;
}

.hero h1{
  margin:0 0 10px 0;
  font-size: 40px;
  letter-spacing:-0.6px;
  line-height:1.08;
}
.hero p.lead{
  margin:0 0 18px 0;
  font-size:16px;
  color: var(--muted);
  max-width: 62ch;
}

.hero-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 10px 0 18px 0;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border:1px solid var(--border);
  color: var(--muted);
  font-size:13px;
}
.badge svg{ opacity:0.9; }

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 18px;
}

.hero-side{
  display:grid;
  gap:14px;
}
.side-card{
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(255,255,255,0.04);
  padding:16px;
}
.side-card h3{
  margin:0 0 10px 0;
  font-size:14px;
  letter-spacing:0.2px;
}
.side-list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.side-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color: var(--muted);
  font-size:13px;
}
.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: rgba(255,138,0,0.9);
  box-shadow: 0 0 0 3px rgba(255,138,0,0.18);
  flex:0 0 auto;
  margin-top:4px;
}

/* Sections */
section{
  padding: 34px 0;
}
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom: 16px;
}
.section-title h2{
  margin:0;
  font-size: 24px;
  letter-spacing:-0.2px;
}
.section-title p{
  margin:0;
  color: var(--muted);
  font-size: 13px;
  max-width: 52ch;
}

/* Cards grid */
.grid{
  display:grid;
  gap:14px;
}
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

.card{
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(255,255,255,0.04);
  padding:18px;
}
.card:hover{
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.14);
}

.card h3{
  margin:0 0 8px 0;
  font-size:16px;
}
.card p{
  margin:0;
  color: var(--muted);
  font-size:13px;
}
.card .meta{
  margin-top:12px;
  color: var(--muted2);
  font-size:12px;
}
.card .meta b{ color: var(--text); }

.icon-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 10px;
}
.icon{
  width:40px;
  height:40px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background: rgba(255,138,0,0.12);
  border:1px solid rgba(255,138,0,0.22);
}
.icon.ok{
  background: rgba(56,211,159,0.10);
  border-color: rgba(56,211,159,0.22);
}

/* Service details */
.details{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}
.detail{
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(255,255,255,0.04);
  padding:18px;
}
.detail header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.detail h3{
  margin:0;
  font-size:18px;
}
.detail .subtitle{
  margin-top:6px;
  color: var(--muted);
  font-size:13px;
  max-width: 82ch;
}
.detail .chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin: 12px 0 0 0;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size:12px;
}
.detail .cols{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top: 14px;
}
.detail .col{
  border:1px solid var(--border);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding:14px;
}
.detail .col h4{
  margin:0 0 8px 0;
  font-size:13px;
  letter-spacing:0.2px;
}
.detail .col ul{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  font-size:13px;
}
.detail .col li{ margin:6px 0; }

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:12px;
}
.step{
  border-radius: 18px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.04);
  padding:14px;
}
.step .n{
  width:34px;
  height:34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight:800;
  background: rgba(255,138,0,0.14);
  border:1px solid rgba(255,138,0,0.26);
  margin-bottom: 10px;
}
.step h4{
  margin:0 0 6px 0;
  font-size:13px;
}
.step p{
  margin:0;
  color: var(--muted);
  font-size:12.5px;
}

/* Districts */
.districts{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.district{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size:13px;
}

/* Pricing */
.pricing{
  display:grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap:14px;
}
.price-card{
  border-radius: var(--radius2);
  border:1px solid var(--border);
  background: rgba(255,255,255,0.04);
  padding:18px;
}
.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 16px;
  border:1px solid var(--border);
}
.table th, .table td{
  padding:12px 12px;
  font-size:13px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.table th{
  text-align:left;
  color: var(--muted);
  font-weight:700;
  background: rgba(255,255,255,0.03);
}
.table tr:last-child td{ border-bottom:none; }
.table td:last-child{ text-align:right; white-space:nowrap; }
.note{
  color: var(--muted);
  font-size:13px;
}

/* Trust */
.trust{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.trust .item{
  border-radius: 18px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.04);
  padding:14px;
}
.trust .item b{
  display:block;
  font-size:14px;
  margin-bottom: 6px;
}
.trust .item span{
  color: var(--muted);
  font-size:12.5px;
}

/* Reviews */
.reviews{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.review{
  border-radius: 18px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.04);
  padding:16px;
}
.review .who{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 10px;
}
.stars{
  color: rgba(255,176,0,0.95);
  letter-spacing: 1px;
  font-size: 13px;
}
.review b{ font-size:13px; }
.review p{
  margin:0;
  color: var(--muted);
  font-size:13px;
}

/* FAQ */
.faq{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
.faq details{
  border-radius: 16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.04);
  padding:12px 14px;
}
.faq summary{
  cursor:pointer;
  font-weight:800;
  font-size:14px;
  outline:none;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq details[open]{
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.16);
}
.faq .ans{
  margin-top: 10px;
  color: var(--muted);
  font-size:13px;
}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.contact .box{
  border-radius: var(--radius2);
  border:1px solid var(--border);
  background: rgba(255,255,255,0.04);
  padding:18px;
}
.contact h3{ margin:0 0 10px 0; font-size:16px; }
.kv{
  display:grid;
  gap:10px;
}
.kv .row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.kv .row span{ color: var(--muted); font-size:13px; }
.kv .row b{ font-size:13px; }

.form{
  display:grid;
  gap:10px;
}
.field{
  display:grid;
  gap:6px;
}
label{
  font-size:12px;
  color: var(--muted);
}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  outline:none;
}
input:focus, textarea:focus{
  box-shadow: var(--ring);
  border-color: rgba(255,138,0,0.55);
}
textarea{ min-height: 110px; resize: vertical; }

.form .hint{
  font-size:12px;
  color: var(--muted2);
}

/* Footer */
.footer{
  padding: 26px 0 34px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12.5px;
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.footer a{ color: var(--text); opacity:0.9; }
.footer a:hover{ opacity:1; }

/* Floating CTA */
.fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index: 1100;
}
.fab a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(11,15,20,0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
  font-weight:800;
  font-size:13px;
}
.fab a.primary{
  border-color: rgba(255,138,0,0.35);
  background: linear-gradient(135deg, rgba(255,138,0,0.95), rgba(255,176,0,0.95));
  color:#1a1207;
}
.fab a.wa{
  border-color: rgba(56,211,159,0.35);
  background: rgba(56,211,159,0.14);
}
.fab small{
  display:block;
  font-weight:700;
  opacity:0.9;
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .header-actions{ min-width: auto; }
  .brand{ min-width:auto; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .detail .cols{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .trust{ grid-template-columns: 1fr; }
  .reviews{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .menu-toggle{ display:inline-flex; }
  .mobile-nav{ display:block; }
}

@media (max-width: 520px){
  .hero h1{ font-size: 32px; }
  .btn{ width:100%; }
  .hero-actions{ gap:10px; }
  .pill{ display:none; }
}
