:root {
  --ink: #241416;
  --ink-2: #382124;
  --burgundy: #6f2732;
  --burgundy-deep: #4d1b24;
  --rose: #c58d83;
  --paper: #f5e3d9;
  --paper-soft: #fbf5f0;
  --paper-dark: #ead0c3;
  --gold: #b58b52;
  --white: #fffdfb;
  --muted: #715f60;
  --border: rgba(47, 27, 29, .12);
  --shadow: 0 28px 80px rgba(49, 25, 29, .14);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --font-main: "Alexandria", "Noto Kufi Arabic", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper-soft);
  color: var(--ink);
  font-family: var(--font-main);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.install-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

/* Small Bootstrap-compatible fallback utilities */
.container { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.row { display: flex; flex-wrap: wrap; margin-inline: -12px; }
.row > * { padding-inline: 12px; }
.col-lg-5, .col-lg-6, .col-lg-7 { width: 100%; }
.align-items-center { align-items: center; }
.align-items-end { align-items: flex-end; }
.gy-5 { row-gap: 3rem; }
.gy-3 { row-gap: 1rem; }
.mb-5 { margin-bottom: 3rem; }
.w-100 { width: 100%; }
.flex-grow-1 { flex-grow: 1; }
.navbar { display: flex; align-items: center; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-nav { list-style: none; padding: 0; margin: 0; }
.navbar-collapse { align-items: center; flex-grow: 1; }
.navbar-toggler { display: none; }
.me-auto { margin-inline-end: auto; }

.skip-link {
  position: fixed; top: -80px; right: 20px; z-index: 9999;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.page-loader {
  position: fixed; inset: 0; z-index: 9998; display: grid; place-items: center;
  background: var(--paper); transition: opacity .45s ease, visibility .45s ease;
}
.page-loader.loaded { opacity: 0; visibility: hidden; }
.loader-mark { display: flex; gap: 8px; align-items: flex-end; height: 42px; }
.loader-mark span { width: 9px; border-radius: 10px; background: var(--ink); animation: loaderBars .8s ease-in-out infinite alternate; }
.loader-mark span:nth-child(1) { height: 18px; }
.loader-mark span:nth-child(2) { height: 34px; animation-delay: .12s; }
.loader-mark span:nth-child(3) { height: 25px; animation-delay: .24s; }
@keyframes loaderBars { to { height: 42px; background: var(--burgundy); } }

.site-header {
  position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
  padding: 14px 0; transition: .35s ease;
}
.site-header.scrolled {
  padding: 8px 0; background: rgba(251, 245, 240, .88);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border); box-shadow: 0 8px 30px rgba(42, 23, 24, .06);
}
.brand { display: inline-flex; align-items: center; border-radius: 12px; overflow: hidden; }
.brand img { width: 170px; height: auto; display: block; }
.navbar-collapse { display: flex; justify-content: flex-end; gap: 22px; }
.navbar-nav { display: flex; align-items: center; gap: 2px; }
.nav-link { display: block; padding: 10px 13px; font-size: .88rem; font-weight: 500; color: #594649; border-radius: 12px; transition: .25s; }
.nav-link:hover, .nav-link.active { color: var(--burgundy); background: rgba(111, 39, 50, .07); }

.btn {
  border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 14px; padding: 12px 20px; font-weight: 700; line-height: 1.3;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-brand { color: #fff; background: linear-gradient(135deg, var(--burgundy), var(--burgundy-deep)); box-shadow: 0 14px 30px rgba(111, 39, 50, .24); }
.btn-brand:hover { color: #fff; box-shadow: 0 18px 36px rgba(111, 39, 50, .32); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.52); border: 1px solid rgba(42, 23, 24, .15); }
.btn-muted { color: var(--ink); background: #eee4df; }
.btn-lg { min-height: 54px; padding-inline: 24px; }

.hero {
  min-height: 100vh; position: relative; overflow: hidden; display: flex; align-items: center;
  background:
    radial-gradient(circle at 76% 28%, rgba(197, 141, 131, .26), transparent 28%),
    radial-gradient(circle at 15% 20%, rgba(181, 139, 82, .12), transparent 22%),
    linear-gradient(135deg, #fffaf6 0%, #f5e3d9 56%, #efd5ca 100%);
  padding: 150px 0 90px;
}
.hero-noise { position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E"); }
.hero-orbit { position: absolute; border: 1px solid rgba(78, 32, 38, .09); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 620px; height: 620px; left: -250px; bottom: -310px; }
.orbit-two { width: 280px; height: 280px; right: -80px; top: 12%; border-style: dashed; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-container { position: relative; z-index: 2; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--burgundy); font-size: .82rem; font-weight: 700; letter-spacing: .01em; }
.eyebrow { padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.55); border: 1px solid rgba(111,39,50,.1); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--burgundy); box-shadow: 0 0 0 6px rgba(111,39,50,.1); }
.hero h1 { font-size: clamp(2.7rem, 5.8vw, 5.5rem); line-height: 1.17; letter-spacing: -.055em; margin: 22px 0; font-weight: 800; }
.text-accent { position: relative; color: var(--burgundy); }
.text-accent::after { content: ""; position: absolute; right: 0; left: 0; bottom: 3px; height: 9px; background: rgba(181,139,82,.25); z-index: -1; transform: skewX(-12deg); }
.hero-lead { font-size: 1.04rem; max-width: 620px; color: #655154; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(42,23,24,.12); max-width: 580px; }
.trust-item { display: grid; gap: 2px; }
.trust-item strong { font-size: 1.3rem; color: var(--ink); }
.trust-item span { color: var(--muted); font-size: .73rem; }
.trust-separator { width: 1px; height: 38px; background: rgba(42,23,24,.14); }

.hero-art { position: relative; min-height: 560px; display: grid; place-items: center; }
.art-glow { position: absolute; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,255,255,0) 68%); filter: blur(2px); }
.book-scene { position: relative; width: min(470px, 90vw); height: 420px; perspective: 1200px; transform-style: preserve-3d; animation: sceneFloat 6s ease-in-out infinite; }
@keyframes sceneFloat { 50% { transform: translateY(-10px) rotateZ(.6deg); } }
.book { position: absolute; border-radius: 12px 6px 6px 12px; box-shadow: 0 25px 45px rgba(42,23,24,.22); overflow: hidden; }
.book::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 0 42%, rgba(255,255,255,.15) 50%, transparent 58%); transform: translateX(-120%); animation: bookShine 5s ease-in-out infinite; }
@keyframes bookShine { 45%,100% { transform: translateX(120%); } }
.book-back { width: 320px; height: 190px; right: 20px; top: 155px; background: #c29487; transform: rotate(-13deg); color: #fff; display: flex; align-items: flex-end; padding: 24px; font-weight: 700; }
.book-mid { width: 330px; height: 210px; left: 14px; top: 116px; background: var(--ink-2); transform: rotate(8deg); color: var(--paper); display: flex; align-items: flex-end; padding: 24px; font-weight: 700; }
.book-front { width: 285px; height: 370px; right: 88px; top: 15px; padding: 34px 28px; color: #fff; background: linear-gradient(160deg, #7c303b, #43171e); transform: rotateY(-11deg) rotateZ(-2deg); border: 1px solid rgba(255,255,255,.16); }
.book-front::before { content: ""; position: absolute; top: 0; right: 16px; bottom: 0; width: 3px; background: rgba(255,255,255,.12); box-shadow: 5px 0 0 rgba(0,0,0,.1); }
.book-emblem { width: 78px; height: 78px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; display: grid; place-items: center; font-family: Georgia, serif; font-size: 2.6rem; margin-bottom: 55px; }
.book-title { font-size: 2.1rem; font-weight: 800; }
.book-line { width: 64px; height: 2px; background: var(--gold); margin: 16px 0; }
.book-front small { display: block; max-width: 190px; color: rgba(255,255,255,.72); line-height: 1.7; }
.paper-stack { position: absolute; width: 240px; height: 75px; left: 82px; bottom: 5px; transform: rotate(5deg); }
.paper-stack i { position: absolute; inset: 0; display: block; background: #fffaf2; border: 1px solid #dac2b6; border-radius: 4px 14px 14px 4px; box-shadow: 0 15px 25px rgba(42,23,24,.13); }
.paper-stack i:nth-child(2) { transform: translateY(8px) translateX(-5px); }
.paper-stack i:nth-child(3) { transform: translateY(16px) translateX(-10px); }
.ink-drop { position: absolute; width: 15px; height: 15px; background: var(--burgundy); border-radius: 70% 30% 70% 30%; opacity: .35; }
.ink-one { left: 15px; top: 62px; transform: rotate(25deg); }
.ink-two { right: 4px; bottom: 78px; transform: rotate(50deg) scale(.65); }
.floating-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 15px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 16px 35px rgba(42,23,24,.12); backdrop-filter: blur(10px); font-size: .77rem; font-weight: 700; animation: chipFloat 4.5s ease-in-out infinite; }
.chip-top { top: 11%; left: -2%; }
.chip-bottom { bottom: 10%; right: 2%; animation-delay: 1.3s; }
.chip-icon { width: 28px; height: 28px; display: grid; place-items: center; background: var(--paper); color: var(--burgundy); border-radius: 9px; }
@keyframes chipFloat { 50% { transform: translateY(-8px); } }
.scroll-cue { position: absolute; bottom: 22px; right: 50%; transform: translateX(50%); width: 28px; height: 45px; border: 1px solid rgba(42,23,24,.25); border-radius: 20px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 10px; background: var(--burgundy); animation: scrollCue 1.6s ease infinite; }
@keyframes scrollCue { 70% { transform: translateY(15px); opacity: 0; } }

.marquee-strip { overflow: hidden; background: var(--ink); color: var(--paper); padding: 16px 0; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 34px; animation: marquee 26s linear infinite; }
.marquee-track span { font-size: 1rem; font-weight: 700; white-space: nowrap; }
.marquee-track i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(50%); } }

.section { position: relative; padding: 110px 0; }
.section-heading { max-width: 720px; }
.section-heading h2 { font-size: clamp(2rem, 4.4vw, 3.65rem); line-height: 1.25; letter-spacing: -.035em; margin: 12px 0 18px; font-weight: 800; }
.section-heading p { color: var(--muted); margin: 0; font-size: 1rem; }
.section-heading-centered { text-align: center; margin-inline: auto; margin-bottom: 52px; }
.section-heading.light h2, .section-heading.light .section-kicker { color: #fff; }

.about-section { background: var(--paper-soft); }
.about-visual { position: relative; min-height: 510px; }
.about-frame { position: relative; min-height: 455px; overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(145deg, var(--ink), #4c292e); color: #fff; padding: 36px; box-shadow: var(--shadow); }
.about-frame::before { content: ""; position: absolute; width: 240px; height: 240px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; top: -120px; left: -70px; }
.frame-label { font-size: .68rem; letter-spacing: .28em; color: rgba(255,255,255,.52); direction: ltr; text-align: left; }
.open-book { position: relative; display: flex; align-items: center; justify-content: center; margin: 72px auto 35px; width: 300px; height: 145px; filter: drop-shadow(0 28px 28px rgba(0,0,0,.26)); }
.page { width: 145px; height: 130px; background: #faeee6; padding: 32px 24px 20px; }
.page-right { border-radius: 8px 3px 16px 4px; transform: skewY(5deg); }
.page-left { border-radius: 3px 8px 4px 16px; transform: skewY(-5deg); }
.page span { display: block; height: 3px; background: #cfb5aa; margin-bottom: 11px; border-radius: 4px; }
.page span:nth-child(2) { width: 80%; }
.page span:nth-child(3) { width: 90%; }
.page span:nth-child(4) { width: 63%; }
.book-spine { width: 7px; height: 135px; background: linear-gradient(#e1c7ba, #fff4ed, #d7bbad); z-index: 2; box-shadow: 0 0 12px rgba(42,23,24,.2); }
.quote-mark { position: absolute; right: 35px; bottom: 45px; color: var(--gold); font-family: Georgia, serif; font-size: 6rem; line-height: .5; opacity: .55; }
.about-frame p { position: relative; z-index: 2; max-width: 300px; margin: 0; color: rgba(255,255,255,.76); }
.about-badge { position: absolute; left: -28px; bottom: 8px; width: 148px; height: 148px; border-radius: 50%; background: var(--paper); color: var(--ink); border: 8px solid var(--paper-soft); display: grid; place-content: center; text-align: center; box-shadow: 0 15px 35px rgba(42,23,24,.15); }
.about-badge strong { color: var(--burgundy); font-size: 1.35rem; }
.about-badge span { font-size: .67rem; color: var(--muted); }
.purpose-grid { display: grid; gap: 16px; margin-top: 36px; }
.purpose-card { display: grid; grid-template-columns: 68px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,255,.57); transition: .3s ease; }
.purpose-card:hover { transform: translateX(-6px); background: #fff; box-shadow: 0 18px 40px rgba(42,23,24,.08); }
.purpose-number { color: var(--burgundy); font-weight: 800; font-size: 1.25rem; padding-top: 2px; }
.purpose-card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.purpose-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.services-section { background: #fffaf7; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { position: relative; overflow: hidden; min-height: 390px; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--paper-soft); border: 1px solid var(--border); transition: .35s ease; }
.service-card::before { content: ""; position: absolute; right: 0; left: 0; bottom: 0; height: 0; background: linear-gradient(150deg, var(--burgundy), var(--ink)); transition: height .4s ease; z-index: 0; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-9px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { height: 100%; }
.service-card:hover h3, .service-card:hover p, .service-card:hover .service-index { color: #fff; }
.service-card:hover .service-icon { background: rgba(255,255,255,.12); color: var(--paper); }
.service-card:hover .service-tag { color: var(--paper); border-color: rgba(255,255,255,.25); }
.service-featured { background: linear-gradient(150deg, var(--burgundy), var(--ink)); color: #fff; transform: translateY(-14px); }
.service-featured::before { background: linear-gradient(150deg, #7b303b, #2b1719); height: 100%; }
.service-featured p, .service-featured .service-index { color: rgba(255,255,255,.74); }
.service-featured .service-icon { background: rgba(255,255,255,.12); color: var(--paper); }
.service-featured .service-tag { color: var(--paper); border-color: rgba(255,255,255,.25); }
.service-index { color: #aa9693; font-weight: 700; font-size: .76rem; letter-spacing: .1em; }
.service-icon { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 21px; background: #ead7ce; color: var(--burgundy); margin: 46px 0 28px; transition: .35s; }
.service-icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.55rem; margin: 0 0 12px; transition: .35s; }
.service-card p { color: var(--muted); font-size: .87rem; margin: 0 0 24px; transition: .35s; }
.service-tag { display: inline-block; border: 1px solid var(--border); border-radius: 999px; padding: 7px 10px; color: var(--burgundy); font-size: .67rem; font-weight: 700; transition: .35s; }

.journey-section { overflow: hidden; background: var(--ink); color: #fff; }
.journey-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 25%, rgba(111,39,50,.55), transparent 30%), radial-gradient(circle at 85% 80%, rgba(181,139,82,.13), transparent 26%); }
.journey-section .container { position: relative; z-index: 2; }
.journey-bg-word { position: absolute; bottom: -100px; left: -20px; font-size: 28rem; line-height: 1; font-weight: 800; color: rgba(255,255,255,.018); pointer-events: none; }
.journey-intro { color: rgba(255,255,255,.62); margin: 0; }
.journey-line { position: relative; height: 2px; background: rgba(255,255,255,.12); margin: 10px 7% 0; }
.journey-line span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--rose)); transition: width .2s linear; }
.journey-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: -17px; }
.journey-step { position: relative; padding-top: 58px; }
.step-dot { position: absolute; top: 0; right: 7%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255,255,255,.25); color: var(--gold); font-weight: 700; font-size: .72rem; }
.journey-step h3 { font-size: 1.1rem; margin: 0 0 10px; }
.journey-step p { color: rgba(255,255,255,.57); font-size: .83rem; margin: 0; }

.values-section { background: var(--paper); }
.values-counter { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.counter-ring { flex: 0 0 auto; width: 118px; height: 118px; border-radius: 50%; border: 1px solid rgba(111,39,50,.2); position: relative; display: grid; place-content: center; text-align: center; }
.counter-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 6px solid rgba(111,39,50,.08); border-top-color: var(--burgundy); transform: rotate(25deg); }
.counter-ring strong { position: relative; font-size: 2rem; color: var(--burgundy); }
.counter-ring span { position: relative; font-size: .63rem; color: var(--muted); }
.values-counter p { color: var(--muted); max-width: 270px; font-size: .85rem; }
.values-cloud { min-height: 420px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 13px; padding: 35px; border-radius: var(--radius-xl); background: rgba(255,255,255,.42); border: 1px solid rgba(255,255,255,.7); }
.value-pill { display: inline-flex; align-items: center; justify-content: center; padding: 17px 23px; border-radius: 999px; background: #fff8f3; border: 1px solid var(--border); color: var(--ink); font-size: .84rem; box-shadow: 0 10px 25px rgba(42,23,24,.05); transition: .3s; }
.value-pill:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 16px 35px rgba(42,23,24,.1); }
.pill-lg { font-size: 1.1rem; padding: 23px 34px; font-weight: 700; }
.pill-wide { min-width: 235px; }
.pill-accent { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.pill-soft { background: #e8c8bb; }

.goals-section { background: #fffaf7; padding-top: 30px; }
.goals-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; min-height: 480px; border-radius: var(--radius-xl); background: linear-gradient(145deg, #f1d8cc, #f9eee8); border: 1px solid rgba(111,39,50,.08); }
.goals-copy { padding: 64px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.goals-copy h2 { font-size: clamp(2rem,4vw,3.25rem); line-height: 1.25; margin: 12px 0 18px; }
.goals-copy p { color: var(--muted); }
.text-link { margin-top: 18px; font-weight: 800; color: var(--burgundy); display: inline-flex; gap: 8px; align-items: center; }
.text-link span { transition: transform .25s; }
.text-link:hover span { transform: translateX(-6px); }
.goals-visual { position: relative; min-height: 480px; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.9), transparent 55%); }
.goals-visual::before, .goals-visual::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(111,39,50,.14); }
.goals-visual::before { width: 360px; height: 360px; top: 60px; right: 70px; animation: spin 35s linear infinite; }
.goals-visual::after { width: 230px; height: 230px; top: 125px; right: 135px; animation: spin 22s linear infinite reverse; }
.goal-card { position: absolute; z-index: 2; width: 180px; min-height: 105px; border-radius: 22px; padding: 18px; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 18px 40px rgba(42,23,24,.1); backdrop-filter: blur(10px); font-size: .78rem; font-weight: 700; display: grid; gap: 8px; animation: chipFloat 5s ease-in-out infinite; }
.goal-card span { color: var(--burgundy); font-size: .7rem; }
.gc-1 { top: 45px; right: 35px; }
.gc-2 { top: 80px; left: 40px; animation-delay: 1s; }
.gc-3 { bottom: 52px; right: 80px; animation-delay: 2s; }
.gc-4 { bottom: 35px; left: 52px; animation-delay: 3s; }

.contact-section { background: #fffaf7; }
.contact-shell { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border-radius: var(--radius-xl); background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.contact-info { padding: 64px; position: relative; overflow: hidden; }
.contact-info::after { content: "د"; position: absolute; left: -30px; bottom: -105px; font-family: Georgia, serif; font-size: 20rem; color: rgba(255,255,255,.03); }
.contact-info h2 { font-size: clamp(2rem,4vw,3.3rem); line-height: 1.25; margin: 12px 0 18px; }
.contact-info p { color: rgba(255,255,255,.62); }
.domain-card { position: relative; z-index: 2; display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; margin-top: 38px; padding: 17px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); transition: .3s; }
.domain-card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.domain-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--paper); color: var(--burgundy); }
.domain-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.domain-card div span { display: block; font-size: .65rem; color: rgba(255,255,255,.5); }
.domain-card div strong { font-size: .85rem; direction: ltr; display: inline-block; }
.domain-arrow { font-size: 1.2rem; color: var(--gold); }
.contact-form { padding: 56px; background: #fff; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-group { display: grid; gap: 8px; margin-bottom: 16px; }
.field-group label { font-size: .76rem; font-weight: 700; }
.field-group input, .field-group textarea, .field-group select { width: 100%; border: 1px solid #e4d5ce; background: #fffaf7; border-radius: 14px; padding: 13px 14px; outline: none; color: var(--ink); transition: .25s; }
.field-group input:focus, .field-group textarea:focus, .field-group select:focus { border-color: var(--burgundy); box-shadow: 0 0 0 4px rgba(111,39,50,.08); background: #fff; }
.field-group textarea { resize: vertical; min-height: 118px; }
.field-error { display: none; color: #a22434; font-size: .67rem; }
.field-group.invalid .field-error { display: block; }
.field-group.invalid input, .field-group.invalid select { border-color: #b73545; }
.form-note { text-align: center; color: #907d7d; font-size: .62rem; margin: 10px 0 0; }

.site-footer { background: #180e0f; color: rgba(255,255,255,.68); padding: 64px 0 24px; }
.footer-top { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 36px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: inline-block; overflow: hidden; border-radius: 11px; }
.footer-brand img { width: 185px; display: block; }
.footer-top p { max-width: 520px; font-size: .82rem; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { font-size: .76rem; transition: .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; font-size: .7rem; }
.pixel-credit { display: inline-flex; align-items: center; gap: 8px; transition: .25s; }
.pixel-credit:hover { color: #fff; transform: translateY(-2px); }
.pixel-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #fff; color: #111; font-size: .58rem; font-weight: 800; direction: ltr; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.22,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .22s; }
.reveal-delay-3 { transition-delay: .32s; }

.mobile-app-nav { display: none; }
.install-sheet[hidden] { display: none; }
.install-sheet { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; border: 0; background: rgba(18,9,10,.56); backdrop-filter: blur(3px); }
.sheet-card { position: relative; z-index: 2; width: min(520px, calc(100% - 22px)); margin-bottom: 12px; border-radius: 28px; background: #fffaf7; padding: 18px 22px 22px; box-shadow: 0 28px 80px rgba(0,0,0,.3); animation: sheetUp .35s ease; }
@keyframes sheetUp { from { transform: translateY(35px); opacity: 0; } }
.sheet-handle { width: 42px; height: 5px; border-radius: 8px; background: #ddcec8; margin: 0 auto 18px; }
.sheet-head { display: flex; align-items: center; gap: 15px; }
.sheet-head img { border-radius: 17px; box-shadow: 0 8px 20px rgba(42,23,24,.12); }
.sheet-head h2 { font-size: 1.05rem; margin: 0 0 3px; }
.sheet-head p { font-size: .73rem; color: var(--muted); margin: 0; }
.sheet-actions { display: flex; gap: 10px; margin-top: 18px; }
.ios-instructions { margin-top: 14px; padding: 12px; background: #f2e5de; border-radius: 13px; color: var(--muted); font-size: .72rem; }
.toast-message { position: fixed; z-index: 1600; left: 24px; bottom: 24px; width: min(390px, calc(100% - 48px)); display: grid; grid-template-columns: 42px 1fr 24px; gap: 12px; align-items: center; padding: 15px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 24px 50px rgba(0,0,0,.25); transform: translateY(130%); opacity: 0; transition: .35s; }
.toast-message.show { transform: translateY(0); opacity: 1; }
.toast-message > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #e7cdbf; color: var(--burgundy); font-weight: 800; }
.toast-message strong { font-size: .82rem; }
.toast-message p { margin: 2px 0 0; color: rgba(255,255,255,.58); font-size: .65rem; line-height: 1.55; }
.toast-message button { border: 0; background: transparent; color: #fff; font-size: 1.2rem; }
.back-to-top { position: fixed; z-index: 900; left: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 15px; border: 0; background: var(--burgundy); color: #fff; box-shadow: 0 12px 25px rgba(111,39,50,.24); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

@media (min-width: 992px) {
  .col-lg-5 { width: 41.6667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.3333%; }
  .navbar-expand-lg .navbar-collapse { display: flex !important; }
}

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-featured { transform: none; }
  .goals-copy { padding: 48px; }
  .contact-info, .contact-form { padding: 48px; }
}

@media (max-width: 991.98px) {
  html { scroll-padding-top: 80px; }
  body { padding-bottom: 72px; }
  .site-header { padding: 8px 0; background: rgba(251,245,240,.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
  .brand img { width: 145px; }
  .navbar-toggler { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 0; background: rgba(111,39,50,.08); border-radius: 13px; }
  .navbar-toggler span { display: block; width: 20px; height: 2px; border-radius: 3px; background: var(--ink); margin-inline: auto; }
  .navbar-collapse { display: none; position: absolute; top: calc(100% + 6px); right: 18px; left: 18px; padding: 15px; border-radius: 20px; background: #fffaf7; border: 1px solid var(--border); box-shadow: var(--shadow); }
  .navbar-collapse.show { display: block; }
  .navbar-nav { display: grid; gap: 3px; margin-bottom: 12px; }
  .navbar-collapse > .btn { width: 100%; }
  .hero { min-height: auto; padding: 130px 0 80px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; margin-inline: auto; }
  .hero-art { min-height: 480px; }
  .book-scene { transform: scale(.9); }
  .section { padding: 85px 0; }
  .about-visual { max-width: 560px; margin-inline: auto; }
  .section-heading { max-width: 760px; }
  .journey-line { display: none; }
  .journey-steps { grid-template-columns: repeat(2, 1fr); margin-top: 15px; }
  .journey-step { padding: 28px; border-radius: 20px; background: rgba(255,255,255,.05); }
  .step-dot { position: static; transform: none; margin-bottom: 24px; }
  .goals-panel, .contact-shell { grid-template-columns: 1fr; }
  .goals-visual { min-height: 420px; }
  .footer-top { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-links { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .mobile-app-nav { position: fixed; z-index: 1100; right: 10px; left: 10px; bottom: max(8px, env(safe-area-inset-bottom)); height: 64px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; border-radius: 21px; background: rgba(35,20,22,.94); color: rgba(255,255,255,.58); box-shadow: 0 18px 45px rgba(0,0,0,.28); backdrop-filter: blur(18px); padding: 5px; }
  .mobile-app-nav a, .mobile-app-nav button { height: 54px; border: 0; background: transparent; color: inherit; display: grid; place-content: center; gap: 1px; text-align: center; font-size: .55rem; border-radius: 16px; }
  .mobile-app-nav span { display: block; font-size: 1rem; line-height: 1.2; }
  .mobile-app-nav .active { color: #fff; background: rgba(255,255,255,.08); }
  .back-to-top { bottom: 86px; }
  .toast-message { bottom: 86px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 24px, 1160px); }
  .hero h1 { font-size: clamp(2.25rem, 12vw, 3.65rem); }
  .hero-lead { font-size: .92rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 12px; }
  .trust-item strong { font-size: 1.05rem; }
  .trust-item span { font-size: .58rem; }
  .hero-art { min-height: 400px; margin-inline: -16px; }
  .book-scene { transform: scale(.72); }
  .floating-chip { font-size: .65rem; }
  .chip-top { top: 6%; left: 0; }
  .chip-bottom { right: 0; bottom: 4%; }
  .section-heading h2 { font-size: 2.15rem; }
  .about-visual { min-height: 435px; }
  .about-frame { min-height: 400px; padding: 26px; }
  .open-book { transform: scale(.82); margin-top: 55px; }
  .about-badge { width: 120px; height: 120px; left: -5px; }
  .purpose-card { grid-template-columns: 50px 1fr; padding: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 340px; }
  .service-icon { margin: 32px 0 22px; }
  .journey-steps { grid-template-columns: 1fr; gap: 12px; }
  .values-counter { align-items: flex-start; }
  .values-cloud { padding: 22px 12px; min-height: 350px; gap: 9px; }
  .value-pill { padding: 13px 17px; font-size: .72rem; }
  .pill-lg { font-size: .9rem; padding: 17px 22px; }
  .pill-wide { min-width: auto; }
  .goals-copy { padding: 34px 25px; }
  .goals-visual { min-height: 390px; transform: scale(.92); margin-inline: -15px; }
  .goal-card { width: 155px; }
  .contact-info, .contact-form { padding: 34px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .domain-card { grid-template-columns: 42px 1fr auto; }
  .domain-card div strong { font-size: .72rem; }
  .footer-top { gap: 22px; }
  .sheet-card { padding-inline: 16px; }
}

@media (max-width: 390px) {
  .book-scene { transform: scale(.64); }
  .hero-art { min-height: 365px; }
  .hero-trust { gap: 8px; }
  .trust-separator { height: 32px; }
  .goals-visual { transform: scale(.82); margin-inline: -38px; }
}

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