/* ===================================================================
   בית מדרש טהרות — מערכת עיצוב אחידה לכל העמודים
   =================================================================== */

:root {
  --cream:           #f4ead0;
  --cream-deep:      #ead9b5;
  --cream-pale:      #faf3e0;
  --navy:            #1a3a5c;
  --navy-deep:       #122842;
  --navy-shade:      #0d1e33;
  --text:            #2a1f10;
  --text-soft:       #4a3d28;
  --text-muted:      #7a6a4d;
  --text-on-dark:    #f4ead0;
  --text-on-dark-soft: #c8b88a;
  --gold:            #b8924b;
  --gold-bright:     #d4ad57;
  --gold-deep:       #8a6b32;
  --gold-pale:       #e6d09a;
  --border-subtle:   rgba(184, 146, 75, 0.22);
  --shadow-warm:     0 6px 22px -10px rgba(102, 73, 28, 0.28), 0 2px 4px rgba(102, 73, 28, 0.08);
  --shadow-warm-lg:  0 14px 38px -16px rgba(102, 73, 28, 0.35), 0 3px 8px rgba(102, 73, 28, 0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Heebo', 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.25 0 0 0 0 0.12 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: multiply;
}
body > * { position: relative; z-index: 2; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Heebo', sans-serif;
  color: var(--navy);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: 3.6rem; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: 2.2rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.022em; }
h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 1.15rem; font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

.container { max-width: 1260px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 28px; }
section { padding: 70px 0; }

.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; color: var(--gold); margin: 14px 0;
}
.ornament::before, .ornament::after {
  content: ''; width: 44px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.ornament::after { background: linear-gradient(to left, transparent, var(--gold)); }
.ornament svg { width: 20px; height: 20px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px;
  font-family: 'Heebo', sans-serif; font-weight: 600;
  font-size: 0.96rem; letter-spacing: 0.04em;
  transition: all 0.3s ease;
  border: 1.5px solid; cursor: pointer;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: currentColor; transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-primary:hover { color: var(--navy); }
.btn-primary::before { background: var(--cream); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { color: var(--cream); }
.btn-outline::before { background: var(--navy); }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { color: var(--gold); }
.btn-gold::before { background: var(--cream); }
.btn .arrow { font-size: 1.05rem; line-height: 1; transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(-5px); }
.btn-block { width: 100%; justify-content: center; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--cream-deep);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem; color: var(--text-soft);
}
.top-bar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 9px; padding-bottom: 9px;
}
.top-bar .contact-info { display: flex; gap: 22px; align-items: center; }
.top-bar .contact-info span { display: inline-flex; align-items: center; gap: 8px; }
.top-bar .contact-info svg { width: 13px; height: 13px; color: var(--gold); }
.lang-switch {
  font-family: 'Heebo', sans-serif; font-weight: 600;
  letter-spacing: 0.22em; font-size: 0.72rem;
  color: var(--navy); padding: 4px 12px;
  border: 1px solid var(--gold); transition: all 0.25s ease;
}
.lang-switch:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* ===== HEADER ===== */
header.main-header {
  background: rgba(244, 234, 208, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky; top: 0; z-index: 50;
}
nav.primary-nav { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 60px; height: 60px; padding: 7px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
  transition: all 0.3s ease;
}
.logo-mark::after { content: ''; position: absolute; inset: -3px; border: 1px solid var(--gold); }
.logo-mark::before {
  content: ''; position: absolute; inset: 3px;
  border: 1px solid rgba(184, 146, 75, 0.35); pointer-events: none;
}
.logo-mark img { width: auto; height: 100%; }
.logo:hover .logo-mark { background: var(--navy-deep); }
.logo:hover .logo-mark::after { inset: -5px; }
.logo-text h1 { font-size: 1.32rem; font-weight: 800; color: var(--navy); line-height: 1.05; margin: 0; letter-spacing: -0.015em; }
.logo-text span {
  display: block; font-family: 'Heebo', sans-serif; font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.22em;
  color: var(--gold-deep); margin-top: 3px;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-family: 'Heebo', sans-serif; font-weight: 500;
  font-size: 0.96rem; color: var(--text);
  padding: 6px 2px; position: relative; letter-spacing: 0.02em;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.btn-donate-nav {
  background: var(--gold) !important; color: var(--cream) !important;
  padding: 10px 26px !important; font-weight: 700 !important;
  letter-spacing: 0.06em; transition: background 0.3s ease !important;
}
.btn-donate-nav::after { display: none !important; }
.btn-donate-nav:hover { background: var(--navy) !important; }
.mobile-toggle {
  display: none; background: var(--navy); color: var(--cream);
  border: none; padding: 8px 14px; font-size: 0.82rem; letter-spacing: 0.18em;
}

/* ===== HOME HERO ===== */
.hero { padding: 60px 0 50px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -100px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184, 146, 75, 0.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26, 58, 92, 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center; position: relative;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--gold); font-weight: 800; position: relative; display: inline-block; }
.hero h1 .accent::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 4px; background: var(--gold); opacity: 0.25;
}
.hero-lead {
  font-size: 1.08rem; line-height: 1.72; color: var(--text-soft);
  margin-bottom: 28px; font-weight: 400; max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-media { position: relative; }
.hero-frame {
  position: relative; background: var(--cream-deep);
  padding: 14px; box-shadow: var(--shadow-warm-lg);
}
.hero-frame::before {
  content: ''; position: absolute; inset: 5px;
  border: 1px solid var(--gold); pointer-events: none;
}
.hero-frame .corner { position: absolute; width: 24px; height: 24px; color: var(--gold); z-index: 3; }
.hero-frame .corner-tr { top: -1px; right: -1px; }
.hero-frame .corner-tl { top: -1px; left: -1px; transform: scaleX(-1); }
.hero-frame .corner-br { bottom: -1px; right: -1px; transform: scaleY(-1); }
.hero-frame .corner-bl { bottom: -1px; left: -1px; transform: scale(-1, -1); }
.hero-video { aspect-ratio: 16 / 10; width: 100%; background: var(--navy); position: relative; z-index: 2; }
.hero-video iframe { width: 100%; height: 100%; border: 0; }

/* ===== INNER PAGE HERO ===== */
.page-hero {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 66px 0 60px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 146, 75, 0.20) 0%, transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(184, 146, 75, 0.12) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.07; pointer-events: none; mix-blend-mode: overlay;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--gold-pale); justify-content: center; }
.page-hero .eyebrow::before { background: var(--gold-pale); }
.page-hero h1 {
  color: var(--cream); font-size: 2.9rem;
  margin: 0 auto 6px; max-width: 900px;
}
.page-hero p {
  color: var(--text-on-dark-soft); font-size: 1.06rem;
  max-width: 620px; margin: 8px auto 0; line-height: 1.7;
}
.page-hero .ornament { color: var(--gold-bright); margin: 16px auto 0; }
.page-hero .ornament::before { background: linear-gradient(to right, transparent, var(--gold-bright)); }
.page-hero .ornament::after { background: linear-gradient(to left, transparent, var(--gold-bright)); }

/* ===== STATS ===== */
.stats {
  background: var(--cream-deep);
  padding: 30px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.stats::before, .stats::after {
  content: ''; position: absolute; left: 0; right: 0;
  height: 1px; background: var(--gold); opacity: 0.4;
}
.stats::before { top: 5px; }
.stats::after  { bottom: 5px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 0 16px; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; right: 0;
  top: 18%; bottom: 18%; width: 1px;
  background: var(--gold); opacity: 0.35;
}
.stat-num {
  font-family: 'Heebo', sans-serif;
  font-size: 3rem; font-weight: 800; line-height: 1;
  color: var(--navy); display: block;
  margin-bottom: 6px; letter-spacing: -0.04em;
}
.stat-num .plus { color: var(--gold); font-weight: 500; margin-inline-start: 2px; }
.stat-label {
  font-family: 'Heebo', sans-serif; font-size: 0.76rem;
  font-weight: 600; letter-spacing: 0.2em; color: var(--text-soft);
}

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-header .eyebrow { justify-content: center; }
.section-header h2 { margin-bottom: 8px; }
.section-header .ornament { margin: 14px 0 0; }
.section-header > p {
  color: var(--text-soft); font-size: 1.04rem; font-weight: 400;
  max-width: 600px; margin: 8px auto 0;
}
.section-alt { background: var(--cream-pale); }

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 36px;
}
.feature {
  background: var(--cream-pale);
  padding: 36px 26px 32px;
  text-align: center; position: relative;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-warm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature::before {
  content: ''; position: absolute; top: 0; right: 0; left: 0;
  height: 3px; background: var(--gold);
  transition: height 0.3s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-warm-lg); }
.feature:hover::before { height: 5px; }
.feature-icon {
  width: 60px; height: 60px; margin: 0 auto 18px;
  background: var(--navy); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  position: relative; transition: all 0.35s ease;
}
.feature-icon::after {
  content: ''; position: absolute; inset: -5px;
  border: 1px solid var(--gold); transition: all 0.35s ease;
}
.feature:hover .feature-icon { background: var(--gold); color: var(--cream-pale); }
.feature:hover .feature-icon::after { inset: -8px; }
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.35rem; margin-bottom: 12px; color: var(--navy); }
.feature p { color: var(--text-soft); font-size: 0.96rem; line-height: 1.7; font-weight: 400; }

/* ===== QUOTE FEATURE ===== */
.quote-feature {
  background: var(--navy);
  color: var(--cream);
  padding: 64px 0;
  position: relative; overflow: hidden;
}
.quote-feature::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(184, 146, 75, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(184, 146, 75, 0.10) 0%, transparent 50%);
  pointer-events: none;
}
.quote-feature::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.08; pointer-events: none; mix-blend-mode: overlay;
}
.quote-watermark {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  height: 132%; width: auto;
  opacity: 0.12;
  pointer-events: none; z-index: 1;
}
.quote-feature .container-narrow { text-align: center; position: relative; z-index: 2; }
.quote-mark {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 5rem; line-height: 0.7;
  color: var(--gold-bright); opacity: 0.55;
  display: block; margin-bottom: 4px; font-weight: 700;
}
.quote-text {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.7rem; font-weight: 500; font-style: italic;
  line-height: 1.45; color: var(--cream);
  max-width: 780px; margin: 0 auto;
  letter-spacing: -0.005em;
}
.quote-attribution {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Heebo', sans-serif; font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.32em; color: var(--gold-pale);
}
.quote-attribution::before, .quote-attribution::after {
  content: ''; width: 26px; height: 1px;
  background: var(--gold-pale); opacity: 0.55;
}

/* ===== ABOUT / SPLIT SECTIONS ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-text h2 { margin-bottom: 18px; font-size: 2.1rem; }
.about-text p {
  color: var(--text); font-size: 1.02rem;
  margin-bottom: 16px; line-height: 1.75; font-weight: 400;
}
.about-text.has-dropcap p:first-of-type::first-letter {
  font-family: 'Heebo', sans-serif;
  font-size: 3.4rem; font-weight: 800; color: var(--gold);
  float: right; line-height: 0.88;
  padding-inline-start: 10px; padding-top: 6px; margin-bottom: -6px;
  letter-spacing: -0.04em;
}
.about-readmore {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 10px;
  font-family: 'Heebo', sans-serif; font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.12em;
  color: var(--navy); padding: 5px 0;
  border-bottom: 1.5px solid var(--gold);
}
.about-readmore:hover { color: var(--gold); gap: 16px; }
.about-image { position: relative; }
.about-image img {
  width: 100%;
  filter: sepia(0.12) saturate(0.95) contrast(1.03);
  box-shadow: var(--shadow-warm-lg);
}
.about-image::before {
  content: ''; position: absolute; inset: -14px;
  border: 1px solid var(--gold); z-index: -1;
}
.about-image::after {
  content: ''; position: absolute; top: -28px; right: -28px;
  width: 72px; height: 72px;
  background: var(--gold); opacity: 0.95; z-index: -2;
}
.about-sigil {
  position: absolute; bottom: -28px; left: -22px;
  width: 70px; height: 70px;
  background: var(--cream); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); box-shadow: var(--shadow-warm);
}
.about-sigil::before {
  content: ''; position: absolute; inset: 5px;
  border: 1px solid var(--gold); opacity: 0.5;
}
.about-sigil svg { width: 36px; height: 36px; }

/* ===== TIMELINE ===== */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; top: 6px; bottom: 10px; right: 7px;
  width: 2px; background: var(--gold); opacity: 0.5;
}
.timeline-item { position: relative; padding: 0 40px 30px 0; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; top: 4px; right: 0;
  width: 16px; height: 16px; background: var(--cream);
  border: 2px solid var(--gold); transform: rotate(45deg);
}
.timeline-item h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--gold-deep); margin-bottom: 4px;
}
.timeline-item h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: 6px; }
.timeline-item p { color: var(--text-soft); font-size: 0.98rem; line-height: 1.7; }

/* ===== VALUE CARDS ===== */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.value-card {
  background: var(--cream-pale); border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-warm); padding: 28px 26px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: all 0.35s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-warm-lg); }
.value-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--navy); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.value-icon::after { content: ''; position: absolute; inset: -4px; border: 1px solid var(--gold); }
.value-icon svg { width: 24px; height: 24px; }
.value-card h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 6px; }
.value-card p { color: var(--text-soft); font-size: 0.95rem; line-height: 1.7; margin-bottom: 4px; }
.value-card .card-arrow { color: var(--gold); transition: transform 0.3s ease; display: inline-block; }
a.value-card:hover h3 { color: var(--gold-deep); }
a.value-card:hover .card-arrow { transform: translateX(-5px); }
.value-card--top {
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form {
  background: var(--cream-pale); padding: 38px 34px;
  border: 1px solid var(--border-subtle); box-shadow: var(--shadow-warm);
}
.contact-form h3 { margin-bottom: 22px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; margin-bottom: 6px; font-weight: 600;
  font-size: 0.84rem; color: var(--navy); letter-spacing: 0.02em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border-subtle); background: var(--cream);
  font-family: inherit; font-size: 0.96rem; color: var(--text);
  outline: none; transition: border-color 0.25s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-status {
  margin-top: 16px; padding: 12px 16px;
  font-size: 0.92rem; font-weight: 600; line-height: 1.5;
  display: none;
}
.form-status.ok, .form-status.err { display: block; }
.form-status.ok {
  color: #1f5130; background: rgba(31, 120, 60, 0.10);
  border: 1px solid rgba(31, 120, 60, 0.35);
}
.form-status.err {
  color: #8a2a1f; background: rgba(160, 50, 35, 0.10);
  border: 1px solid rgba(160, 50, 35, 0.35);
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--cream-pale); border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-warm); padding: 20px 22px;
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-card .ic {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--navy); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.contact-card .ic::after { content: ''; position: absolute; inset: -4px; border: 1px solid var(--gold); }
.contact-card .ic svg { width: 20px; height: 20px; }
.contact-card h4 { color: var(--navy); margin-bottom: 2px; }
.contact-card p { color: var(--text-soft); font-size: 0.95rem; }
.map-frame {
  padding: 12px; background: var(--cream-deep);
  box-shadow: var(--shadow-warm); position: relative;
}
.map-frame::before {
  content: ''; position: absolute; inset: 5px;
  border: 1px solid var(--gold); pointer-events: none; z-index: 1;
}
.map-frame iframe { width: 100%; height: 300px; border: 0; display: block; position: relative; }

/* ===== MEDIA — VIDEOS & GALLERY ===== */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 24px; margin-top: 36px;
}
.video-card {
  background: var(--cream-pale); border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-warm); overflow: hidden;
  transition: all 0.35s ease;
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-warm-lg); }
.video-card iframe, .video-card video {
  width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; background: var(--navy);
}
.video-card .video-info { padding: 18px 20px; }
.video-card .video-info h4 { color: var(--navy); margin-bottom: 6px; }
.video-card .video-info p { color: var(--text-soft); font-size: 0.92rem; }

.founder-section { background: var(--cream-pale); }
.founder-video {
  position: relative; max-width: 560px; margin: 28px auto 14px;
}
.founder-video video {
  width: 100%; display: block; aspect-ratio: 16 / 9;
  background: var(--navy);
  filter: sepia(0.08) saturate(0.96) contrast(1.02);
  box-shadow: var(--shadow-warm-lg);
}
.founder-video::before {
  content: ''; position: absolute; inset: -14px;
  border: 1px solid var(--gold); z-index: -1; pointer-events: none;
}
.founder-video::after {
  content: ''; position: absolute; top: -28px; right: -28px;
  width: 64px; height: 64px;
  background: var(--gold); opacity: 0.95; z-index: -2; pointer-events: none;
}
body.ltr .founder-video::after { right: auto; left: -28px; }
@media (max-width: 640px) {
  .founder-video { max-width: 92%; margin-top: 22px; }
  .founder-video::after { width: 48px; height: 48px; top: -20px; right: -20px; }
  body.ltr .founder-video::after { left: -20px; }
}

.photo-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px; margin-top: 36px;
}
.photo-gallery img {
  width: 100%; height: 210px; object-fit: cover; cursor: pointer;
  box-shadow: var(--shadow-warm);
  filter: sepia(0.1) saturate(0.96);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.photo-gallery img:hover { transform: scale(1.03); box-shadow: var(--shadow-warm-lg); filter: none; }

.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(13, 30, 51, 0.94);
  z-index: 10000; justify-content: center; align-items: center; cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; box-shadow: 0 0 50px rgba(0,0,0,0.6); }
.lightbox-close {
  position: absolute; top: 18px; left: 22px;
  color: var(--cream); font-size: 2.4rem; line-height: 1;
  background: none; border: none; cursor: pointer;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--cream); font-size: 2.4rem;
  background: rgba(184, 146, 75, 0.25); border: 1px solid var(--gold);
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s ease;
}
.lightbox-nav:hover { background: var(--gold); }
.lightbox-prev { right: 22px; }
.lightbox-next { left: 22px; }

/* ===== CTA ===== */
.cta {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 60px 0;
  position: relative; text-align: center; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 146, 75, 0.20) 0%, transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(184, 146, 75, 0.12) 0%, transparent 55%);
  pointer-events: none;
}
.cta .border-top, .cta .border-bot {
  position: absolute; left: 0; right: 0;
  height: 14px; pointer-events: none;
}
.cta .border-top { top: 0; }
.cta .border-bot { bottom: 0; transform: scaleY(-1); }
.cta .border-top::before, .cta .border-bot::before {
  content: ''; position: absolute; top: 4px; left: 0; right: 0;
  height: 1px; background: linear-gradient(to right, transparent, var(--gold-bright), transparent);
}
.cta .border-top::after, .cta .border-bot::after {
  content: ''; position: absolute; top: 8px; left: 25%; right: 25%;
  height: 1px; background: linear-gradient(to right, transparent, var(--gold-pale), transparent);
  opacity: 0.55;
}
.cta .container-narrow { position: relative; z-index: 2; padding-top: 14px; padding-bottom: 14px; }
.cta .eyebrow { color: var(--gold-pale); justify-content: center; }
.cta .eyebrow::before { background: var(--gold-pale); }
.cta h2 {
  color: var(--cream); font-size: 2.3rem;
  margin-bottom: 16px; max-width: 780px; margin-inline: auto;
}
.cta p {
  max-width: 680px; margin: 0 auto 26px;
  color: var(--text-on-dark-soft); font-size: 1.04rem;
  font-weight: 400; line-height: 1.72;
}
.cta .ornament { color: var(--gold-bright); margin: 0 auto 18px; }
.cta .ornament::before { background: linear-gradient(to right, transparent, var(--gold-bright)); }
.cta .ornament::after  { background: linear-gradient(to left, transparent, var(--gold-bright)); }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-shade);
  color: var(--text-on-dark-soft);
  padding: 56px 0 22px;
  position: relative;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 5%, var(--gold) 50%, transparent 95%);
  opacity: 0.6;
}
.footer-ornament { display: flex; justify-content: center; margin-bottom: 30px; }
.footer-ornament img { width: 86px; height: auto; opacity: 0.9; }
.footer-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1.1fr;
  gap: 40px; padding-bottom: 32px;
  border-bottom: 1px solid rgba(184, 146, 75, 0.22);
}
.footer-brand h3 { color: var(--cream); font-size: 1.45rem; margin-bottom: 4px; font-weight: 700; }
.footer-brand .subtitle {
  font-family: 'Heebo', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.26em; font-weight: 500;
  color: var(--gold-bright); margin-bottom: 20px;
}
.footer-brand p {
  max-width: 420px; line-height: 1.75;
  font-size: 0.94rem; font-weight: 400; color: var(--text-on-dark-soft);
}
.footer-col h4 {
  color: var(--cream); font-family: 'Heebo', sans-serif;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.28em; margin-bottom: 20px;
}
.footer-col ul li, .footer-col p { font-size: 0.94rem; margin-bottom: 10px; font-weight: 400; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-col .contact-line { display: flex; gap: 12px; align-items: flex-start; }
.footer-col .contact-line svg {
  width: 15px; height: 15px; color: var(--gold);
  flex-shrink: 0; margin-top: 4px;
}
.footer-bottom {
  padding-top: 22px; text-align: center;
  font-size: 0.8rem; letter-spacing: 0.12em;
  color: rgba(244, 234, 208, 0.4);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.18s; }
.reveal.delay-3 { transition-delay: 0.28s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  section { padding: 50px 0; }
  h1 { font-size: 2.4rem !important; }
  h2 { font-size: 1.8rem !important; }
  .hero .container, .about-grid, .footer-grid,
  .contact-grid, .value-grid {
    grid-template-columns: 1fr; gap: 36px;
  }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .video-grid { grid-template-columns: 1fr; }
  .value-grid { gap: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat + .stat::before { display: none; }
  .stats-grid .stat:nth-child(3),
  .stats-grid .stat:nth-child(4) { padding-top: 24px; border-top: 1px solid var(--border-subtle); }
  .stat-num { font-size: 2.4rem; }
  .nav-links {
    display: none; position: absolute;
    top: 100%; right: 0; left: 0;
    background: var(--cream); flex-direction: column;
    padding: 28px; gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-warm);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  header.main-header { position: relative; }
  .top-bar .contact-info { gap: 12px; font-size: 0.75rem; }
  .top-bar .contact-info span:nth-child(2) { display: none; }
  .hero-actions .btn { justify-content: center; flex: 1; min-width: 180px; }
  .quote-text { font-size: 1.3rem; }
  .quote-mark { font-size: 3.5rem; }
  .cta h2 { font-size: 1.7rem; }
  .page-hero h1 { font-size: 2.1rem !important; }
  .about-image { margin-bottom: 14px; }
  .about-sigil { width: 56px; height: 56px; bottom: -22px; left: -14px; }
  .about-sigil svg { width: 28px; height: 28px; }
  .photo-gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .photo-gallery img { height: 150px; }
}

/* ===== DONATE PLANS ===== */
.donate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.donate-card {
  background: var(--cream-pale); border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-warm); padding: 36px 26px 30px;
  text-align: center; position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.donate-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-warm-lg); }
.donate-card.featured { border-color: var(--gold); }
.donate-card.featured::after {
  content: ''; position: absolute; top: 0; right: 0; left: 0;
  height: 3px; background: var(--gold);
}
.donate-card.featured::before {
  content: attr(data-badge);
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff;
  font-family: 'Heebo', sans-serif; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; padding: 6px 18px; white-space: nowrap;
}
.donate-card h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: 4px; }
.donate-amount {
  font-family: 'Heebo', sans-serif; font-size: 2.6rem; font-weight: 800;
  color: var(--gold-deep); margin: 14px 0; letter-spacing: -0.03em;
}
.donate-amount span { font-size: 0.92rem; font-weight: 500; color: var(--text-muted); }
.donate-card ul { margin: 18px 0 22px; text-align: start; }
.donate-card ul li {
  padding: 6px 0; color: var(--text-soft); font-size: 0.93rem; line-height: 1.6;
  display: flex; gap: 9px; align-items: flex-start;
}
.donate-card ul li::before { content: '\2726'; color: var(--gold); flex-shrink: 0; }
.custom-donate {
  margin-top: 30px; text-align: center;
  background: var(--cream-pale); border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-warm); padding: 34px;
}
.custom-donate h3 { margin-bottom: 18px; }
.amount-input-group { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.amount-input-group input {
  padding: 13px 18px; border: 1px solid var(--border-subtle);
  background: var(--cream); font-family: inherit; font-size: 1rem;
  width: 220px; text-align: center; outline: none;
  transition: border-color 0.25s ease;
}
.amount-input-group input:focus { border-color: var(--gold); }

/* ===== LTR — English pages ===== */
body.ltr { direction: ltr; text-align: left; }
body.ltr .nav-links a::after { right: auto; left: 0; }
body.ltr .stat + .stat::before { right: auto; left: 0; }
body.ltr .timeline::before { right: auto; left: 7px; }
body.ltr .timeline-item { padding: 0 0 30px 40px; }
body.ltr .timeline-item::before { right: auto; left: 0; }
body.ltr .about-text.has-dropcap p:first-of-type::first-letter {
  float: left; padding-inline-start: 0; padding-inline-end: 12px;
}
body.ltr .about-image::after { right: auto; left: -28px; }
body.ltr .about-sigil { left: auto; right: -22px; }
body.ltr .btn:hover .arrow { transform: translateX(5px); }
body.ltr a.value-card:hover .card-arrow { transform: translateX(5px); }

@media (max-width: 980px) {
  .donate-grid { grid-template-columns: 1fr; }
}
