:root {
  /* Core palette */
  --alef-navy: #001633;
  --alef-navy-soft: #00214d;
  --alef-accent: #ffab40;
  --alef-accent-soft: #ffc770;

  /* Backgrounds */
  --alef-bg: #ffffff;
  --alef-light-bg: #f5f7fb;
  --alef-bg-muted: #f5f7fb;

  /* Text */
  --alef-text-main: #111111;
  --alef-text-muted: #666666;

  /* Borders */
  --alef-border-subtle: #e3e6ee;
  --alef-border-muted: #cfd4e6;

  --alef-success: #0a7c4a;
  --alef-error: #c0392b;

  /* Layout-specific */
  --alef-header-bg: var(--alef-navy);
  --alef-footer-bg: var(--alef-navy);
  --alef-header-text: #ffffff;
  --alef-footer-text: #ffffff;

  /* Slider spacing */
  --logo-gap: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--alef-text-main);
  background-color: var(--alef-bg);
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* BASIC TYPOGRAPHY */

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--alef-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--alef-accent);
}

/* HEADER & NAVIGATION */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--alef-header-bg);
  /* border-bottom: 1px solid var(--alef-border-subtle); */
}

.nav-bar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--alef-header-text);
}

.logo-mark {
  height: 24px;
  width: auto;
  display: block;
}

.logo:hover {
  text-decoration: none;
  color: var(--alef-accent);
}

/* Nav links */

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links a, .nav-dropdown {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--alef-header-text);
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--alef-accent);
  background-color: transparent;
}

/* Dropdowns */

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1;
}

.nav-caret {
  font-size: 0.75em;
  line-height: 1;
  position: relative;
  top: 1px;
  opacity: 0.9;
}

/* Hidden by default (desktop) */
.nav-dropdown > .nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0.55rem;
  min-width: 220px;
  position: absolute;
  top: 100%;
  right: 0;
  transform: translateY(10px);
  background: var(--alef-navy);
  border: 1px solid var(--alef-navy-soft);
  border-radius: 12px;
  display: none;
  z-index: 999;
}

/* Hover bridge */
.nav-dropdown > .nav-submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

/* Show submenu on hover / keyboard focus (and optional JS-open class) */
.nav-dropdown:hover > .nav-submenu,
.nav-dropdown:focus-within > .nav-submenu,
.nav-dropdown.is-open > .nav-submenu {
  display: block;
}

.nav-submenu li + li {
  margin-top: 0.25rem;
}

.nav-submenu a {
  display: block;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  color: var(--alef-header-text);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
}

.nav-submenu a:hover {
  color: var(--alef-accent);
  background: transparent;
}

/* Hamburger */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;

  position: relative;
  width: 24px;
  height: 18px;
}

.nav-toggle-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--alef-bg);
  border-radius: 999px;

  transition:
    transform 0.33s cubic-bezier(0.4, 0.0, 0.2, 1),
    top 0.33s cubic-bezier(0.4, 0.0, 0.2, 1),
    opacity 0.33s ease;
}

.nav-toggle-bar:nth-child(1) { top: 0; }
.nav-toggle-bar:nth-child(2) { top: 8px; }
.nav-toggle-bar:nth-child(3) { top: 16px; }

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

/* --- Mobile layout --- */
@media (max-width: 768px) {
  .nav-bar {
    padding: 0.75rem 1.25rem;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background-color: var(--alef-navy);
    border-bottom: 1px solid var(--alef-border-subtle);
    padding: 0.75rem 1.25rem 1rem;
  }

  .nav-links li + li {
    margin-top: 0.5rem;
  }

  .nav-links a {
    color: var(--alef-header-text);
    display: block;
    width: 100%;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links .nav-cta {
    padding: 0.45rem 0;
    border-radius: 0;
    border: none;
    background: none;
    color: var(--alef-navy);
  }

  /* Mobile: render submenu as nested items */
  .nav-dropdown > .nav-submenu {
    position: static;
    transform: none;
    display: block;

    padding: 0.25rem 0 0.25rem 0.75rem;
    margin: 0.25rem 0 0.5rem;

    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
    background: transparent;
  }

  .nav-caret {
    display: none;
  }

  .nav-submenu a {
    padding: 0.45rem 0;
    border-radius: 0;
  }
}

/* HERO */

.hero {
  background-color: var(--alef-navy);
  background-image: url("../img/background_alef.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--alef-bg);
  padding: 5rem 1.5rem 4rem;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 650px;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
}

/* SECTION LAYOUT */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
}

.section-alt-bg {
  background-color: var(--alef-light-bg);
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.section-title-underline {
  width: 50px;
  height: 3px;
  background-color: var(--alef-accent);
  margin-bottom: 1.5rem;
}

/* GENERIC CARD GRID */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  border-radius: 8px;
  border: 1px solid var(--alef-border-subtle);
  padding: 1.5rem;
  background-color: var(--alef-bg);
}

.card h3 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--alef-navy);
}

.card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.card ul li {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ICONS INSIDE CARD TITLES */

.card h3 i {
  margin-right: 0.4rem;
  color: var(--alef-accent);
}

/* TEAM GRID */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.team-member {
  text-align: left;
}

.team-photo {
  width: 10em;
  height: 10em;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
  border: 2px solid var(--alef-accent);
}

.team-name {
  font-weight: 600;
  color: var(--alef-navy);
}

/* CONTACT FORM */

.contact-form {
  max-width: 600px;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--alef-navy);
  font-weight: 500;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--alef-border-muted);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--alef-bg);
  color: var(--alef-navy);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.form-message--success {
  color: var(--alef-success);
}

.form-message--error {
  color: var(--alef-error);
}

/* Country searchable dropdown */
.choices, .choices__inner, .choices__input, .choices__list {
  background-color: var(--alef-bg) !important;
  color: var(--alef-navy) !important;
  font-family: inherit;
  font-size: 0.95rem;
}

.choices__item:hover,
.choices__list--dropdown .choices__item--selectable.is-highlighted:hover {
  color: var(--alef-accent) !important;
  background-color: var(--alef-bg) !important;
}

.choices__list--single .choices__placeholder {
  color: var(--alef-navy) !important;
  opacity: 0.6 !important;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list--dropdown .choices__item--highlighted {
  background-color: var(--alef-bg) !important;
  color: var(--alef-navy) !important;
}

[hidden] {
  display: none !important;
}

/* Buttons */

.btn-primary,
.hero-cta,
.btn-primary:visited,
.hero-cta:visited {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  background-color: var(--alef-accent);
  color: var(--alef-navy);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary:hover,
.hero-cta:hover {
  background-color: var(--alef-accent-soft);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* FOOTER */

.site-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  background-color: var(--alef-footer-bg);
  color: var(--alef-footer-text);
  margin-top: 2rem;
  margin-bottom: 0;
}

.site-footer a {
  color: var(--alef-footer-text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--alef-accent);
}

/* Basic responsiveness */

@media (max-width: 720px) {
  .nav-links {
    gap: 0.75rem;
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }
}

/* TRUST STRIP ON HOMEPAGE */

.trust-strip {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.trust-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--alef-navy);
  opacity: 0.8;
  margin-bottom: 1rem;
}

/* CLIENTS GRID PAGE */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
}

.clients-grid > .client-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
}

.client-card {
  border-radius: 8px;
  border: 1px solid var(--alef-border-subtle);
  background-color: var(--alef-bg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.client-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--alef-navy);
  margin: 0;
}

.client-description {
  font-size: 0.93rem;
  line-height: 1.5;
  margin: 0;
}

/* Client logos in cards */

.card.centered {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.client-logo-image {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.logo-normal {
  opacity: 1;
}

.logo-hover {
  position: absolute;
  inset: 0;
  margin: auto;
  opacity: 0;
}

.client-logo-link:hover .logo-normal {
  opacity: 0;
  transform: translateY(-2px);
}

.client-logo-link:hover .logo-hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* LOGO CAROUSEL */

.logo-slider {
  position: relative;
  margin-top: 1.5rem;
}

.logo-slider-window {
  overflow: hidden;
  padding: 0 3rem;
}

.logo-slider-track {
  display: flex;
  column-gap: var(--logo-gap);
}

.logo-slider-track .card {
  flex: 0 0 calc((100% - 2 * var(--logo-gap)) / 3);
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .logo-slider-track .card {
    flex: 0 0 calc((100% - var(--logo-gap)) / 2);
  }
}

@media (max-width: 600px) {
  .logo-slider-track .card {
    flex: 0 0 100%;
  }
}

.logo-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: var(--alef-navy);
  color: var(--alef-bg);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.logo-slider-arrow.prev { left: 0; }
.logo-slider-arrow.next { right: 0; }

.logo-slider-arrow[disabled] {
  opacity: 0.35;
  cursor: default;
}

/* IMPACT GRID */

.impact-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }
}

.impact-card {
  border-radius: 8px;
  border: 1px solid var(--alef-border-subtle);
  background-color: var(--alef-bg);
  padding: 1.5rem;
}

.impact-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--alef-navy);
}

.impact-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* QUOTE SLIDER */

.quote-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
}

.quote-slider {
  position: relative;
  margin-top: 1.5rem;
}

.quote-slider-window {
  overflow: hidden;
  padding: 0 3rem;
}

.quote-slider-track {
  display: flex;
}

.quote-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid var(--alef-border-subtle);
  background-color: var(--alef-bg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.quote-text {
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.quote-meta {
  font-size: 0.85rem;
  color: var(--alef-text-muted);
  margin: auto 0 0;
}

.quote-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: var(--alef-navy);
  color: var(--alef-bg);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.quote-slider-arrow.prev { left: 0; }
.quote-slider-arrow.next { right: 0; }

.quote-slider-arrow[disabled] {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 640px) {
  .quote-slider-window {
    padding: 0;
  }
}

/* INSIGHTS */

.insights-search {
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* Keep input + select visually consistent */
.insights-search input[type="search"],
.insights-tag-select {
  height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--alef-border-muted);
  background: var(--alef-bg);
  color: var(--alef-text-main);
  font-family: inherit;
  font-size: 0.95rem;
}

.insights-search input[type="search"]{
  flex: 1 1 520px;   /* was 180px */
  min-width: 150px;  /* helps keep it wide on medium screens */
}

.insights-select{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.insights-tag-select {
  height: 40px;
  padding: 0.45rem 2.8rem 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--alef-border-muted);
  background: var(--alef-bg);
  color: var(--alef-text-main);
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.insights-select::after{
  content: "";
  position: absolute;
  right: 1rem;
  width: 10px;
  height: 10px;
  pointer-events: none;
  border-right: 2px solid var(--alef-text-muted);
  border-bottom: 2px solid var(--alef-text-muted);
  transform: rotate(45deg);
}

/* Same focus style for both */
.insights-search input[type="search"]:focus,
.insights-tag-select:focus {
  outline: none;
  border-color: var(--alef-navy);
}

.insights-search input[type="search"]:hover,
.insights-tag-select:hover {
  border-color: var(--alef-navy);
}

.insights-search-result {
  font-size: 0.85rem;
  color: var(--alef-text-muted);
}

.insights-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.insights-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--alef-border-subtle);
}

.insights-item:last-child {
  border-bottom: none;
}

.insights-item-title {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}

.insights-item-title a {
  text-decoration: none;
  color: var(--alef-navy);
}

.insights-item-title a:hover {
  color: var(--alef-accent);
}

.insights-meta {
  font-size: 0.85rem;
  color: var(--alef-text-muted);
  margin-bottom: 0.5rem;
}

.insights-teaser {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.insights-tags {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
}

.insights-tag {
  display: inline-block;
  margin-right: 0.4rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--alef-border-muted);
  text-decoration: none;
  color: var(--alef-navy);
  background-color: var(--alef-border-subtle);
}

.insights-tag:hover {
  border-color: var(--alef-accent);
  color: var(--alef-accent);
}

.insights-breadcrumb {
  font-size: 0.85rem;
  color: var(--alef-text-muted);
}

.insights-breadcrumb a {
  text-decoration: none;
}

.insights-hero {
  max-width: 100%;
  margin: 1rem 0;
  border-radius: 8px;
}

.insights-body {
  font-size: 0.98rem;
  line-height: 1.7;
}

.insights-body h2,
.insights-body h3 {
  margin-top: 1.6rem;
}

.insights-body img {
  display: block;
  width: 66.67%;
  margin: 0 auto;
}

.insights-share {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.insights-share a {
  text-decoration: none;
  color: var(--alef-navy);
  font-weight: 500;
}

.insights-share a:hover {
  color: var(--alef-accent);
}

.insights-attachment {
  margin-top: 1rem;
}

.insights-share-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.75rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--alef-border-muted);
  background: transparent;
  color: var(--alef-navy);
  font-size: 0.9rem;
  cursor: pointer;
}

.insights-share-button i {
  font-size: 0.9rem;
}

.insights-share-button:hover {
  border-color: var(--alef-accent);
  color: var(--alef-accent);
}

/* Theme toggle */

.theme-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 999px;
  color: var(--alef-header-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle i {
  font-size: 1rem;
}

.theme-toggle:hover {
  color: var(--alef-accent);
}

/* Misc */

.team-name-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--alef-border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--alef-bordersubtle);
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  background: var(--alef-accent);
  color: var(--alef-navy);
  transform: translateY(-1px);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Plotly embeds */

.plotly-container {
  width: 100%;
  margin: 1.5rem 0;
}

.plotly-container iframe {
  width: 100%;
  height: 520px;
  border: 0;
}

/* Articles ToC */

.article-toc {
  border: 1px solid var(--alef-border-subtle);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0 1.5rem;
  background: var(--alef-bg);
}

.article-toc .toc ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.article-toc a {
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--alef-accent);
}

/* Insights tables */

.insights-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.insights-body th,
.insights-body td {
  border: 1px solid var(--alef-border-subtle);
  padding: 0.75rem 0.9rem;
  vertical-align: top;
}

.insights-body th {
  background: var(--alef-bg-muted);
  color: var(--alef-navy);
  font-weight: 600;
}

.insights-body tr:nth-child(even) td {
  background: var(--alef-bg);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-header .section-title-underline {
  margin-bottom: 0;
}

.section-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--alef-border-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--alef-navy);
  background: var(--alef-bg);
  white-space: nowrap;
  font-family:inherit;
}

.section-cta:hover {
  border-color: var(--alef-accent);
  color: var(--alef-accent);
}

.section-cta-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

/* ABOUT - STATS STRIP */
.stats-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-card {
  padding: 1.25rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--alef-border-subtle);
  background: var(--alef-bg);
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--alef-navy);
  margin-bottom: 0.35rem;
}

.stat-icon {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--alef-navy);
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--alef-text-muted);
  margin: 0 auto;
  max-width: 260px; /* keeps long labels tidy */
}

/* Responsive */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-value {
    font-size: 2.6rem;
  }
}

@media (max-width: 520px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-card {
    text-align: left;
  }
  .stat-label {
    margin: 0;
    max-width: none;
  }
}

.form-input-comment {
  display: block;
  margin-top: 4px;
  font-size: 0.7em;
  color: var(--alef-text-muted);
}