/* =========================================================
   Bareeq Tawasul — Premium Legal / Corporate Pages
   ========================================================= */

:root{
  --lp-navy:#07152f;
  --lp-navy-2:#0b1f46;

  --lp-blue:#2563eb;
  --lp-blue-2:#3b82f6;

  --lp-cyan:#06b6d4;

  --lp-violet:#7c3aed;
  --lp-violet-2:#8b5cf6;

  --lp-text:#0f172a;
  --lp-soft:#475569;
  --lp-muted:#64748b;

  --lp-white:#ffffff;
  --lp-bg:#f7f9ff;

  --lp-border:rgba(37,99,235,.13);

  --lp-shadow:0 26px 65px rgba(15,23,42,.10);
  --lp-shadow-soft:0 14px 34px rgba(15,23,42,.07);
}

html{
  scroll-behavior:smooth;
  color-scheme:light;
  background:var(--lp-bg);
}

body.lp-page{
  margin:0;
  padding-top:82px;

  color:var(--lp-text);

  font-family:"Tajawal",Arial,sans-serif;

  background:
    radial-gradient(circle at 8% 5%,rgba(59,130,246,.13),transparent 0 25%),
    radial-gradient(circle at 92% 8%,rgba(124,58,237,.10),transparent 0 24%),
    radial-gradient(circle at 50% 65%,rgba(6,182,212,.055),transparent 0 28%),
    linear-gradient(135deg,#ffffff 0%,#f5f8ff 45%,#faf9ff 73%,#f4f8ff 100%);
}

body.lp-page *{
  box-sizing:border-box;
}

body.lp-page a{
  color:inherit;
  text-decoration:none;
}

.lp-container{
  width:min(1180px,calc(100% - 40px));
  margin-inline:auto;
}


/* ================= HEADER ================= */

.lp-header{
  position:fixed;
  top:0;
  right:0;
  left:0;

  z-index:1000;

  background:rgba(255,255,255,.94);

  border-bottom:1px solid rgba(37,99,235,.10);

  box-shadow:0 10px 32px rgba(15,23,42,.075);

  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}

.lp-header__inner{
  min-height:82px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:24px;
}

.lp-brand{
  display:flex;
  align-items:center;

  gap:11px;
}

.lp-brand img{
  width:44px;
  height:44px;

  object-fit:cover;

  border-radius:50%;

  background:#fff;

  box-shadow:
    0 9px 24px rgba(15,23,42,.12),
    0 0 0 1px rgba(37,99,235,.08);
}

.lp-brand strong{
  display:block;

  color:#07152f;

  font-size:1.05rem;
  font-weight:900;
}

.lp-brand span{
  display:block;

  margin-top:1px;

  color:#64748b;

  font-size:.64rem;
  font-weight:800;

  letter-spacing:.06em;
}

.lp-nav{
  display:flex;
  align-items:center;

  gap:24px;
}

.lp-nav a{
  position:relative;

  color:#334155;

  font-size:.9rem;
  font-weight:800;

  transition:.22s ease;
}

.lp-nav a::after{
  content:"";

  position:absolute;

  inset-inline-start:0;
  bottom:-9px;

  width:0;
  height:3px;

  border-radius:999px;

  background:
    linear-gradient(90deg,#2563eb,#06b6d4,#7c3aed);

  transition:.24s ease;
}

.lp-nav a:hover,
.lp-nav a.is-active{
  color:#2563eb;
}

.lp-nav a:hover::after,
.lp-nav a.is-active::after{
  width:100%;
}

.lp-header__cta{
  padding:12px 20px;

  border-radius:999px;

  color:#fff;

  font-weight:900;

  background:
    linear-gradient(135deg,#1d4ed8,#2563eb 50%,#7c3aed);

  box-shadow:
    0 15px 34px rgba(37,99,235,.23);

  transition:.24s ease;
}

.lp-header__cta:hover{
  transform:translateY(-2px);

  box-shadow:
    0 21px 42px rgba(37,99,235,.30);
}


/* ================= HERO ================= */

.lp-hero{
  position:relative;

  overflow:hidden;

  padding:82px 0 70px;

  text-align:center;
}

.lp-hero::before{
  content:"";

  position:absolute;
  inset:0;

  pointer-events:none;

  background:
    linear-gradient(90deg,rgba(37,99,235,.04) 1px,transparent 1px),
    linear-gradient(180deg,rgba(37,99,235,.04) 1px,transparent 1px);

  background-size:38px 38px;

  mask-image:
    linear-gradient(180deg,rgba(0,0,0,.52),transparent 94%);
}

.lp-hero .lp-container{
  position:relative;
  z-index:2;
}

.lp-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;

  padding:7px 14px;

  border-radius:999px;

  color:#1d4ed8;

  font-size:.72rem;
  font-weight:900;

  letter-spacing:.04em;

  background:
    linear-gradient(135deg,#fff,#eff6ff);

  border:1px solid rgba(37,99,235,.18);

  box-shadow:
    0 9px 22px rgba(37,99,235,.06);
}

.lp-eyebrow::before{
  content:"";

  width:8px;
  height:8px;

  border-radius:50%;

  background:
    linear-gradient(135deg,#2563eb,#06b6d4,#7c3aed);

  box-shadow:
    0 0 14px rgba(37,99,235,.25);
}

.lp-hero h1{
  margin:18px 0 14px;

  color:#07152f;

  font-size:clamp(3rem,5vw,4.7rem);

  line-height:1.1;

  font-weight:900;

  letter-spacing:-.03em;
}

@supports (-webkit-background-clip:text){
  .lp-hero h1{
    background:
      linear-gradient(
        120deg,
        #07152f 0%,
        #123d8c 38%,
        #2563eb 63%,
        #7c3aed 90%
      );

    -webkit-background-clip:text;
    background-clip:text;

    color:transparent;
    -webkit-text-fill-color:transparent;
  }
}

.lp-hero p{
  max-width:820px;

  margin:0 auto;

  color:#526174;

  font-size:1.06rem;
  font-weight:600;

  line-height:1.95;
}


/* ================= MAIN LAYOUT ================= */

.lp-section{
  padding:30px 0 90px;
}

.lp-layout{
  display:grid;
  grid-template-columns:270px 1fr;

  gap:28px;

  align-items:start;
}


/* ================= TOC ================= */

.lp-toc{
  position:sticky;
  top:110px;

  padding:22px;

  display:flex;
  flex-direction:column;

  gap:8px;

  border-radius:24px;

  background:
    linear-gradient(145deg,#fff,#f6f8ff);

  border:1px solid rgba(37,99,235,.13);

  box-shadow:var(--lp-shadow-soft);
}

.lp-toc > strong{
  margin-bottom:7px;

  color:#07152f;

  font-size:1rem;
  font-weight:900;
}

.lp-toc a{
  padding:9px 10px;

  border-radius:10px;

  color:#526174;

  font-size:.78rem;
  font-weight:800;

  transition:.22s ease;
}

.lp-toc a:hover{
  color:#2563eb;

  background:#eff6ff;

  transform:translateX(-3px);
}


/* ================= CONTENT ================= */

.lp-content{
  display:grid;

  gap:18px;
}

.lp-card{
  position:relative;

  padding:30px;

  overflow:hidden;

  border-radius:24px;

  background:#fff;

  border:1px solid rgba(37,99,235,.11);

  box-shadow:var(--lp-shadow-soft);
}

.lp-card::before{
  content:"";

  position:absolute;

  top:0;
  right:0;
  left:0;

  height:4px;

  background:
    linear-gradient(90deg,#2563eb,#06b6d4,#7c3aed);
}

.lp-card--blue{
  background:
    radial-gradient(circle at 100% 0,rgba(37,99,235,.10),transparent 0 34%),
    linear-gradient(145deg,#fff,#f5f8ff);
}

.lp-card--violet{
  background:
    radial-gradient(circle at 0 100%,rgba(124,58,237,.09),transparent 0 34%),
    linear-gradient(145deg,#fff,#faf7ff);
}

.lp-card--contact{
  background:
    radial-gradient(circle at 100% 0,rgba(37,99,235,.11),transparent 0 35%),
    radial-gradient(circle at 0 100%,rgba(124,58,237,.09),transparent 0 35%),
    linear-gradient(145deg,#fff,#f5f7ff);
}

.lp-card__num{
  width:44px;
  height:44px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:13px;

  color:#fff;

  font-size:.76rem;
  font-weight:900;

  background:
    linear-gradient(135deg,#1d4ed8,#2563eb,#7c3aed);

  box-shadow:
    0 10px 24px rgba(37,99,235,.20);
}

.lp-card h2{
  margin:18px 0 14px;

  color:#07152f;

  font-size:1.55rem;
  font-weight:900;
}

.lp-card h3{
  margin:18px 0 9px;

  color:#0f172a;

  font-size:1.08rem;
  font-weight:900;
}

.lp-card p{
  margin:0 0 13px;

  color:#526174;

  font-weight:600;

  line-height:1.9;
}

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

.lp-card ul{
  margin:12px 0 0;
  padding:0 22px 0 0;
}

.lp-card li{
  margin-bottom:9px;

  color:#526174;

  font-weight:600;

  line-height:1.75;
}

.lp-card strong{
  color:#0f172a;
}


/* ================= TWO COLUMN ================= */

.lp-two{
  display:grid;
  grid-template-columns:1fr 1fr;

  gap:14px;
}

.lp-two > div{
  padding:20px;

  border-radius:18px;

  background:
    linear-gradient(145deg,#fff,#f6f8ff);

  border:1px solid rgba(37,99,235,.10);
}

.lp-two > div:nth-child(2){
  background:
    linear-gradient(145deg,#fff,#faf7ff);

  border-color:rgba(124,58,237,.13);
}

.lp-two > div > strong{
  display:block;

  margin-bottom:8px;

  color:#2563eb;

  font-size:.92rem;
  font-weight:900;
}


/* ================= INLINE CTA ================= */

.lp-inline-cta{
  display:inline-flex;

  margin-top:6px;

  padding:9px 13px;

  border-radius:999px;

  color:#1d4ed8;

  font-size:.78rem;
  font-weight:900;

  background:#eff6ff;

  border:1px solid rgba(37,99,235,.14);

  transition:.22s ease;
}

.lp-inline-cta:hover{
  color:#6d28d9;

  transform:translateX(-3px);

  border-color:rgba(124,58,237,.20);
}


/* ================= CONTACT LINKS ================= */

.lp-contact-links{
  display:grid;
  grid-template-columns:1fr 1fr;

  gap:12px;

  margin-top:18px;
}

.lp-contact-links a{
  padding:17px;

  border-radius:17px;

  background:#fff;

  border:1px solid rgba(37,99,235,.12);

  transition:.22s ease;
}

.lp-contact-links a:hover{
  transform:translateY(-3px);

  box-shadow:
    0 14px 28px rgba(15,23,42,.08);
}

.lp-contact-links small{
  display:block;

  color:#64748b;

  font-size:.7rem;
  font-weight:800;
}

.lp-contact-links strong{
  display:block;

  margin-top:3px;

  color:#1d4ed8;

  font-size:.9rem;
  font-weight:900;
}


/* ================= FOOTER ================= */

.lp-footer{
  color:#cbd5e1;

  background:
    radial-gradient(circle at 90% 0,rgba(37,99,235,.18),transparent 0 30%),
    linear-gradient(135deg,#061128,#07152f 48%,#111c46);
}

.lp-footer__grid{
  padding:42px 0 30px;

  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;

  gap:36px;
}

.lp-footer__brand p{
  max-width:350px;

  margin:15px 0 0;

  color:#94a3b8;

  font-weight:600;

  line-height:1.75;
}

.lp-footer__grid > div:not(.lp-footer__brand){
  display:flex;
  flex-direction:column;

  gap:9px;
}

.lp-footer__grid > div > strong{
  margin-bottom:5px;

  color:#fff;

  font-weight:900;
}

.lp-footer__grid > div > a{
  color:#cbd5e1;

  font-weight:700;

  transition:.2s ease;
}

.lp-footer__grid > div > a:hover{
  color:#67e8f9;
}

.lp-footer__bottom{
  padding:18px 0 24px;

  color:#94a3b8;

  font-size:.78rem;
  font-weight:600;

  border-top:1px solid rgba(255,255,255,.08);
}


/* ================= RESPONSIVE ================= */

@media(max-width:920px){

  .lp-nav{
    gap:15px;
  }

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

  .lp-toc{
    position:relative;
    top:auto;

    display:grid;
    grid-template-columns:repeat(2,1fr);
  }

  .lp-toc > strong{
    grid-column:1 / 3;
  }
}

@media(max-width:720px){

  body.lp-page{
    padding-top:72px;
  }

  .lp-header__inner{
    min-height:72px;
  }

  .lp-nav{
    display:none;
  }

  .lp-header__cta{
    padding:10px 15px;

    font-size:.8rem;
  }

  .lp-hero{
    padding:56px 0 50px;
  }

  .lp-hero h1{
    font-size:2.8rem;
  }

  .lp-two,
  .lp-contact-links{
    grid-template-columns:1fr;
  }

  .lp-footer__grid{
    grid-template-columns:1fr 1fr;
  }

  .lp-footer__brand{
    grid-column:1 / 3;
  }
}

@media(max-width:520px){

  .lp-container{
    width:min(100% - 26px,1180px);
  }

  .lp-brand span{
    display:none;
  }

  .lp-header__cta{
    font-size:.74rem;
  }

  .lp-hero h1{
    font-size:2.35rem;
  }

  .lp-hero p{
    font-size:.96rem;
  }

  .lp-section{
    padding-bottom:60px;
  }

  .lp-toc{
    grid-template-columns:1fr;
  }

  .lp-toc > strong{
    grid-column:auto;
  }

  .lp-card{
    padding:23px 19px;
  }

  .lp-card h2{
    font-size:1.35rem;
  }

  .lp-footer__grid{
    grid-template-columns:1fr;
  }

  .lp-footer__brand{
    grid-column:auto;
  }
}
