
.legal-main{
  position:relative;
  min-height:calc(100vh - 150px);
  padding:82px 0 72px;
}

.legal-wrap{
  max-width:980px;
}

.legal-hero{
  max-width:680px;
  margin-bottom:34px;
}

.legal-hero h1{
  margin:8px 0 10px;
  color:#f8f9fb;
  font-size:clamp(3.3rem,7vw,5.8rem);
  line-height:.95;
  letter-spacing:-.065em;
  font-weight:900;
}

.legal-hero p{
  margin:0;
  color:#7f8896;
  font-size:.92rem;
}

.legal-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}

.legal-card{
  position:relative;
  min-height:245px;
  padding:27px;
  display:grid;
  grid-template-columns:42px 1fr;
  gap:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.085);
  border-radius:26px;
  background:
    linear-gradient(155deg,rgba(255,255,255,.035),transparent 38%),
    #10141b;
  box-shadow:0 22px 60px rgba(0,0,0,.2);
}

.legal-card:after{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  right:-120px;
  bottom:-150px;
  border-radius:50%;
  pointer-events:none;
  background:rgba(255,68,58,.055);
  filter:blur(20px);
}

.legal-card-wide{
  grid-column:1/-1;
  min-height:auto;
}

.legal-number{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:13px;
  color:#ff746c;
  border:1px solid rgba(255,68,58,.16);
  background:rgba(255,68,58,.075);
  font-size:.68rem;
  font-weight:900;
}

.legal-label{
  color:#ff817a;
  font-size:.64rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
}

.legal-card h2{
  margin:7px 0 20px;
  color:#f7f8fa;
  font-size:1.55rem;
  letter-spacing:-.045em;
}

.legal-address{
  margin:0;
  color:#929aa8;
  font-size:.87rem;
  line-height:1.75;
  font-style:normal;
}

.legal-address strong{
  color:#fff;
}

.legal-contact{
  display:grid;
  gap:9px;
}

.legal-contact a{
  display:block;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.065);
  border-radius:15px;
  background:rgba(255,255,255,.025);
  transition:.18s ease;
}

.legal-contact a:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
}

.legal-contact small{
  display:block;
  margin-bottom:3px;
  color:#68717f;
  font-size:.63rem;
}

.legal-contact strong{
  color:#e9edf2;
  font-size:.82rem;
}

.legal-card p{
  max-width:770px;
  margin:0 0 14px;
  color:#858e9c;
  font-size:.84rem;
  line-height:1.72;
}

.legal-card p:last-child{
  margin-bottom:0;
}

.legal-card p a{
  color:#ff7169;
  font-weight:800;
}

.legal-back{
  margin-top:20px;
}

.legal-back .agency-btn{
  width:auto;
}

.legal-footer-links{
  display:flex;
  align-items:center;
  gap:9px;
}

.legal-footer-links i{
  width:3px;
  height:3px;
  border-radius:50%;
  background:#4d5662;
}

@media(max-width:760px){
  .legal-main{
    padding:48px 0 52px;
  }

  .legal-layout{
    grid-template-columns:1fr;
  }

  .legal-card-wide{
    grid-column:auto;
  }

  .legal-card{
    min-height:auto;
    padding:21px;
    grid-template-columns:36px 1fr;
    gap:13px;
    border-radius:22px;
  }

  .legal-number{
    width:34px;
    height:34px;
    border-radius:11px;
  }

  .legal-footer-links{
    justify-content:center;
    flex-wrap:wrap;
  }
}

@media(max-width:520px){
  .legal-hero h1{
    font-size:3.4rem;
  }

  .legal-back .agency-btn{
    width:100%;
  }
}
