/* Страница «Безопасность» (security.html). */

.s-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 48px; align-items: center; }
.s-hero-text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.s-h1 { margin: 0; font-weight: 800; font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.04em; }
.s-hero .lead { max-width: 46ch; }

.s-art { position: relative; aspect-ratio: 1 / 1; border-radius: 40px; background: #0500FF; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.s-art-blob { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: #48FF91; opacity: 0.25; right: -20%; top: -18%; }
.s-art-ring { position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255,255,255,0.25); left: -10%; bottom: -10%; }
.s-art-shield { position: relative; width: 44%; aspect-ratio: 1; border-radius: 36px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 30px 60px rgba(0,0,0,0.25); }
.s-art-badge { position: absolute; left: 7%; bottom: 8%; border-radius: 22px; background: #FFFFFF; padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.s-art-check { width: 36px; height: 36px; border-radius: 50%; background: #E6FFF0; display: flex; align-items: center; justify-content: center; }
.s-art-text { display: flex; flex-direction: column; gap: 2px; }
.s-art-t { font-size: 14px; font-weight: 700; color: #1B1B1C; }
.s-art-d { font-size: 12px; color: #616161; }

.s-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-radius: 32px; background: #F5F5F7; }
.s-point { padding: 30px 28px; display: flex; flex-direction: column; gap: 6px; }
.s-point-t { font-family: 'Manrope', sans-serif; font-size: 24px; font-weight: 800; color: #0500FF; }
.s-point-d { font-size: 15px; line-height: 1.5; color: #616161; }

.s-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.s-card { border-radius: 28px; background: #F5F5F7; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.s-card-icon { width: 52px; height: 52px; border-radius: 16px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; flex: none; }
.s-card-h3 { margin: 6px 0 0; font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.s-card-p { margin: 0; font-size: 15px; line-height: 1.55; color: #616161; }

.s-rules { border-radius: 40px; background: #1B1B1C; color: #FFFFFF; padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }
.s-rules-text { display: flex; flex-direction: column; gap: 16px; }
.s-rules .h2-md { color: #FFFFFF; }
.s-rules-p { margin: 0; font-size: 17px; line-height: 1.6; color: #C9C9CF; }
.s-rules-list { display: flex; flex-direction: column; }
.s-rule { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; box-shadow: inset 0 -1px 0 #333336; }
.s-rule-num { font-family: 'Manrope', sans-serif; font-size: 28px; font-weight: 800; color: #48FF91; width: 44px; flex: none; line-height: 1.1; }
.s-rule-text { display: flex; flex-direction: column; gap: 6px; }
.s-rule-t { font-size: 19px; font-weight: 700; color: #FFFFFF; }
.s-rule-d { font-size: 15px; line-height: 1.55; color: #C9C9CF; }

.s-faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; }
.s-faq-head { display: flex; flex-direction: column; gap: 14px; }
.s-faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: 22px; background: #FFFFFF; box-shadow: 0 0 0 1px #EEEEF0; }
.faq-item.is-open { background: #F2F2FF; box-shadow: 0 0 0 1px #F2F2FF; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border: 0; background: transparent; font: inherit; font-size: 18px; font-weight: 700; color: #1B1B1C; text-align: left; cursor: pointer; }
.faq-q:hover { color: #0500FF; }
.faq-sign { width: 32px; height: 32px; flex: none; border-radius: 50%; background: #F5F5F7; color: #1B1B1C; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; line-height: 1; }
.faq-item.is-open .faq-sign { background: #0500FF; color: #FFFFFF; }
.faq-a { margin: 0; padding: 0 24px 22px; font-size: 16px; line-height: 1.6; color: #616161; }

@media (max-width: 768px) {
  .s-hero { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
  .s-points { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
  .s-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
  .s-rules { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
  .s-faq { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
}
