/* =========================================================
   Ihsan and Wafaa Organization — Design System
   Palette: deep teal + warm gold on warm neutrals
   ========================================================= */

:root {
  --teal-900: #06302e;
  --teal-800: #0b423f;
  --teal-700: #0f5c57;
  --teal-600: #0f766e;
  --teal-500: #159a8f;
  --teal-100: #d7efec;
  --gold-600: #b8860b;
  --gold-500: #d4a017;
  --gold-400: #e6b93d;
  --ink: #14211f;
  --slate: #4c5c5a;
  --muted: #6b7c79;
  --line: #e3ebe9;
  --paper: #ffffff;
  --cream: #f6faf8;
  --cream-2: #eef5f2;
  --shadow-sm: 0 1px 3px rgba(6, 48, 46, .08), 0 1px 2px rgba(6, 48, 46, .04);
  --shadow-md: 0 10px 30px -12px rgba(6, 48, 46, .25);
  --shadow-lg: 0 24px 60px -20px rgba(6, 48, 46, .35);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal-700); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--teal-900); letter-spacing: -.01em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold-500); border-radius: 2px; }

.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--dark { background: linear-gradient(160deg, #06302e, #0b423f); color: #d7efec; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #ffffff; }

.lead { font-size: 1.15rem; color: var(--slate); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .98rem; padding: 13px 24px;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal-600); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--teal-700); color: #fff; }
.btn-gold { background: var(--gold-500); color: #3a2a04; box-shadow: var(--shadow-md); }
.btn-gold:hover { background: var(--gold-400); color: #3a2a04; }
.btn-ghost { background: transparent; color: var(--teal-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal-600); color: var(--teal-700); }
.btn-light { background: #fff; color: var(--teal-800); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--teal-900); }
.brand-sub { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--teal-600); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--teal-900); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(21,154,143,.14), transparent 60%),
    radial-gradient(50% 70% at 5% 90%, rgba(212,160,23,.12), transparent 60%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 96px 0; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); margin: 18px 0 22px; }
.hero h1 .accent { color: var(--teal-600); }
.hero p.lead { font-size: 1.2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-badge { display: flex; flex-direction: column; }
.hero-badge b { font-family: var(--serif); font-size: 1.5rem; color: var(--teal-800); }
.hero-badge span { font-size: .82rem; color: var(--muted); }

.hero-art { position: relative; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-lg); padding: 30px; position: relative; overflow: hidden;
}
.hero-card .ribbon {
  position: absolute; top: 22px; right: -42px; transform: rotate(45deg);
  background: var(--gold-500); color: #3a2a04; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; padding: 6px 52px;
}
.hero-emblem { width: 96px; height: 96px; margin-bottom: 18px; }
.hero-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.hero-card .kv { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px dashed var(--line); font-size: .92rem; }
.hero-card .kv span:first-child { color: var(--muted); }
.hero-card .kv span:last-child { font-weight: 600; color: var(--teal-800); }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--teal-900); color: #cfe8e2; }
.trustbar .container { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center; padding: 20px 24px; text-align: center; }
.trustbar span { font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.trustbar b { color: #fff; }
.trustbar .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-400); }

/* ---------- Section heading ---------- */
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 14px 0 16px; }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream-2); color: var(--teal-600); margin-bottom: 18px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: .98rem; }

/* value cards on dark */
.card--dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.card--dark h3 { color: #fff; }
.card--dark p { color: #b7d4ce; }
.card--dark .ic { background: rgba(255,255,255,.08); color: var(--gold-400); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate); }
.checklist .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center; font-size: .8rem; margin-top: 2px; }

.aside-panel { background: linear-gradient(155deg, var(--teal-700), var(--teal-900)); color: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); }
.aside-panel h3 { color: #fff; font-size: 1.5rem; margin-bottom: 16px; }
.aside-panel p { color: #cfe8e2; }
.aside-panel .stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.aside-panel .stat b { font-family: var(--serif); font-size: 2rem; color: var(--gold-400); display: block; }
.aside-panel .stat span { font-size: .85rem; color: #bcdad4; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .num { counter-increment: step; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--teal-600); color: #fff; font-family: var(--serif); font-size: 1.2rem; display: grid; place-items: center; }
.step .num::before { content: counter(step); }
.step h4 { font-size: 1.15rem; margin-bottom: 4px; }
.step p { color: var(--slate); font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--teal-700), var(--teal-900)); color: #fff; border-radius: 28px; padding: 60px; text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 100% 0, rgba(212,160,23,.25), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; }
.cta-band p { color: #d0e8e2; max-width: 56ch; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-item .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--cream-2); color: var(--teal-600); display: grid; place-items: center; }
.info-item h4 { font-family: var(--font); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 3px; }
.info-item p { color: var(--ink); font-weight: 500; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; color: var(--teal-900); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .96rem; background: var(--cream); transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(21,154,143,.15); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(160deg, var(--teal-900), var(--teal-800)); color: #fff; padding: 76px 0 66px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 100% at 90% 0, rgba(212,160,23,.18), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: var(--gold-400); }
.page-hero .eyebrow::before { background: var(--gold-400); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.1rem); margin: 14px 0 16px; }
.page-hero p { color: #cfe8e2; max-width: 62ch; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; color: #9fc4bd; margin-top: 20px; }
.breadcrumb a { color: #cfe8e2; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--slate); margin-bottom: 12px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 22px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--serif); font-size: 1.08rem; color: var(--teal-900); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-500); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--slate); padding-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #a9c9c3; padding: 68px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 16px; color: #93b7b1; font-size: .95rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #a9c9c3; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #7fa39d; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.ein-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 6px 14px; border-radius: 999px; font-size: .82rem; color: #cfe8e2; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta-band, .aside-panel { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 60px 0; }
}
