:root{
    --teal-900:#0B3B37;
    --teal-800:#0F4A44;
    --teal-700:#146B62;
    --teal-600:#1B8378;
    --teal-100:#E4EEEC;
    --teal-50:#F3F8F7;
    --gold-600:#B8874F;
    --gold-500:#C99B65;
    --ink-900:#0F2422;
    --ink-600:#4B5F5C;
    --line:#DCE6E3;
    --white:#FFFFFF;
    --shadow: 0 20px 50px -20px rgba(11,59,55,0.25);
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'IBM Plex Sans Arabic', sans-serif;
    color:var(--ink-900);
    background:var(--white);
    line-height:1.7;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,h4{font-family:'Almarai', sans-serif; font-weight:800; color:var(--teal-900); line-height:1.3;}
  a{text-decoration:none; color:inherit;}
  img{max-width:100%; display:block;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 24px;}
  ::selection{background:var(--gold-500); color:var(--white);}

  /* ---------- HEADER ---------- */
  header{
    position:sticky; top:0; z-index:100;
    background:rgba(255,255,255,0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  .nav-inner{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 24px; max-width:1180px; margin:0 auto;
  }
  .logo{display:flex; align-items:center; gap:10px;}
  .logo-mark{
    width:42px; height:42px; border-radius:12px;
    background:linear-gradient(135deg, var(--teal-700), var(--teal-900));
    display:flex; align-items:center; justify-content:center;
    color:var(--white); font-family:'Almarai'; font-weight:800; font-size:18px;
    flex-shrink:0;
  }
  .logo-text{font-family:'Almarai'; font-weight:800; font-size:18px; color:var(--teal-900);}
  .logo-text span{display:block; font-family:'IBM Plex Sans Arabic'; font-weight:400; font-size:11px; color:var(--gold-600); letter-spacing:.5px;}
  nav ul{list-style:none; display:flex; gap:32px;}
  nav a{font-size:15px; font-weight:500; color:var(--ink-600); transition:color .2s;}
  nav a:hover{color:var(--teal-700);}
  .nav-cta{
    background:var(--teal-900); color:var(--white); padding:11px 24px;
    border-radius:999px; font-weight:700; font-size:14px;
    display:flex; align-items:center; gap:8px; transition:background .2s;
  }
  .nav-cta:hover{background:var(--teal-700);}
  .nav-toggle{display:none;}

  /* ---------- HERO ---------- */
  .hero{
    background:radial-gradient(circle at 85% 20%, rgba(201,155,101,0.18), transparent 45%),
               linear-gradient(180deg, var(--teal-900) 0%, #0A302C 100%);
    color:var(--white); position:relative; overflow:hidden;
    padding:120px 0 70px;
  }
  .hero-net{position:absolute; inset:0; opacity:.5; pointer-events:none;}
  .hero-inner{position:relative; z-index:2; text-align:center; max-width:820px; margin:0 auto;}
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.18);
    padding:8px 18px; border-radius:999px; font-size:13px; font-weight:600;
    color:var(--gold-500); margin-bottom:24px;
  }
  .eyebrow .dot{width:6px; height:6px; border-radius:50%; background:var(--gold-500);}
  .hero h1{font-size:clamp(32px, 5vw, 52px); color:var(--white); margin-bottom:20px;}
  .hero h1 em{font-style:normal; color:var(--gold-500);}
  .hero p{font-size:17px; color:rgba(255,255,255,0.78); max-width:620px; margin:0 auto 36px; font-weight:300;}
  .hero-ctas{display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-bottom:56px;}
  .btn{
    display:inline-flex; align-items:center; gap:10px; padding:14px 28px;
    border-radius:999px; font-weight:700; font-size:15px; transition:all .25s; cursor:pointer; border:none;
  }
  .btn-gold{background:var(--gold-600); color:var(--white);}
  .btn-gold:hover{background:var(--gold-500); transform:translateY(-2px);}
  .btn-outline{background:transparent; border:1.5px solid rgba(255,255,255,0.35); color:var(--white);}
  .btn-outline:hover{border-color:var(--white); background:rgba(255,255,255,0.06);}
  .btn-teal{background:var(--teal-700); color:var(--white);}
  .btn-teal:hover{background:var(--teal-600); transform:translateY(-2px);}

  .hero-stats{
    display:grid; grid-template-columns:repeat(4,1fr); gap:0;
    border-top:1px solid rgba(255,255,255,0.15); padding-top:36px;
  }
  .hero-stats div{text-align:center; border-left:1px solid rgba(255,255,255,0.12);}
  .hero-stats div:last-child{border-left:none;}
  .stat-num{font-family:'Almarai'; font-weight:800; font-size:30px; color:var(--white);}
  .stat-num span{color:var(--gold-500);}
  .stat-label{font-size:12.5px; color:rgba(255,255,255,0.6); margin-top:4px;}

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px 6px 22px;
    border-radius: 999px;
    font-family: 'Work Sans',sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: transform 550ms var(--ease), box-shadow 550ms var(--ease);
    white-space: nowrap;
  }

  .btn-primary {
    background: #fff;
  color: var(--teal-deep);
  }
  .btn-ghost {
    border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  }

  /* ---------- NETWORK / SIGNATURE SECTION ---------- */
  .network{padding:80px 0 40px; text-align:center;}
  .network .kicker{color:var(--gold-600); font-weight:700; font-size:13px; letter-spacing:1px; margin-bottom:10px; display:block;}
  .network h2{font-size:clamp(26px,3.4vw,38px); max-width:680px; margin:0 auto 16px;}
  .network > p{color:var(--ink-600); max-width:560px; margin:0 auto 50px; font-size:15.5px;}

  .thread-wrap{position:relative; max-width:1000px; margin:0 auto;}
  .thread-svg{width:100%; height:auto; display:block;}
  .thread-svg path{
    stroke-dasharray:1400; stroke-dashoffset:1400;
    animation:draw 2.4s ease forwards .3s;
  }
  @keyframes draw{to{stroke-dashoffset:0;}}
  .thread-node{fill:var(--white); stroke:var(--teal-700); stroke-width:3;}
  .thread-node.gold{stroke:var(--gold-600);}

  /* ---------- BRANCHES ---------- */
  .branches{padding:20px 0 90px;}
  .branch-grid{
    display:grid; grid-template-columns:repeat(3, 1fr); gap:28px; margin-top:20px;
  }
  .branch-card{
    border:1px solid var(--line); border-radius:22px; overflow:hidden;
    background:var(--white); box-shadow:var(--shadow);
    display:flex; flex-direction:column; transition:transform .3s, box-shadow .3s;
    position:relative;
  }
  .branch-card:hover{transform:translateY(-6px); box-shadow:0 28px 60px -18px rgba(11,59,55,0.3);}
  .branch-media{
    height:170px; position:relative;
    background:linear-gradient(135deg, var(--teal-800), var(--teal-600));
    display:flex; align-items:center; justify-content:center;
    overflow:hidden;
  }
  .branch-media svg{width:80px; height:80px; opacity:.9;}
  .branch-city-tag{
    position:absolute; top:16px; right:16px;
    background:rgba(255,255,255,0.15); backdrop-filter:blur(6px);
    color:var(--white); font-size:12px; font-weight:700; padding:6px 14px;
    border-radius:999px; border:1px solid rgba(255,255,255,0.3);
  }
  .branch-index{
    position:absolute; bottom:14px; left:16px; font-family:'Almarai'; font-weight:800;
    color:rgba(255,255,255,0.35); font-size:36px; line-height:1;
  }
  .branch-body{padding:26px 24px 24px; display:flex; flex-direction:column; gap:16px; flex:1;}
  .branch-body h3{font-size:20px;}
  .branch-sub{font-size:13px; color:var(--gold-600); font-weight:700;}
  .branch-detail{display:flex; align-items:flex-start; gap:10px; font-size:14px; color:var(--ink-600);}
  .branch-detail svg{width:18px; height:18px; flex-shrink:0; margin-top:2px; color:var(--teal-700);}
  .branch-tags{display:flex; flex-wrap:wrap; gap:6px; margin-top:2px;}
  .branch-tags span{
    background:var(--teal-50); color:var(--teal-800); font-size:11.5px; font-weight:600;
    padding:5px 11px; border-radius:8px; border:1px solid var(--teal-100);
  }
  .branch-actions{display:flex; gap:10px; margin-top:auto; padding-top:6px;}
  .branch-actions a{
    flex:1; text-align:center; padding:11px; border-radius:12px; font-size:13.5px; font-weight:700;
    display:flex; align-items:center; justify-content:center; gap:6px; transition:.2s;
  }
  .act-primary{background:var(--teal-900); color:var(--white);}
  .act-primary:hover{background:var(--teal-700);}
  .act-secondary{background:var(--teal-50); color:var(--teal-800); border:1px solid var(--teal-100);}
  .act-secondary:hover{background:var(--teal-100);}

  .placeholder-badge{
    position:absolute; top:14px; left:14px; z-index:3;
    background:var(--gold-600); color:var(--white); font-size:10.5px; font-weight:700;
    padding:5px 10px; border-radius:999px; box-shadow:0 4px 10px rgba(184,135,79,.4);
  }
  .placeholder-note{
    font-size:11.5px; color:var(--gold-600); background:#FBF4EC; border:1px dashed var(--gold-500);
    padding:8px 10px; border-radius:8px; margin-top:2px;
  }

  /* ---------- INSURANCE ---------- */
  .insurance{background:var(--teal-50); padding:56px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .insurance-inner{text-align:center;}
  .insurance h4{font-size:14px; color:var(--ink-600); font-weight:600; margin-bottom:26px;}
  .insurance-logos{
    display:flex; justify-content:center; flex-wrap:wrap; gap:14px;
  }
  .insurance-logos span{
    background:var(--white); border:1px solid var(--line); padding:10px 20px;
    border-radius:10px; font-size:13.5px; font-weight:700; color:var(--teal-800);
  }

  /* ---------- CTA STRIP ---------- */
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }


  .cta-band {
    background: var(--teal-deep);
    border-radius: 36px;
    margin: 0 32px;
    padding: 70px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
  }

  .reveal {
    opacity: 0;
    transform: translateY(46px);
    filter: blur(6px);
    transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease);
  }

  .cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
  }


  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-tint);
    border: 1px solid rgba(11,110,99,0.18);
      border-top-color: rgba(11, 110, 99, 0.18);
      border-right-color: rgba(11, 110, 99, 0.18);
      border-bottom-color: rgba(11, 110, 99, 0.18);
      border-left-color: rgba(11, 110, 99, 0.18);
    padding: 7px 14px 7px 10px;
    border-radius: 999px;
    font-weight: 500;
    margin-bottom: 0;
  }

  .cta-band h2 {
    color: #fff;
    font-size: clamp(24px, 3vw, 36px);
    max-width: 560px;
  }

  .cta-band p {
    color: #B7CCC5;
    margin-top: 12px;
    font-size: 14.5px;
    max-width: 440px;
  }

  
.cta-band::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
  
    background: radial-gradient(circle, rgba(127, 217, 182, 0.16), transparent 70%);
  
  }

  .cta-band .btn-primary {
    background: #fff;
    color: var(--teal-deep);
  }

  .btn-primary:hover {
    box-shadow: var(--shadow-tiny);
  }

  .cta-band .btn-primary .ic {
    background: var(--teal-tint);
    color: var(--teal-deep);
  }

  .btn .ic {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    transition: transform 550ms var(--ease);
  }

  .btn .ic svg {
    width: 15px;
    height: 15px;
  }

  .cta-band .btn-ghost {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;

    border-width: 1px;
  border-style: solid;
  }
.maplibregl-canvas{
  border-radius: 20px;
}
  .btn-ghost {
    border: 1.5px solid var(--line) !important;
  color: var(--line) !important;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding:12px 12px 12px 12px;
    border-radius: 999px;
    font-family: 'Work Sans',sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: transform 550ms var(--ease), box-shadow 550ms var(--ease);
    white-space: nowrap;
  }

  .cta-band .btn-ghost .ic {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .cta-band .btn-ghost {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
  }


  /* ---------- FLOATING WHATSAPP ---------- */
  .float-wa{
    position:fixed; bottom:24px; left:24px; z-index:200;
    width:56px; height:56px; border-radius:50%; background:#1EA952;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 10px 26px rgba(30,169,82,0.45);
    transition:transform .2s;
  }
  .float-wa:hover{transform:scale(1.08);}

  /* ---------- RESPONSIVE ---------- */
  @media (max-width:980px){
    .branch-grid{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr 1fr;}
    .hero-stats{grid-template-columns:repeat(2,1fr); row-gap:24px;}
    .hero-stats div:nth-child(2){border-left:none;}
    nav ul{display:none;}
  }
  @media (max-width:640px){
    .footer-grid{grid-template-columns:1fr;}
    .footer-bottom{flex-direction:column; align-items:flex-start;}
    .insurance-logos span{font-size:12px; padding:8px 14px;}
  }

  @media (prefers-reduced-motion: reduce){
    *{animation:none !important; transition:none !important;}
  }