.page-hero{
  position:relative;
  min-height:74vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding:155px 0 105px;
  color:#fff;
  background:
    radial-gradient(circle at 80% 20%,rgba(212,175,55,.24),transparent 28%),
    radial-gradient(circle at 18% 82%,rgba(255,255,255,.08),transparent 26%),
    linear-gradient(135deg,#0f172a 0%,#182642 46%,#24344f 100%);
}

.page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:46px 46px;
}

.page-hero::after{
  content:"";
  position:absolute;
  right:-110px;
  bottom:-140px;
  width:520px;
  height:520px;
  border-radius:50%;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(212,175,55,.18) 0 3px,
      transparent 3px 16px
    );
}

.page-hero-content{
  position:relative;
  z-index:3;
  max-width:880px;
}

.page-hero h1{
  color:#fff;
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.06;
  letter-spacing:-1.4px;
  font-weight:900;
  margin-bottom:24px;
}

.page-hero p{
  color:#dbe4f0;
  max-width:760px;
  font-size:clamp(1rem,1.35vw,1.18rem);
}

.hero-buttons{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:36px;
}

.hero-ornament{
  position:absolute;
  z-index:2;
  pointer-events:none;
}

.ornament-1{
  width:310px;
  height:310px;
  right:8%;
  top:24%;
  border:1px solid rgba(212,175,55,.34);
  border-radius:40px;
  transform:rotate(18deg);
}

.ornament-1::before,
.ornament-1::after{
  content:"";
  position:absolute;
  background:rgba(212,175,55,.38);
}

.ornament-1::before{
  width:70%;
  height:1px;
  left:15%;
  top:50%;
}

.ornament-1::after{
  width:1px;
  height:70%;
  left:50%;
  top:15%;
}

.ornament-2{
  width:180px;
  height:180px;
  right:28%;
  bottom:16%;
  border-radius:50%;
  border:1px dashed rgba(255,255,255,.28);
}

.ornament-2::before{
  content:"";
  position:absolute;
  inset:26px;
  border-radius:50%;
  border:1px solid rgba(212,175,55,.36);
}

/* LEGAL SECTION */

.legal-section{
  background:#fff;
  position:relative;
  overflow:hidden;
}

.legal-section::before{
  content:"";
  position:absolute;
  left:-160px;
  top:70px;
  width:360px;
  height:360px;
  border-radius:50%;
  background:rgba(212,175,55,.11);
}

.legal-box{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:36px;
  align-items:center;
  padding:42px;
  border-radius:34px;
  background:
    linear-gradient(135deg,#f8fafc,#fff);
  border:1px solid var(--border);
  box-shadow:0 14px 38px rgba(15,23,42,.07);
}

.legal-box h2{
  color:var(--primary);
  font-size:clamp(2rem,4vw,2.75rem);
  line-height:1.18;
  font-weight:900;
}

/* SERVICE CARD */

.service-section{
  background:
    radial-gradient(circle at top right,rgba(212,175,55,.13),transparent 30%),
    linear-gradient(180deg,#f8fafc,#eef2f7);
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}

.service-card{
  position:relative;
  background:#fff;
  border:1px solid var(--border);
  border-radius:30px;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(15,23,42,.07);
  transition:.35s ease;
  display:flex;
  flex-direction:column;
}

.service-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow);
}

.service-img{
  position:relative;
  height:210px;
  overflow:hidden;
  background:
    linear-gradient(135deg,#182642,#24344f);
}

.service-img::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:34px 34px;
  z-index:1;
}

.service-img::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(15,23,42,.72),transparent 62%);
  z-index:2;
}

.service-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:.45s ease;
}

.service-card:hover .service-img img{
  transform:scale(1.08);
}

.service-img span{
  position:absolute;
  left:18px;
  bottom:18px;
  z-index:3;
  padding:9px 14px;
  border-radius:999px;
  background:var(--gold);
  color:#111827;
  font-size:12px;
  font-weight:900;
  letter-spacing:.5px;
}

.service-body{
  padding:28px;
  display:flex;
  flex-direction:column;
  flex-grow: 1;
}

.service-body h3{
  color:var(--primary);
  font-size:22px;
  line-height:1.28;
  margin-bottom:12px;
  min-height: 58px;
}

.service-body p{
  margin-bottom: 25px;
}

.service-body a{
  margin-top:auto;
  min-height:48px;
  padding:13px 16px;
  border-radius:14px;
  background:var(--primary);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  transition:.3s ease;
}

.service-body a i{
  color:#25D366;
  font-size:20px;
}

.service-body a:hover{
  background:var(--gold);
  color:#111827;
}

/* PROCESS */

.process-section{
  background:#fff;
  position:relative;
  overflow:hidden;
}

.process-section::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:1px;
  height:100%;
  background:rgba(15,23,42,.08);
}

.process-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  margin-top:10px;
}

.process-item{
  position:relative;
  min-height:auto;
  padding:34px 26px;
  background:transparent;
  border:none;
  box-shadow:none;
}

.process-item::before{
  content:"";
  position:absolute;
  top:63px;
  left:0;
  width:100%;
  height:2px;
  background:#e2e8f0;
  z-index:-1;
}

.process-item::after{
  content:"";
  position:absolute;
  top:63px;
  left:0;
  width:50%;
  height:2px;
  background:var(--gold);
  z-index:-1;
}

.process-item span{
  display:inline-flex;
  width:62px;
  height:62px;
  border-radius:20px;
  align-items:center;
  justify-content:center;
  background:var(--primary);
  color:var(--gold);
  font-weight:900;
  margin-bottom:26px;
  box-shadow:0 14px 32px rgba(15,23,42,.16);
}

.process-item h3{
  color:var(--primary);
  font-size:21px;
  line-height:1.3;
  margin-bottom:12px;
}

.process-item p{
  max-width:245px;
}

/* CTA */

.cta-section{
  padding:0 0 90px;
  background:#fff;
}

.cta-box{
  position:relative;
  overflow:hidden;
  border-radius:34px;
  padding:48px;
  background:
    radial-gradient(circle at 90% 20%,rgba(212,175,55,.22),transparent 28%),
    linear-gradient(135deg,#182642,#0f172a);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  box-shadow:var(--shadow);
}

.cta-box::before{
  content:"";
  position:absolute;
  right:-80px;
  bottom:-120px;
  width:360px;
  height:360px;
  border-radius:50%;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,.08) 0 3px,
      transparent 3px 16px
    );
}

.cta-box > *{
  position:relative;
  z-index:2;
}

.cta-box span{
  display:inline-block;
  color:var(--gold);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:13px;
  margin-bottom:12px;
}

.cta-box h2{
  color:#fff;
  font-size:clamp(2rem,4vw,2.7rem);
  line-height:1.18;
  font-weight:900;
}

.cta-box p{
  color:#cbd5e1;
  margin-top:12px;
}

/* RESPONSIVE */

@media(max-width:1100px){
  .page-hero{
    text-align:center;
  }

  .page-hero-content{
    margin:auto;
  }

  .page-hero p{
    margin:auto;
  }

  .hero-buttons{
    justify-content:center;
  }

  .ornament-1,
  .ornament-2{
    opacity:.35;
  }

  .service-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .process-grid{
    grid-template-columns:repeat(2,1fr);
    gap:22px;
  }

  .process-item{
    background:#fff;
    border:1px solid var(--border);
    border-radius:24px;
    box-shadow:0 12px 32px rgba(15,23,42,.07);
  }

  .process-item::before,
  .process-item::after{
    display:none;
  }
}

@media(max-width:992px){
  .legal-box{
    grid-template-columns:1fr;
  }

  .cta-box{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media(max-width:768px){
  .page-hero{
    min-height:auto;
    padding:130px 0 82px;
  }

  .page-hero h1{
    letter-spacing:-.8px;
  }

  .hero-buttons{
    flex-direction:column;
    width:100%;
  }

  .service-grid,
  .process-grid{
    grid-template-columns:1fr;
  }

  .legal-box,
  .service-card,
  .process-item,
  .cta-box{
    border-radius:24px;
  }

  .legal-box,
  .cta-box{
    padding:28px;
  }

  .service-body,
  .process-item{
    padding:26px;
  }

  .service-img{
    height:220px;
  }

  .service-body p{
    min-height:auto;
  }

    .process-item h3{
    min-height:auto;
  }

  .process-item p{
    max-width:100%;
  }
}