/* ALMENTAR for Human Rights — almentar.org */

:root {
  --maroon: #8e1b2f;
  --maroon-dark: #6e1424;
  --maroon-deep: #4f0e1a;
  --maroon-soft: #a8394d;
  --cream: #faf6f2;
  --sand: #f3ece5;
  --ink: #2b2226;
  --gray: #6d6167;
  --line: #e6dcd4;
  --gold: #c9a227;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(79, 14, 26, 0.10);
  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.8;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--maroon); text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--maroon-deep);
  color: #f5e6ea;
  font-size: 13.5px;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: #f5e6ea; }
.topbar a:hover { color: #fff; text-decoration: underline; }

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 242, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: auto; }
.brand .name { font-weight: 800; font-size: 18px; color: var(--maroon-dark); line-height: 1.3; }
.brand .name small { display: block; font-weight: 600; font-size: 12px; color: var(--gray); }

nav.main { display: flex; align-items: center; gap: 26px; }
nav.main a {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
nav.main a:hover { color: var(--maroon); border-bottom-color: var(--maroon); }
.lang-switch {
  border: 1.5px solid var(--maroon);
  color: var(--maroon) !important;
  border-radius: 999px;
  padding: 5px 18px !important;
  font-size: 14px !important;
  border-bottom: 1.5px solid var(--maroon) !important;
}
.lang-switch:hover { background: var(--maroon); color: #fff !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--maroon-dark); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(142, 27, 47, 0.14), transparent 60%),
    radial-gradient(900px 450px at 10% 110%, rgba(201, 162, 39, 0.10), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding-top: 84px;
  padding-bottom: 84px;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 900;
  color: var(--maroon-deep);
  line-height: 1.35;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--maroon); }
.hero p.lead {
  font-size: 19px;
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero .logo-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 36px;
  display: flex;
  justify-content: center;
}
.hero .logo-panel img { max-width: 380px; width: 100%; }

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 20px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--maroon);
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(79, 14, 26, 0.06);
}
.tagline::before { content: "◆"; font-size: 10px; color: var(--gold); }

.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn-primary { background: var(--maroon); color: #fff; box-shadow: 0 8px 22px rgba(142, 27, 47, 0.35); }
.btn-primary:hover { background: var(--maroon-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--maroon); color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: #fff; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.kicker {
  display: inline-block;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 1px;
  color: var(--maroon);
  background: rgba(142, 27, 47, 0.08);
  border-radius: 999px;
  padding: 4px 18px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900;
  color: var(--maroon-deep);
  margin-bottom: 14px;
}
.section-head p { color: var(--gray); font-size: 17px; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s;
}
section.alt .card { background: var(--cream); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; font-weight: 800; color: var(--maroon-deep); margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 15.5px; }

/* Mission split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 900; color: var(--maroon-deep); margin-bottom: 18px; }
.split p { color: var(--gray); margin-bottom: 16px; }
.split .panel {
  background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
  color: #fff;
  border-radius: 24px;
  padding: 44px 38px;
  box-shadow: var(--shadow);
}
.split .panel h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.split .panel p { color: rgba(255, 255, 255, 0.85); }
.split .panel .divider { width: 64px; height: 3px; background: var(--gold); border-radius: 2px; margin: 18px 0; }

/* Checklist */
ul.checks { list-style: none; }
ul.checks li {
  position: relative;
  padding-inline-start: 34px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 600;
}
ul.checks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(142, 27, 47, 0.12);
}
ul.checks li::after {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  top: 12px;
  width: 8px;
  height: 5px;
  border: 2px solid var(--maroon);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}

/* Legal frameworks strip */
.frameworks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.framework {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}
.framework .num { font-size: 15px; font-weight: 900; color: var(--gold); letter-spacing: 1px; }
.framework h4 { font-size: 16.5px; font-weight: 800; color: var(--maroon-deep); margin-top: 6px; }

/* Non-profit note */
.note {
  background: var(--sand);
  border-inline-start: 4px solid var(--maroon);
  border-radius: 10px;
  padding: 26px 30px;
  color: var(--ink);
  font-size: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.note strong { color: var(--maroon-dark); }

/* Contact */
.contact-box {
  background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
  border-radius: 28px;
  color: #fff;
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-box h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; margin-bottom: 14px; }
.contact-box p { color: rgba(255, 255, 255, 0.85); max-width: 620px; margin: 0 auto 30px; }
.contact-box .email {
  display: inline-block;
  background: #fff;
  color: var(--maroon-dark);
  font-weight: 900;
  font-size: 19px;
  padding: 14px 40px;
  border-radius: 999px;
  transition: transform .15s;
  direction: ltr;
}
.contact-box .email:hover { transform: translateY(-2px); }

/* Footer */
footer {
  background: var(--maroon-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 46px 0 30px;
  font-size: 14.5px;
}
footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer .fbrand { display: flex; align-items: center; gap: 12px; }
footer .fbrand img { height: 46px; background: #fff; border-radius: 10px; padding: 4px; }
footer .fbrand div { font-weight: 800; color: #fff; }
footer .fbrand small { display: block; font-weight: 600; color: rgba(255, 255, 255, 0.65); }
footer a { color: rgba(255, 255, 255, 0.85); }
footer a:hover { color: #fff; }
footer .copy { width: 100%; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 22px; margin-top: 10px; font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
  .hero .logo-panel { order: -1; padding: 24px; }
  .hero .logo-panel img { max-width: 260px; }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .frameworks { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  section { padding: 60px 0; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  nav.main {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    font-size: 20px;
    transform: translateY(-100%);
    transition: transform .3s;
    z-index: 60;
  }
  nav.main.open { transform: translateY(0); }
  nav.main a { font-size: 19px; }
  .nav-toggle { display: block; z-index: 70; }
  .brand img { height: 46px; }
  .brand .name { font-size: 15px; }
  .contact-box { padding: 44px 24px; }
}
