/* ============================================================
   Euro-Med EVE Morocco — site styles
   Brand colors: blue #5fa3f0 · green #55e081 · yellow #f5fe48
   ============================================================ */

/* Headings */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque/BricolageGrotesque-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque/BricolageGrotesque-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Body / UI */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #5fa3f0;
  --blue-dark: #2f6fbf;
  --green: #55e081;
  --green-dark: #2fae5b;
  --yellow: #f5fe48;

  --ink: #0f0f0f;
  --muted: #606060;
  --bg: #ffffff;
  --soft: #f2f2f2;
  --soft-2: #eaf3fe;
  --border: #e5e5e5;

  --radius: 12px;
  --radius-panel: 8px;
  --radius-dropdown: 4px;
  --radius-badge: 2px;
  --radius-btn: 9999px;
  --radius-pill: 9999px;
  --shadow-sm: none;
  --shadow-md: 0 4px 32px rgba(0, 0, 0, .1);
  --elev-1: 0 1px 2px rgba(0, 0, 0, .1);
  --elev-3: 0 8px 40px rgba(0, 0, 0, .2);
  --content-max: 1140px;
  --article-max: 760px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --font-heading: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; zoom: 1.1; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.43;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; color: var(--ink); }
h1 { font-size: 24px; font-weight: 800; }
h2 { font-size: 20px; font-weight: 600; }
h3 { font-size: 16px; font-weight: 600; }

.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; }
.section.soft { background: var(--soft); }
.center { text-align: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: 13px;
  font-weight: 800; color: var(--blue-dark); margin-bottom: 10px;
}
.lead { font-size: 1.18rem; color: var(--muted); max-width: 660px; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 2.1rem; }
.section-head h2 .hl {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  padding: 0 .08em;
}
.section-head .lead { margin: 0 auto; }

/* tri-color accent bar */
.accent-bar { height: 6px; border: 0;
  background: linear-gradient(90deg, var(--blue) 0 33%, var(--green) 33% 66%, var(--yellow) 66% 100%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; cursor: pointer; border-radius: var(--radius-btn);
  font: inherit; font-weight: 600; font-size: 14px; line-height: 20px; padding: 8px 16px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  transition: background .15s, border-color .15s;
  text-decoration: none;
}
.btn:hover { background: #272727; border-color: #272727; text-decoration: none; }
.btn.green { background: var(--green); color: #0c3a1d; border-color: var(--green); }
.btn.green:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn.ghost:hover { background: var(--soft); border-color: var(--border); }
.btn-row { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; box-shadow: var(--elev-1);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--blue-dark); }
.brand:hover { text-decoration: none; }
.brand img { height: 32px; width: auto; }
.brand .brand-text { font-size: 1.02rem; line-height: 1.1; }
.brand .brand-text small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: var(--radius-btn); color: var(--blue-dark);
  font-weight: 600; font-size: 14px;
  transition: background-color .25s cubic-bezier(.4,0,.2,1), color .25s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover { background: var(--soft-2); text-decoration: none; }
.nav-links a.active { color: var(--blue); background: var(--soft-2); font-weight: 800; }
.nav-cta { margin-left: 8px; }
.nav-cta .btn {
  background: var(--green); color: #0c3a1d; border-color: var(--green-dark);
  border-radius: var(--radius-panel);
}
.nav-cta .btn:hover { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--blue-dark); margin: 5px 0; transition: .2s; }

/* ---------- Header dropdown ("More") ---------- */
.nav-item.dropdown { position: relative; }
.nav-item.dropdown::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 6px;
}
.nav-drop-toggle {
  display: flex; align-items: center; gap: 5px; padding: 9px 14px; border-radius: var(--radius-btn);
  color: var(--blue-dark); font: inherit; font-weight: 600; font-size: 14px;
  background: none; border: 0; cursor: pointer;
  transition: background-color .25s cubic-bezier(.4,0,.2,1), color .25s cubic-bezier(.4,0,.2,1);
}
.nav-drop-toggle:hover, .nav-drop-toggle.active { background: var(--soft-2); }
.nav-drop-toggle.active { color: var(--blue); font-weight: 800; }
.nav-drop-toggle .chevron { transition: transform .25s cubic-bezier(.4,0,.2,1); }
.nav-item.dropdown.open .nav-drop-toggle .chevron { transform: rotate(180deg); }
.dropdown-menu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 180px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-dropdown);
  box-shadow: var(--shadow-md); display: none; z-index: 110;
}
.nav-item.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block; padding: 10px 14px; border-radius: var(--radius-dropdown); color: var(--blue-dark);
  font-weight: 600; font-size: 14px;
  transition: background-color .25s cubic-bezier(.4,0,.2,1), color .25s cubic-bezier(.4,0,.2,1);
}
.dropdown-menu li a:hover, .dropdown-menu li a.active { background: var(--soft-2); text-decoration: none; }
.dropdown-menu li a.active { color: var(--blue); font-weight: 800; }
@media (min-width: 901px) {
  .nav-item.dropdown:hover .dropdown-menu { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: #09111e;
  min-height: 760px; display: flex; align-items: center;
}
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slides-track { display: flex; width: 100%; height: 100%; transition: transform .9s cubic-bezier(.65,.05,.36,1); }
.hero-slide {
  flex: 0 0 100%; height: 100%; background-position: center 30%; background-size: cover; background-repeat: no-repeat;
}
.hero-dots {
  position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero-dot {
  width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer; transition: background .3s ease, transform .3s ease;
}
.hero-dot:hover { background: rgba(255,255,255,.7); }
.hero-dot.active { background: #fff; transform: scale(1.3); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(9,17,30,.72) 0%, rgba(9,17,30,.5) 35%, rgba(9,17,30,.22) 65%, rgba(9,17,30,.05) 100%),
    linear-gradient(0deg, rgba(9,17,30,.4) 0%, transparent 45%);
  pointer-events: none;
}
.hero-inner { position: relative; padding: 140px 0; }
.hero h1 {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .85), 0 1px 3px rgba(0, 0, 0, .9);
}
.hero h1 .hl {
  position: relative;
  color: var(--yellow);
  padding: 0 .08em .08em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .85), 0 1px 3px rgba(0, 0, 0, .9);
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: .1em;
  background: var(--yellow);
  border-radius: 2px;
}
.hero .eyebrow {
  display: inline-block;
  color: #0c1c33;
  font-size: 1.05rem;
  background: linear-gradient(transparent 18%, var(--yellow) 18%, var(--yellow) 88%, transparent 88%);
  padding: 2px 8px;
  border-radius: 0;
  font-weight: 700;
  text-shadow: none;
}

/* ---------- Hero sub (lead text + CTAs below the hero image) ---------- */
.hero-sub { background: var(--soft); padding: 56px 0; text-align: center; }
.hero-sub p {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  max-width: 780px;
  margin: 0 auto 36px;
}
.hero-sub .btn-row { justify-content: center; gap: 20px; }
.hero-sub .btn-row .btn {
  font-size: 18px;
  padding: 16px 36px;
  box-shadow: var(--elev-1);
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.hero-sub .btn-row .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(9, 17, 30, .18);
}
.hero-sub .btn-row .btn.ghost { background: #fff; }
.hero .hero-lead .marker {
  /* highlighter-style marker that hugs the text on every wrapped line */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: linear-gradient(transparent 8%, rgba(245, 254, 72, .35) 8%, rgba(245, 254, 72, .35) 92%, transparent 92%);
  padding: 2px 6px;
  color: #000;
  /* white outline so the words stand out against the marker */
  -webkit-text-stroke: .5px #fff;
  paint-order: stroke fill;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
}
/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.stat .num { font-size: 2.3rem; font-weight: 800; color: var(--blue-dark); }
.stat .label { color: var(--muted); font-weight: 700; font-size: .92rem; }

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

.card {
  background: transparent; border-radius: 0; color: var(--ink);
  overflow: visible; box-shadow: none; transition: none;
  display: flex; flex-direction: column;
}
.card:hover { transform: none; box-shadow: none; }
.card .thumb { aspect-ratio: 16 / 9; background: var(--soft-2); border-radius: var(--radius); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 12px 0 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .meta { font-size: 12px; line-height: 16px; color: var(--muted); font-weight: 500; }
.card h3 { font-size: 14px; line-height: 20px; font-weight: 600; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--ink); text-decoration: none; }
.card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 18px; }
.card .more { margin-top: auto; font-weight: 600; color: var(--blue); font-size: 12px; }

/* Glide-in reveal for blog cards on the home page */
.reveal-group .card {
  opacity: 0; transform: translateY(36px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-group .card.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-group .card { opacity: 1; transform: none; transition: none; }
}

/* feature (pillar) tiles */
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.feature .ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 14px; background: var(--soft-2); }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }

/* badge */
.badge { display: inline-block; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .02em;
  padding: 3px 10px; border-radius: var(--radius-btn); background: var(--soft-2); color: var(--ink); }
.badge.green { background: rgba(85, 224, 129, .18); color: var(--green-dark); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--soft); border-bottom: 1px solid var(--border); padding: 64px 0; text-align: center; }
.page-hero h1 { font-size: 2.6rem; }
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 640px; margin: 0 auto; }

/* ---------- Article (single post) ---------- */
.article-wrap { max-width: var(--article-max); margin: 0 auto; padding: 56px 24px 90px; }
.article-back { font-weight: 700; font-size: .92rem; }
.article-header { margin: 18px 0 28px; }
.article-header h1 { font-size: 2.4rem; }
.article-meta { color: var(--muted); font-size: .95rem; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin: 0 0 34px; box-shadow: var(--shadow-sm); }
.article-cover img { width: 100%; max-height: 440px; object-fit: cover; }
.article-body { font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.8; }
.article-body > *:first-child { margin-top: 0; }
.article-body h2 { font-size: 1.7rem; margin: 1.6em 0 .4em; }
.article-body h3 { font-size: 1.35rem; margin: 1.4em 0 .4em; }
.article-body p { margin: 0 0 1.1em; }
.article-body img { border-radius: 10px; margin: 1.4em auto; }
.article-body figure { margin: 1.6em 0; }
.article-body figcaption { font-family: var(--font-sans); font-size: .88rem; color: var(--muted); text-align: center; margin-top: 8px; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.article-body li { margin: .35em 0; }
.article-body a { color: var(--blue-dark); text-decoration: underline; }
.article-body blockquote { margin: 1.5em 0; padding: 8px 22px; border-left: 4px solid var(--green); background: var(--soft); font-style: italic; color: #34414f; }
.article-body table { border-collapse: collapse; width: 100%; margin: 1.4em 0; font-family: var(--font-sans); font-size: .96rem; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }
.article-body th { background: var(--soft-2); }
.article-body hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }

/* ---------- Blog toolbar ---------- */
.blog-tools { display: flex; justify-content: center; margin: -18px 0 34px; }
.blog-tools input {
  font: inherit; font-size: 14px; padding: 10px 4px; width: 100%; max-width: 420px;
  border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent;
}
.blog-tools input:focus { outline: none; border-bottom-color: var(--ink); box-shadow: none; }
.no-results { text-align: center; color: var(--muted); padding: 50px 0; display: none; }

/* ---------- About / prose blocks ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: #36434f; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.value-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.value-list li { padding-left: 30px; position: relative; color: #36434f; }
.value-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-dark); font-weight: 800; }

/* ---------- Tag cloud (fields of work) ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 880px; margin: 0 auto; }
.tag {
  background: var(--soft); border: 0; border-radius: var(--radius-btn);
  padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--ink);
}
.tag:hover { background: var(--ink); color: #fff; }

/* ---------- Project portfolio cards ---------- */
.project-card .proj-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project-card .proj-top .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--soft-2);
  display: grid; place-items: center; color: var(--blue-dark); }
.proj-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.project-card h3 { font-size: 1.15rem; margin-top: 4px; }
.proj-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 6px 0 0;
  padding-top: 16px; border-top: 1px solid var(--border); }
.proj-meta dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 800; }
.proj-meta dd { margin: 2px 0 0; font-size: .92rem; font-weight: 700; color: var(--ink); }
.proj-meta-lg { grid-template-columns: repeat(4, 1fr); margin-top: 32px; padding-top: 24px; }

/* ---------- Project index tiles (name-only, colored) ---------- */
.grid.tiles { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
  padding: 44px 28px; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease; color: var(--ink);
}
.project-tile:hover { transform: translateY(-6px) scale(1.015); box-shadow: var(--shadow-md); text-decoration: none; }
.project-tile .ico { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm); }
.project-tile .ico .icon { width: 28px; height: 28px; }
.project-tile h3 { font-size: 1.15rem; font-weight: 800; margin: 0; color: var(--ink); line-height: 1.3; }
.article-header .proj-top { justify-content: flex-start; gap: 16px; margin-bottom: 14px; }
.article-header .proj-top .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }

/* ---------- Partners / funders ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.logo-tile { background: var(--soft-2); border: 1px solid var(--blue); border-radius: var(--radius); padding: 26px; text-align: center;
  display: grid; place-items: center; gap: 8px; min-height: 130px; box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
.logo-tile .pl { font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.logo-tile small { color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; max-width: 620px; margin: 0 auto; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-weight: 700; font-size: .92rem; display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  font: inherit; width: 100%; padding: 12px 14px; border: 1px solid transparent;
  border-radius: var(--radius-dropdown); background: var(--soft); color: var(--ink);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: none; }
.form-note { font-size: .86rem; color: var(--muted); text-align: center; }

/* contact info cards */
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.info-card .ico { font-size: 1.4rem; }
.info-card h3 { font-size: 1.05rem; margin: 8px 0 4px; }
.info-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-panel); padding: 54px 40px; text-align: center; }
.cta-band h2 { color: #fff; font-size: 2rem; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 24px; font-size: 1.1rem; }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn:hover { background: var(--soft); color: var(--ink); border-color: var(--soft); }
.cta-band .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.cta-band .btn.ghost:hover { background: rgba(255,255,255,.15); color: #fff; border-color: #fff; }

/* social icons (footer) */
.socials { display: flex; gap: 10px; margin-top: 16px; }
.social {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18); text-decoration: none;
}
.social:hover { background: var(--blue); color: #fff; text-decoration: none; }

/* ---------- Inline SVG icons ---------- */
.icon { display: inline-block; vertical-align: middle; flex: none; }
.feature .ico, .info-card .ico { color: var(--blue-dark); }
.feature .ico { background: var(--soft-2); }
.btn .icon { vertical-align: -3px; margin-right: 6px; }
.cta-band .btn .icon { color: var(--blue-dark); }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.footer-links li { display: flex; align-items: flex-start; gap: 9px; }
.footer-links li .icon { color: var(--blue); margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7d3df; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 60px 0 40px; }
.site-footer .brand-text, .site-footer h4 { color: #fff; }
.site-footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 16px; }
.site-footer a { color: #c7d3df; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-brand img { height: 46px; margin-bottom: 14px; }
.footer-brand p { color: #9fb0c0; font-size: .95rem; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .86rem; color: #8aa0b3;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { min-height: 560px; background-position: 65% center; }
  .hero::before { background: linear-gradient(180deg, rgba(9,17,30,.55) 0%, rgba(9,17,30,.88) 55%, rgba(9,17,30,.94) 100%); }
  .hero-inner { text-align: center; padding: 80px 0 88px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3, .grid.cols-4, .grid.tiles { grid-template-columns: repeat(2, 1fr); }
  .split, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--border); padding: 12px 18px; gap: 4px;
    box-shadow: var(--shadow-md); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 6px 0 0; text-align: center; }

  .nav-drop-toggle { width: 100%; justify-content: space-between; padding: 12px 14px; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 2.6rem; }
  .section { padding: 56px 0; }
  .stats, .grid.cols-3, .grid.cols-4, .grid.cols-2, .grid.tiles { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2rem; }
}
