/* /khalwati-public-assets/fonts/khalwati-fonts-02.css */
/* Khalwati 02 — local font shared with Flutter V123. No external font request. */
@font-face{font-family:'Tajawal';font-style:normal;font-weight:400;font-display:swap;src:url('/khalwati-public-assets/fonts/Tajawal-Regular.woff2') format('woff2')}

/* /khalwati-public-assets/home-v9-3-recovery.css */

:root{
  --v9-cream:#fbf8f1;
  --v9-cream-2:#f5efe2;
  --v9-panel:#fffdf8;
  --v9-green:#083f38;
  --v9-green-2:#0a594f;
  --v9-gold:#bb8a2f;
  --v9-text:#14342f;
  --v9-muted:#6b7a76;
  --v9-border:rgba(187,138,47,.26);
  --v9-shadow:0 18px 46px rgba(7,41,37,.08);
  --v9-radius-xl:36px;
  --v9-radius-lg:26px;
  --v9-width:1240px;
}

*,
*::before,
*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:hidden;
  background:
    radial-gradient(circle at top left, rgba(187,138,47,.06), transparent 24rem),
    linear-gradient(180deg,#fffdf8 0%, var(--v9-cream) 100%);
  color:var(--v9-text);
  font-family:'Tajawal',system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img,svg,video,canvas{
  display:block;
  max-width:100%;
  height:auto;
}

a{color:inherit;text-decoration:none}

.v9-skip{
  position:absolute;
  inset-inline-start:12px;
  top:-56px;
  z-index:9999;
  padding:10px 16px;
  border-radius:999px;
  background:#fff;
  color:var(--v9-green);
  box-shadow:var(--v9-shadow);
}
.v9-skip:focus{top:12px}

.v9-container{
  width:min(100% - 40px, var(--v9-width));
  margin-inline:auto;
}

.v9-hero{
  position:relative;
  overflow:hidden;
  padding:32px 0 20px;
}
.v9-pattern{
  position:absolute;
  inset:0;
  opacity:.33;
  pointer-events:none;
  background:
    linear-gradient(30deg, transparent 46%, rgba(187,138,47,.045) 46.5%, rgba(187,138,47,.045) 47.2%, transparent 47.7%) center/116px 116px,
    linear-gradient(-30deg, transparent 46%, rgba(187,138,47,.04) 46.5%, rgba(187,138,47,.04) 47.2%, transparent 47.7%) center/116px 116px;
}
.v9-hero-shell{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(240px,.75fr);
  align-items:center;
  gap:34px;
  min-width:0;
  border:1px solid rgba(187,138,47,.16);
  border-radius:var(--v9-radius-xl);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(252,248,240,.96));
  box-shadow:var(--v9-shadow);
  padding:44px 50px;
}
.v9-hero-shell::before{
  content:"";
  position:absolute;
  inset-block-start:0;
  inset-inline:24px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(187,138,47,.15), rgba(187,138,47,.85), rgba(187,138,47,.15));
}
.v9-hero-copy{min-width:0}
.v9-kicker{
  margin:0 0 8px;
  color:var(--v9-gold);
  font-weight:700;
  letter-spacing:.01em;
  font-size:clamp(14px,1.1vw,22px);
}
.v9-hero h1{
  margin:0;
  color:var(--v9-green);
  font-weight:800;
  letter-spacing:-.04em;
  font-size:clamp(46px,5.3vw,80px);
  line-height:1.07;
}
.v9-hero h2{
  margin:12px 0 0;
  color:var(--v9-gold);
  font-size:clamp(28px,3vw,52px);
  line-height:1.2;
  font-weight:700;
}
.v9-lead{
  margin:18px 0 0;
  max-width:18em;
  color:var(--v9-muted);
  font-size:clamp(18px,1.6vw,28px);
  line-height:1.8;
}
.v9-hero-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:22px 0 0;
  padding:0;
  list-style:none;
}
.v9-hero-tags li{
  padding:10px 16px;
  border:1px solid rgba(11,76,67,.12);
  border-radius:999px;
  background:rgba(255,255,255,.75);
  color:var(--v9-green);
  font-size:clamp(14px,1vw,18px);
  font-weight:700;
}

.v9-hero-media{min-width:0}
.v9-logo-card{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:300px;
}
.v9-logo-card img{
  position:relative;
  z-index:2;
  width:min(100%, 285px);
  filter:drop-shadow(0 18px 32px rgba(111,80,23,.18));
}
.v9-glow{
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(187,138,47,.14);
}
.v9-glow-a{width:76%;aspect-ratio:1}
.v9-glow-b{width:92%;aspect-ratio:1;opacity:.7}

.v9-section{
  position:relative;
  padding:24px 0 18px;
  overflow:hidden;
}
.v9-section-head{
  text-align:center;
  margin-bottom:22px;
}
.v9-section-head h2{
  margin:0;
  color:var(--v9-green);
  font-size:clamp(34px,3.6vw,62px);
  line-height:1.15;
}
.v9-divider{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-top:12px;
  color:var(--v9-gold);
}
.v9-divider span{
  width:min(14vw,100px);
  height:1.6px;
  background:linear-gradient(90deg, transparent, rgba(187,138,47,.55), transparent);
}
.v9-divider b{font-size:16px;font-weight:700}

.v9-sheikh-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  min-width:0;
}
.v9-sheikh-card{
  min-width:0;
  padding:10px 10px 14px;
  border:1px solid var(--v9-border);
  border-radius:24px;
  background:rgba(255,255,255,.75);
  box-shadow:0 14px 28px rgba(12,53,47,.06);
  text-align:center;
}
.v9-sheikh-card img{
  width:100%;
  border-radius:18px;
}
.v9-sheikh-card h3{
  margin:10px 6px 0;
  color:var(--v9-text);
  font-size:clamp(18px,1.4vw,24px);
  line-height:1.45;
  font-weight:700;
}

.v9-entry-panel{
  margin-top:22px;
  padding:28px 22px 24px;
  border:1px solid rgba(187,138,47,.24);
  border-radius:30px;
  background:
    radial-gradient(circle at top center, rgba(187,138,47,.07), transparent 20rem),
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(252,248,240,.98));
  box-shadow:0 16px 34px rgba(8,63,56,.06);
  text-align:center;
}
.v9-entry-ornament{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  margin-bottom:10px;
  border-radius:50%;
  background:rgba(187,138,47,.1);
  color:var(--v9-gold);
  font-size:18px;
}
.v9-entry-quote{
  margin:0;
  color:var(--v9-green);
  font-size:clamp(26px,2.4vw,42px);
  line-height:1.65;
  font-weight:700;
}
.v9-entry-btn{
  display:block;
  width:min(100%, 720px);
  margin:18px auto 0;
  min-height:68px;
  padding:18px 24px;
  border-radius:24px;
  color:#fff;
  background:linear-gradient(135deg, var(--v9-green), var(--v9-green-2));
  box-shadow:0 18px 34px rgba(8,63,56,.14);
  font-size:clamp(22px,1.9vw,34px);
  font-weight:800;
  line-height:1.15;
  transition:transform .18s ease, box-shadow .18s ease;
}
.v9-entry-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 20px 38px rgba(8,63,56,.18);
}

.v9-footer{
  border-top:1px solid rgba(187,138,47,.18);
  background:rgba(255,253,248,.9);
}
.v9-footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:74px;
  padding:16px 0 max(16px, env(safe-area-inset-bottom));
  color:var(--v9-muted);
  font-size:15px;
}
.v9-footer-inner p{margin:0}
.v9-footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.v9-footer-links a{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(187,138,47,.22);
  color:var(--v9-green);
  font-weight:700;
  background:rgba(255,255,255,.72);
}

@media (max-width:1020px){
  .v9-container{width:min(100% - 28px, var(--v9-width))}
  .v9-hero-shell{
    grid-template-columns:minmax(0,1fr) 240px;
    gap:22px;
    padding:34px 26px;
  }
  .v9-logo-card{min-height:250px}
  .v9-logo-card img{width:220px}
  .v9-sheikh-grid{gap:14px}
}

@media (max-width:720px){
  .v9-container{width:min(100% - 18px, var(--v9-width))}
  .v9-hero{padding-top:max(12px, env(safe-area-inset-top)); padding-bottom:14px}
  .v9-hero-shell{
    grid-template-columns:1fr;
    gap:10px;
    padding:18px 16px 16px;
    border-radius:24px;
  }
  .v9-hero-shell::before{inset-inline:16px}
  .v9-hero-copy{
    order:2;
    text-align:center;
  }
  .v9-kicker{margin-bottom:6px;font-size:13px}
  .v9-hero h1{
    font-size:clamp(31px, 10vw, 44px);
    line-height:1.14;
  }
  .v9-hero h2{
    margin-top:8px;
    font-size:clamp(18px, 6vw, 28px);
  }
  .v9-lead{
    margin-top:10px;
    max-width:none;
    font-size:16px;
    line-height:1.8;
  }
  .v9-hero-tags{
    justify-content:center;
    gap:8px;
    margin-top:14px;
  }
  .v9-hero-tags li{
    padding:8px 12px;
    font-size:12.5px;
  }
  .v9-hero-media{order:1}
  .v9-logo-card{min-height:144px}
  .v9-logo-card img{width:126px}
  .v9-glow-a{width:132px}
  .v9-glow-b{width:152px}

  .v9-section{padding-top:18px;padding-bottom:14px}
  .v9-section-head{margin-bottom:16px}
  .v9-section-head h2{
    font-size:clamp(28px, 8.4vw, 38px);
  }
  .v9-divider{margin-top:8px}

  .v9-sheikh-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px;
  }
  .v9-sheikh-card{
    padding:5px 5px 8px;
    border-radius:16px;
  }
  .v9-sheikh-card img{border-radius:12px}
  .v9-sheikh-card h3{
    margin:6px 2px 0;
    font-size:10.8px;
    line-height:1.38;
  }

  .v9-entry-panel{
    margin-top:16px;
    padding:18px 12px 14px;
    border-radius:22px;
  }
  .v9-entry-ornament{
    width:34px;height:34px;margin-bottom:8px;font-size:15px;
  }
  .v9-entry-quote{
    font-size:clamp(20px,6.4vw,28px);
    line-height:1.7;
  }
  .v9-entry-btn{
    width:100%;
    min-height:58px;
    margin-top:14px;
    padding:14px 12px;
    border-radius:18px;
    font-size:20px;
  }

  .v9-footer-inner{
    flex-direction:column;
    justify-content:center;
    text-align:center;
    min-height:0;
    gap:8px;
    padding-block:14px max(14px, env(safe-area-inset-bottom));
    font-size:13px;
  }
  .v9-footer-links{justify-content:center}
  .v9-footer-links a{font-size:13px;padding:7px 10px}
}

@media (max-width:359px){
  .v9-container{width:min(100% - 12px, var(--v9-width))}
  .v9-sheikh-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .v9-logo-card img{width:112px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}


/* =========================================================
   KHALWATI V9.3 — PREMIUM SHEIKHS + ENTRY CTA
   ========================================================= */
.v9-sheikhs-premium{
  padding-top:24px;
  padding-bottom:22px;
}
.v9-sheikhs-premium::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 0%, rgba(187,138,47,.075), transparent 24rem),
    linear-gradient(180deg, rgba(255,255,255,0), rgba(187,138,47,.025));
}
.v9-sheikhs-premium .v9-container{position:relative;z-index:1}

.v9-sheikh-grid{
  grid-template-columns:repeat(3,minmax(0,215px));
  justify-content:center;
  gap:14px;
}
.v9-sheikh-card{
  position:relative;
  padding:6px 6px 11px;
  border-radius:20px;
  border:1px solid rgba(187,138,47,.34);
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(251,247,238,.98));
  box-shadow:0 12px 24px rgba(8,63,56,.05),inset 0 0 0 1px rgba(255,255,255,.82);
}
.v9-sheikh-card::before{
  content:"";
  position:absolute;
  inset:4px;
  border:1px solid rgba(187,138,47,.14);
  border-radius:15px;
  pointer-events:none;
}
.v9-sheikh-card img{
  position:relative;
  z-index:1;
  width:100%;
  border-radius:13px;
}
.v9-sheikh-card h3{
  position:relative;
  z-index:1;
  margin:7px 3px 0;
  font-size:clamp(14px,1.05vw,19px);
  line-height:1.38;
  font-weight:700;
}

.v9-entry-panel{
  position:relative;
  overflow:hidden;
  width:min(100%,900px);
  margin:26px auto 0;
  padding:30px 26px 24px;
  border:1px solid rgba(187,138,47,.30);
  border-radius:30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(210,171,84,.12), transparent 20rem),
    linear-gradient(145deg, rgba(255,255,255,.99), rgba(248,242,229,.98));
  box-shadow:0 20px 40px rgba(8,63,56,.07),inset 0 1px 0 rgba(255,255,255,.92);
}
.v9-entry-panel::after{
  content:"";
  position:absolute;
  width:250px;
  height:250px;
  border-radius:50%;
  inset-inline-end:-118px;
  bottom:-168px;
  border:1px solid rgba(187,138,47,.11);
  box-shadow:0 0 0 24px rgba(187,138,47,.026),0 0 0 48px rgba(187,138,47,.016);
}
.v9-entry-rule{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:var(--v9-gold);
  margin-bottom:10px;
}
.v9-entry-rule span{
  width:min(120px,18vw);
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(187,138,47,.55),transparent);
}
.v9-entry-rule b{font-size:16px}
.v9-entry-quote{
  position:relative;
  z-index:1;
  margin:0;
  color:var(--v9-green);
  font-size:clamp(25px,2.2vw,39px);
  line-height:1.65;
  font-weight:500;
}
.v9-entry-quote strong{font-weight:800}
.v9-entry-sub{
  position:relative;
  z-index:1;
  width:min(100%,670px);
  margin:10px auto 0;
  color:var(--v9-muted);
  font-size:clamp(14px,1vw,17px);
  line-height:1.7;
}
.v9-entry-btn{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  width:min(100%,760px);
  min-height:72px;
  margin:19px auto 0;
  padding:18px 28px;
  border-radius:22px;
  color:#fff;
  background:linear-gradient(135deg,#073a34 0%,#0a594f 62%,#0f6b60 100%);
  box-shadow:0 18px 32px rgba(8,63,56,.18),inset 0 1px 0 rgba(255,255,255,.10);
  font-size:clamp(22px,1.75vw,31px);
  font-weight:800;
  line-height:1.15;
}
.v9-entry-btn b{
  font-size:1.15em;
  font-weight:400;
  transition:transform .18s ease;
}
.v9-entry-btn:hover b{transform:translateX(-4px)}
.v9-entry-btn:hover{transform:translateY(-1px)}

@media(max-width:1020px){
  .v9-sheikh-grid{
    grid-template-columns:repeat(3,minmax(0,178px));
    gap:11px;
  }
  .v9-entry-panel{width:min(100%,760px)}
}

@media(max-width:720px){
  .v9-sheikhs-premium{padding-top:15px;padding-bottom:18px}
  .v9-sheikh-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
  }
  .v9-sheikh-card{
    padding:4px 4px 7px;
    border-radius:13px;
  }
  .v9-sheikh-card::before{
    inset:3px;
    border-radius:10px;
  }
  .v9-sheikh-card img{border-radius:9px}
  .v9-sheikh-card h3{
    margin-top:5px;
    font-size:10px;
    line-height:1.34;
  }
  .v9-entry-panel{
    width:100%;
    margin-top:15px;
    padding:17px 11px 13px;
    border-radius:20px;
  }
  .v9-entry-rule{margin-bottom:6px}
  .v9-entry-quote{
    font-size:clamp(20px,6.1vw,27px);
    line-height:1.62;
  }
  .v9-entry-sub{
    margin-top:6px;
    font-size:12px;
    line-height:1.5;
  }
  .v9-entry-btn{
    width:100%;
    min-height:60px;
    margin-top:13px;
    padding:14px 12px;
    border-radius:16px;
    font-size:19px;
    gap:9px;
  }
}

@media(max-width:359px){
  .v9-sheikh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v9-entry-sub{font-size:11.5px}
}

