/* Batool Welfare Foundation — site styles (built on the approved homepage design) */

:root {
  --teal-950: #072B28;
  --teal-900: #0B3B37;
  --teal-800: #0B4A45;
  --teal-700: #0B5D57;
  --teal-600: #1F8C7A;
  --teal-500: #2FA58C;
  --mint-100: #E3F3EE;
  --mint-50: #F1F9F6;
  --gold-300: #FFE08A;
  --gold-500: #F2B544;
  --gold-600: #E09A2D;
  --gold-700: #B5701A;
  --ivory: #FBF8F2;
  --sand: #F3ECE0;
  --line: #ECE6DA;
  --ink: #1D2B2A;
  --body: #4A5A58;
  --muted: #5D6B69;
  --white: #FFFFFF;

  --font-head: "Nunito", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --shadow-card: 0 1px 2px rgba(11, 59, 55, 0.06), 0 10px 30px rgba(11, 59, 55, 0.07);
  --shadow-lift: 0 2px 4px rgba(11, 59, 55, 0.06), 0 20px 44px rgba(11, 59, 55, 0.12);

  --wrap: 1200px;
  --pad: clamp(20px, 3.4vw, 40px);
  --section: clamp(64px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal-800); }
a:hover { color: #06302C; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--teal-900); margin: 0; text-wrap: balance; }
p, li { text-wrap: pretty; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold-500); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section) 0; }
.section--white { background: var(--sand); }
.section--mint-soft { background: #EAF4F0; }
.section--dark .h2, .section--dark h2 { color: var(--white); }
.section--dark .text { color: #C9E6DE; }
.section--sand { background: var(--sand); }
.section--mint { background: var(--mint-100); }
.section--dark { background: var(--teal-900); }

/* ---------- type ---------- */
.kicker { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-600); }
.section--dark .kicker { color: var(--gold-500); }
.h1 { font-weight: 900; font-size: clamp(38px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.02em; color: var(--teal-900); }
.h2 { font-weight: 900; font-size: clamp(32px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -0.01em; color: var(--teal-900); }
.h3 { font-weight: 800; font-size: 22px; line-height: 1.3; color: var(--teal-900); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: var(--body); }
.text { font-size: 16px; line-height: 1.65; color: var(--body); }
.head { display: grid; gap: 14px; max-width: 680px; margin-bottom: 48px; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.head--row > div { display: grid; gap: 14px; max-width: 640px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font-family: var(--font-head); font-weight: 800; font-size: 17px; line-height: 1; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold-500); color: var(--ink); }
.btn--gold:hover { background: #E9A62C; color: var(--ink); box-shadow: 0 10px 24px rgba(224, 154, 45, .3); }
.btn--line { border-color: var(--teal-800); color: var(--teal-800); background: transparent; }
.btn--line:hover { background: var(--teal-800); color: var(--white); }
.btn--white { background: var(--white); color: var(--teal-900); }
.btn--white:hover { color: var(--teal-900); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn--teal { background: var(--teal-800); color: var(--white); }
.btn--teal:hover { background: var(--teal-900); color: var(--white); }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: 17px; text-decoration: none; color: var(--teal-800); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- top bar + header ---------- */
.topbar { background: #041F1C; color: #A9CFC5; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar li::before { content: ""; width: 5px; height: 5px; border-radius: 99px; background: var(--gold-500); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(7, 43, 40, .97); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .07); transition: box-shadow .2s ease; }
.header.is-scrolled { box-shadow: 0 10px 30px rgba(4, 31, 28, .28); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 54px; height: 54px; }
.brand__name { display: flex; flex-direction: column; gap: 3px; }
.brand__name b { font-family: var(--font-head); font-weight: 800; font-size: 27px; line-height: 1; color: var(--white); }
.brand__name small { font-family: var(--font-head); font-weight: 700; font-size: 9.5px; letter-spacing: .28em; color: #E7C982; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: #CFE6DF; text-decoration: none; padding: 6px 0 4px; border-bottom: 3px solid transparent; transition: color .2s ease, border-color .2s ease; }
.nav a:hover { color: var(--white); border-color: rgba(242, 181, 68, .55); }
.nav a[aria-current="page"] { color: var(--white); border-color: var(--gold-500); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__actions .btn { min-height: 48px; }
.header .btn--gold { box-shadow: 0 8px 22px rgba(242, 181, 68, .22); }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(255, 255, 255, .06); color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 24px; height: 24px; }
@media (max-width: 1040px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .topbar ul { display: none; }
  body.menu-open .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; top: 128px; left: 0; right: 0; background: var(--teal-900); border-top: 1px solid rgba(255, 255, 255, .07); padding: 6px var(--pad) 26px; box-shadow: 0 30px 50px rgba(4, 31, 28, .35); z-index: 49; }
  body.menu-open .nav a { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 19px; }
  body.menu-open .nav a[aria-current="page"] { color: var(--gold-300); border-bottom-color: rgba(255, 255, 255, .08); }
}
@media (max-width: 480px) {
  .brand img { width: 44px; height: 44px; }
  .brand__name b { font-size: 23px; }
  .brand__name small { font-size: 8px; }
  .header__actions .btn { padding: 0 18px; font-size: 15px; }
  .topbar .wrap > span { font-size: 12px; }
}

/* ---------- homepage hero (light, photo on the right) ---------- */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--mint-100); color: var(--teal-700); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; }
.pill i { width: 8px; height: 8px; border-radius: 99px; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(242, 181, 68, .25); }
.hero .lead { font-size: 20px; max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; font-size: 15px; color: #3E4F4D; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; color: var(--teal-600); }
.hero__visual { position: relative; padding: 0 0 40px 40px; }
.hero__photo { border-radius: 26px; overflow: hidden; height: 560px; box-shadow: var(--shadow-lift); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.04); transition: transform 1.6s ease; }
.is-loaded .hero__photo img { transform: none; }
.float-card { position: absolute; left: 0; bottom: 0; width: 300px; background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lift); padding: 22px 24px; display: grid; gap: 12px; animation: floaty 6s ease-in-out infinite; }
.float-card b { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--teal-900); }
.float-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.float-card li { display: flex; gap: 10px; align-items: center; }
.float-card li svg { width: 18px; height: 18px; color: var(--gold-600); flex: none; }
.float-card__price { border-top: 1px solid var(--line); padding-top: 12px; display: flex; justify-content: space-between; align-items: center; }
.float-card__price strong { font-family: var(--font-head); font-weight: 900; font-size: 22px; color: var(--teal-800); }
.float-card__price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.float-chip { position: absolute; right: -14px; top: 40px; background: var(--white); border-radius: 999px; box-shadow: var(--shadow-lift); padding: 12px 18px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--teal-900); animation: floaty 7s ease-in-out infinite reverse; }
.float-chip svg { width: 20px; height: 20px; color: var(--teal-600); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 980px) {
  .hero { padding: 40px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero__photo { height: 420px; }
}
@media (max-width: 560px) {
  .hero__visual { padding: 0 0 120px 0; }
  .hero__photo { height: 340px; }
  .float-card { left: 16px; right: 16px; width: auto; }
  .float-chip { right: 12px; top: 14px; }
}

/* ---------- inner page hero (dark band, content overlaps it) ---------- */
.band { background: var(--teal-900); color: #C9E6DE; padding: 64px 0 128px; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -90px; top: -90px; width: 380px; height: 380px; background: url("../img/logo-mark-light.svg") center / contain no-repeat; opacity: .07; pointer-events: none; }
.band .wrap { display: grid; gap: 18px; position: relative; z-index: 1; }
.band h1 { color: var(--white); max-width: 760px; }
.band .lead { color: #C9E6DE; max-width: 640px; font-size: 19px; }
.crumbs { font-weight: 600; font-size: 14px; color: #9FD3C2; }
.crumbs a { color: #9FD3C2; text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.overlap { margin-top: -72px; position: relative; z-index: 2; padding-bottom: var(--section); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: 22px; box-shadow: var(--shadow-card); }
.card--pad { padding: clamp(24px, 3vw, 34px); }
.lift { transition: transform .25s ease, box-shadow .25s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.icon { width: 52px; height: 52px; border-radius: 16px; background: var(--mint-100); color: var(--teal-700); display: flex; align-items: center; justify-content: center; flex: none; }
.icon svg { width: 26px; height: 26px; }
.feature { display: grid; gap: 16px; align-content: start; }

.step { display: grid; gap: 14px; align-content: start; }
.num { width: 44px; height: 44px; border-radius: 999px; background: var(--gold-500); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 20px; flex: none; }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 54px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-500) 0 8px, transparent 8px 16px); opacity: .55; z-index: 0; }
.steps > * { position: relative; z-index: 1; }
@media (max-width: 980px) { .steps::before { display: none; } }

.fund { overflow: hidden; display: flex; flex-direction: column; }
.fund__img { height: 240px; overflow: hidden; position: relative; }
.fund__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.lift:hover .fund__img img { transform: scale(1.05); }
.fund__tag { position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, .94); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--teal-900); }
.fund__body { padding: 26px 28px 30px; display: grid; gap: 10px; }
.price { font-family: var(--font-head); font-weight: 800; color: var(--gold-700); }

/* ---------- map ---------- */
.map-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 980px) { .map-grid { grid-template-columns: 1fr; } }
.map-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 0; background: radial-gradient(120% 90% at 62% 42%, #0E4741 0%, #093631 55%, #072B28 100%); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 60px rgba(0, 0, 0, .22); }
.map-wrap { position: relative; }
.map-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 70px 10px rgba(4, 31, 28, .75); pointer-events: none; z-index: 1; }
.map-tag { z-index: 2; }
.map { width: 100%; height: auto; display: block; }
.map path { vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.map-grat { fill: none; stroke: rgba(255, 255, 255, .05); stroke-width: 1; }
.map-land path { fill: #1C5C55; stroke: #0B3B37; stroke-width: .8; }
.map-uk path { fill: #8CCFBE; stroke: #0B3B37; stroke-width: .8; }
.map-next path { fill: #4FB79C; stroke: #0B3B37; stroke-width: .8; }
.map-home path { fill: var(--gold-500); stroke: var(--gold-300); stroke-width: 1.2; }
.map-glow path { fill: var(--gold-500); opacity: .55; }
.map-arc { fill: none; stroke: var(--gold-300); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 9; opacity: .85; animation: dash 30s linear infinite; }
.map-pin { fill: var(--white); stroke: var(--gold-600); stroke-width: 3; }
.map-pin-ring { fill: none; stroke: var(--gold-300); stroke-width: 2; transform-origin: center; transform-box: fill-box; animation: ping 2.6s ease-out infinite; }
.map-uk-pin { fill: var(--white); stroke: #8CCFBE; stroke-width: 3; }
.map-tag { position: absolute; white-space: nowrap; font: 800 clamp(11px, 1.15vw, 14px)/1 var(--font-head); padding: .5em .85em; border-radius: 99px; color: var(--white); background: rgba(7, 43, 40, .78); border: 1px solid rgba(140, 207, 190, .45); backdrop-filter: blur(6px); pointer-events: none; }
.map-tag--home { color: var(--teal-900); background: var(--gold-500); border-color: var(--gold-300); box-shadow: 0 8px 20px rgba(242, 181, 68, .3); font-size: clamp(12px, 1.3vw, 16px); }
.map-tag--uk { border-color: rgba(255, 255, 255, .3); }
.map-tag--mid { transform: translate(-50%, -50%); }
.map-tag--end { transform: translate(-100%, -50%); }
.map-tag--start { transform: translate(0, -50%); }
@keyframes dash { to { stroke-dashoffset: -640; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.legend li { display: grid; grid-template-columns: 16px 1fr; gap: 14px; }
.legend i { width: 14px; height: 14px; border-radius: 99px; margin-top: 6px; }
.legend b { display: block; font-family: var(--font-head); font-size: 18px; color: var(--teal-900); }
.legend span { font-size: 15px; color: var(--body); }

/* ---------- founder quote (dark) ---------- */
.quote { max-width: 920px; display: grid; gap: 28px; }
.quote svg.mark { width: 46px; height: 38px; color: var(--gold-500); }
.quote blockquote { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.38; color: var(--white); }
.quote cite { font-style: normal; display: grid; gap: 4px; }
.quote cite b { font-family: var(--font-head); font-size: 18px; color: var(--gold-500); }
.quote cite span { font-size: 15px; color: #B9D8D0; }
.quote__note { font-size: 16px; line-height: 1.65; color: #B9D8D0; max-width: 720px; }
.quote__note a { color: var(--white); }

/* ---------- ways to give ---------- */
.give { display: flex; flex-direction: column; gap: 12px; padding: 28px; text-decoration: none; color: inherit; border: 2px solid transparent; }
.give--feature { border-color: var(--gold-500); }
.give h3 { font-weight: 900; font-size: 22px; }
.give p { font-size: 15px; line-height: 1.6; color: var(--body); }
.give .link-arrow { margin-top: auto; padding-top: 6px; font-size: 16px; }

/* ---------- trust strip ---------- */
.trust { background: var(--mint-100); padding: 56px 0; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.trust__item { display: flex; gap: 14px; align-items: flex-start; }
.trust__item svg { width: 30px; height: 30px; color: var(--teal-700); flex: none; }
.trust__item strong { display: block; font-family: var(--font-head); font-size: 17px; color: var(--teal-900); }
.trust__item span { font-size: 14px; line-height: 1.5; color: #3E5A55; }
@media (max-width: 900px) { .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust .wrap { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 18px; box-shadow: var(--shadow-card); padding: 0 26px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-lift); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--teal-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 99px; background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4A45' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--body); font-size: 16px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--teal-800); border-radius: 32px; padding: clamp(36px, 5vw, 64px) clamp(28px, 4.5vw, 60px); display: flex; justify-content: space-between; align-items: center; gap: 36px; flex-wrap: wrap; }
.cta::after { content: ""; position: absolute; right: -70px; bottom: -110px; width: 340px; height: 340px; background: url("../img/logo-mark-light.svg") center / contain no-repeat; opacity: .09; pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: var(--white); }
.cta p { color: #C9E6DE; font-size: 18px; line-height: 1.6; }

/* ---------- forms ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 48px; align-items: start; }
.layout__main { display: grid; gap: 28px; padding-top: 104px; }
.layout__aside { position: sticky; top: 108px; }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; } .layout__main { padding-top: 0; order: 2; } .layout__aside { position: static; } }
.form { display: grid; gap: 20px; }
.form--card { background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lift); padding: clamp(24px, 3vw, 32px); border-top: 6px solid var(--gold-500); }
.form h2 { font-weight: 900; font-size: 26px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #F1ECE2; border-radius: 999px; padding: 5px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; height: 44px; line-height: 44px; border-radius: 999px; font-family: var(--font-head); font-weight: 800; font-size: 16px; color: #2B3B39; cursor: pointer; transition: background .2s ease, color .2s ease; }
.seg input:checked + span { background: var(--teal-800); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
legend { font-size: 14px; font-weight: 600; color: #2B3B39; margin-bottom: 10px; padding: 0; }
.opt { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 2px solid #E4DED2; border-radius: 16px; cursor: pointer; background: var(--white); transition: border-color .15s ease, background .15s ease; }
.opt:hover { border-color: var(--teal-500); }
.opt:has(input:checked) { border-color: var(--teal-800); background: var(--mint-50); }
.opt input { width: 20px; height: 20px; accent-color: var(--teal-800); flex: none; }
.opt__text { flex: 1; display: grid; gap: 2px; }
.opt__text b { font-family: var(--font-head); font-size: 17px; color: var(--teal-900); }
.opt__text small { font-size: 14px; color: var(--muted); }
.opt__price { font-family: var(--font-head); font-weight: 900; font-size: 20px; color: var(--teal-900); }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 14px; border: 2px solid #E4DED2; background: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--teal-900); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.chip span:hover { border-color: var(--teal-500); }
.chip input:checked + span { border-color: var(--teal-800); background: var(--mint-50); }
.chip input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.radios { display: flex; gap: 22px; font-size: 15px; flex-wrap: wrap; }
.radios label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.radios input { width: 18px; height: 18px; accent-color: var(--teal-800); }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #2B3B39; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1.5px solid #D9D2C5; border-radius: 12px; padding: 10px 14px; font: 400 16px var(--font-body); color: var(--ink); background: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(47, 165, 140, .16); }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 420px) { .row-2 { grid-template-columns: 1fr; } }
.giftaid { display: flex; gap: 12px; align-items: flex-start; background: #FFF6E2; border-radius: 14px; padding: 14px 16px; font-size: 13.5px; line-height: 1.5; color: #4A3B1E; cursor: pointer; }
.giftaid input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold-700); flex: none; }
.giftaid b { display: block; font-family: var(--font-head); font-size: 16px; color: #3A2E14; margin-bottom: 2px; }
.summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 15px; color: var(--muted); }
.summary b { font-family: var(--font-head); font-weight: 900; font-size: 24px; color: var(--teal-900); }
.boost { font-size: 14px; color: var(--teal-700); font-weight: 600; min-height: 20px; }
.note { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.note svg { width: 16px; height: 16px; }
.thanks { background: var(--mint-50); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--teal-900); }

/* ---------- misc blocks ---------- */
.list { display: grid; gap: 18px; }
.list__item { display: flex; gap: 16px; align-items: flex-start; }
.list__item .num { width: 36px; height: 36px; font-size: 17px; }
.list__item b { display: block; font-family: var(--font-head); font-size: 18px; color: var(--teal-900); }
.list__item span { font-size: 15px; line-height: 1.55; color: var(--body); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.split__img { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lift); }
.split__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.person { display: grid; gap: 12px; }
.person__avatar { max-width: 220px; aspect-ratio: 1 / 1; border-radius: 22px; background: var(--mint-100); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 46px; color: var(--teal-600); }
.person b { font-family: var(--font-head); font-size: 19px; color: var(--teal-900); }
.person span { font-size: 15px; color: var(--muted); }
.prose { display: grid; gap: 18px; max-width: 760px; }
.prose h2 { font-weight: 900; font-size: 28px; margin-top: 16px; }
.prose p, .prose li { color: var(--body); }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }

/* ---------- footer ---------- */
.footer { background: var(--teal-950); color: #B9D8D0; padding: 72px 0 32px; font-size: 15px; }
.footer a { color: #B9D8D0; text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand { display: grid; gap: 16px; align-content: start; max-width: 360px; }
.footer__brand .brand img { width: 46px; height: 46px; }
.footer__brand .brand__name b { color: var(--white); font-size: 24px; }
.footer__brand .brand__name small { color: #E7C982; font-size: 8.5px; }
.footer h3 { font-family: var(--font-head); font-size: 16px; color: var(--white); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.news { display: flex; gap: 8px; }
.news input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid #1C4A45; background: #0B3B37; color: var(--white); padding: 0 18px; font: 400 15px var(--font-body); }
.news input::placeholder { color: #7FA59C; }
.news .btn { min-height: 48px; padding: 0 20px; font-size: 15px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: #8FB5AC; }
.consent input { margin-top: 3px; accent-color: var(--gold-500); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #1C4A45; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; color: #8FB5AC; }
.footer__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__small { margin-top: 10px; font-size: 12.5px; color: #6E958C; }
@media (max-width: 900px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- sticky mobile donate ---------- */
.mobile-donate { display: none; }
@media (max-width: 760px) {
  .mobile-donate { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(11, 59, 55, .94); backdrop-filter: blur(10px); box-shadow: 0 20px 40px rgba(0, 0, 0, .25); transform: translateY(140%); transition: transform .35s ease; }
  .mobile-donate.is-visible { transform: none; }
  .mobile-donate .btn { flex: 1; min-height: 46px; font-size: 15px; padding: 0 12px; }
}

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .float-chip, .map-arc, .map-pin-ring { animation: none; }
  .hero__photo img { transform: none; transition: none; }
  .btn, .lift, .fund__img img { transition: none; }
}

/* ---------- media card, contact layout, about photo ---------- */
.media-card { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.media-card > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
@media (max-width: 640px) { .media-card { grid-template-columns: 1fr; } .media-card > img { min-height: 0; height: 240px; } }
.layout--contact { grid-template-columns: minmax(0, 1fr) 400px; }
.layout--contact .layout__main { padding-top: 0; }
@media (max-width: 1000px) { .layout--contact { grid-template-columns: 1fr; } }
.wide-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lift); }
.wide-photo img { width: 100%; height: clamp(260px, 38vw, 480px); object-fit: cover; }
.person__avatar svg { width: 64px; height: 64px; opacity: .7; }

/* ---------- hadith ---------- */
.hadith { margin: 0 auto; max-width: 860px; display: grid; gap: 16px; justify-items: center; text-align: center; padding: 8px 0; }
.hadith::before { content: ""; width: 56px; height: 3px; border-radius: 3px; background: var(--gold-500); }
.hadith blockquote { margin: 0; font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.45; color: var(--teal-900); }
.hadith figcaption { font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--teal-600); }
.hadith--card { padding: 30px 34px; max-width: none; }
.hadith--card blockquote { font-size: 22px; }

/* ---------- map section on deep teal ---------- */
.map-dark .legend b { color: var(--white); }
.map-dark .legend span { color: #A9CFC6; }

/* ---------- pre-launch (before charity registration) ---------- */
.form__personal { display: contents; }
.is-prelaunch [data-personal], .is-prelaunch .form [data-thanks], .is-prelaunch .form--card > .note { display: none; }
.prelaunch-box { display: grid; gap: 10px; padding: 20px; border-radius: 18px; background: var(--mint-50); border: 1px solid rgba(31, 140, 122, .18); }
.prelaunch-box b { font-family: var(--font-head); font-size: 18px; color: var(--teal-900); }
.prelaunch-box p { margin: 0; font-size: 14.5px; color: var(--body); }
.prelaunch-box .btn { margin-top: 6px; min-height: 52px; }

/* ---------- 404 ---------- */
.band--short { padding-bottom: 96px; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: var(--white); background: transparent; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); }
