/* ========================================================
   Primetex Invest — recreation
   Theme: neutral black (#0e0e0e / #191919), light #FAF5EA,
   yellow #E9AE23, red/gold #F7C355, tech-accent #EE7D2F
======================================================== */

:root {
  --dark:       #0e0e0e;
  --dark-2:     #191919;
  --light:      #FAF5EA;
  --yellow:     #E9AE23;
  --gold:       #F7C355;
  --accent:     #EE7D2F;
  --muted:      #8f8f8f;
  --border:     rgba(250, 245, 234, 0.12);
  --maxw:       1400px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Red Hat Display", "Helvetica Neue", Arial, sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

::selection { background: var(--yellow); color: var(--dark); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.container.narrow { max-width: 1080px; }
.container.medium { max-width: 940px; }

.section { padding: 76px 0; }

h1, h2, h3, h4 {
  font-family: "Clash Grotesk", "Red Hat Display", sans-serif;
  font-weight: 600;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.h4 { font-size: 1.5rem; text-transform: none; }

.center { text-align: center; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ---------- Deco label ---------- */
.deco {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  position: relative;
  padding-left: 24px;
  display: inline-block;
}
.deco::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 2px;
  transform: translateY(-50%);
}
.deco.yellow::before { background: var(--yellow); }
.deco.white::before  { background: var(--light); }
.deco.center { padding-left: 0; }
.deco.center::before { position: static; display: block; margin: 0 auto 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Clash Grotesk", sans-serif;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--dark); }
.btn-primary:hover { background: var(--yellow); transform: translateY(-2px); }
.btn-header { padding: 12px 24px; background: #fff; color: var(--dark); }
.btn-header:hover { background: #e9e9e9; }
.btn-tertiary {
  background: transparent;
  color: var(--light);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 26px;
}
.btn-tertiary:hover { background: var(--light); color: var(--dark); }

/* ========================================================
   NAVBAR
======================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.navbar.scrolled {
  background: rgba(14, 14, 14, 0.9);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { height: 34px; width: auto; }
.nav-links { display: flex; gap: 36px; }
.nav-link {
  text-transform: lowercase;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--yellow); transition: width .3s var(--ease);
}
.nav-link:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.social-icon-link {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--dark-2);
  color: var(--light);
  border-radius: 50%;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.social-icon-link:hover { background: var(--gold); color: var(--dark); }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent; border: none; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--light); transition: .3s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--dark);
  display: grid; grid-template-columns: 1fr 1fr;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-inner { display: contents; }
.mobile-menu-col { padding: 140px 48px 48px; display: flex; flex-direction: column; }
.mobile-menu-col.right { background: var(--dark-2); justify-content: center; gap: 40px; }
.secondary-deco { margin-top: 40px; }
.menu-link {
  font-family: "Clash Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase; font-weight: 600;
  line-height: 1.1;
  transition: color .3s var(--ease);
}
.menu-link:hover { color: var(--yellow); }
.menu-link.small { font-size: clamp(1.2rem, 3vw, 1.8rem); }
.deco + .menu-link { margin-top: 12px; }
.menu-contact-link { font-size: 1.2rem; margin-top: 8px; display: inline-block; transition: color .3s; }
.menu-contact-link:hover { color: var(--yellow); }

/* ========================================================
   HERO
======================================================== */
.home-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.hero-col {
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 0 60px 90px;
  position: relative;
  overflow: hidden;
  transition: background .5s var(--ease);
}
.hero-col.prime-fund {
  background:
    linear-gradient(to top, rgba(0,0,0,0.7), rgba(255,255,255,0) 80%),
    url("../assets/img/hero-prime.webp") center/cover no-repeat;
}
.hero-col.vertex-fund {
  background:
    linear-gradient(to top, rgba(0,0,0,0.7), rgba(18,17,19,0.1) 80%),
    url("../assets/img/hero-vertex.webp") center/cover no-repeat;
}
.hero-col::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.15);
  opacity: 0; transition: opacity .5s var(--ease);
}
.hero-col:hover::after { opacity: 1; }
.hero-col:hover .hero-h1 { transform: translateY(-6px); }
.hero-heading-wrap { position: relative; z-index: 2; }
.hero-h1 {
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: 16px;
  transition: transform .5s var(--ease);
}
.hero-col .deco { padding-top: 100px; }

/* ========================================================
   STATS
======================================================== */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.stats-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
.stat-number {
  font-family: "Clash Grotesk", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 600; color: var(--gold); line-height: 1;
}
.stat-label { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.project-logos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.project-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 28px; min-height: 150px;
  border-radius: 4px;
  transition: background .3s var(--ease);
}
.project-logo:hover { background: var(--dark-2); }
.project-logo img { height: auto; max-height: 100px; max-width: 82%; width: auto; object-fit: contain; opacity: .9; transition: opacity .3s; }
.project-logo:hover img { opacity: 1; }

/* ========================================================
   SECTION HEAD (shared)
======================================================== */
.section-head { margin-bottom: 64px; }
.section-head .h2 { margin-top: 12px; }

/* ========================================================
   ABOUT
======================================================== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; }
.lead { font-size: 1.15rem; color: #d6d6d6; }
.about-text .lead + .lead { margin-top: 16px; }
.bullets { margin: 32px 0; display: flex; flex-direction: column; gap: 20px; }
.bullet-row { display: flex; gap: 16px; align-items: flex-start; }
.bullet { flex: 0 0 auto; width: 10px; height: 10px; margin-top: 8px; background: var(--yellow); border-radius: 2px; }
.about-aside { display: flex; flex-direction: column; gap: 24px; }
.about-card {
  background: var(--dark-2); padding: 36px; border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .3s;
}
.about-card:hover { transform: translateY(-4px); border-color: var(--yellow); }
.about-card .h4 { margin: 16px 0 12px; }
.about-card p { color: var(--muted); }

/* ========================================================
   CONTACT
======================================================== */
.contact-card { position: relative; }
.jsem-label { display: block; margin-bottom: 20px; }
.tab-menu { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.tab-link.active { background: var(--light); color: var(--dark); }
.tab-pane { display: none; animation: fade .3s var(--ease); }
.tab-pane.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.form { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field-label {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600;
}
.field input, .field select, .field textarea,
.newsletter input {
  background: var(--dark-2);
  border: 1px solid var(--border);
  color: var(--light);
  padding: 14px 16px;
  font-family: inherit; font-size: 1rem;
  transition: border-color .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus,
.newsletter input:focus { outline: none; border-color: var(--yellow); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f6a7c; }

.radios { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 4px; }
.radio { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.95rem; color: #d6d6d6; text-transform: none; letter-spacing: 0; }
.radio input { appearance: none; width: 18px; height: 18px; border: 1px solid var(--muted); border-radius: 50%; cursor: pointer; position: relative; flex: 0 0 auto; }
.radio input:checked { border-color: var(--yellow); }
.radio input:checked::after { content: ""; position: absolute; inset: 3px; background: var(--yellow); border-radius: 50%; }
.radio.gdpr { margin-top: 8px; align-items: flex-start; }
.radio.gdpr input { margin-top: 3px; }
.link { color: var(--yellow); text-decoration: underline; }

.contact-info { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 44px; }
.contact-email-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.contact-email {
  font-family: "Clash Grotesk", sans-serif;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 500; letter-spacing: -0.01em;
  color: var(--gold);
  transition: color .3s var(--ease);
}
.contact-email:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: 6px; }
.contact-legal { max-width: 560px; }
.muted { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ========================================================
   FOOTER
======================================================== */
.footer { background: var(--dark-2); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; padding-bottom: 56px; }
.newsletter { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.footer-col.bordered { padding-left: 48px; border-left: 1px solid var(--border); }
.footer-company { font-family: "Clash Grotesk", sans-serif; font-weight: 600; font-size: 1.2rem; text-transform: uppercase; }
.footer-sub { color: var(--muted); font-size: 0.85rem; margin: 16px 0 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-address { color: #d6d6d6; line-height: 1.6; }
.footer-socials { display: flex; gap: 12px; margin-top: 24px; }
.footer-nav { display: flex; flex-direction: column; gap: 14px; }
.footer-nav a { text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.05em; font-weight: 500; transition: color .3s; }
.footer-nav a:hover { color: var(--yellow); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.disclaimer { color: var(--muted); font-size: 0.8rem; max-width: 800px; line-height: 1.6; }
.legal { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); }
.legal a:hover { color: var(--yellow); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: var(--yellow); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ========================================================
   SUBPAGES (Prime Fund / Vertex Fund)
======================================================== */
.subhero {
  padding: 170px 0 60px;
  position: relative;
  overflow: hidden;
}
.subhero.prime  { background: linear-gradient(180deg, #1c1c1c 0%, var(--dark) 100%); }
.subhero.vertex { background: linear-gradient(180deg, #1c1c1c 0%, var(--dark) 100%); }
.subhero::before {
  content: ""; position: absolute; top: -30%; right: -10%;
  width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(233,174,35,0.14), transparent 65%);
  pointer-events: none;
}
.subhero-inner { max-width: 820px; position: relative; z-index: 2; }
.subhero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 64px; align-items: center; }
.subhero-grid .subhero-inner { max-width: none; }
.subhero-media {
  position: relative; z-index: 2;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.subhero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(233,174,35,0.10), transparent 45%),
              linear-gradient(0deg, rgba(14,14,14,0.35), transparent 55%);
  pointer-events: none;
}
.subhero-media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.subhero h1 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 18px 0 28px;
}
.subhero-text { font-size: 1.25rem; color: #d6d6d6; max-width: 620px; }
.subhero .btn { margin-top: 36px; }

/* Trust / logos band */
.logos-band-head { margin-bottom: 40px; }
.logos-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 44px;
}
.logos-band .project-logo { min-height: 92px; padding: 16px; }
.logos-band .project-logo img { max-width: 74%; max-height: 64px; }

.fund-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.fund-stats .stat-number { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.stat-unit { font-family: "Red Hat Display", sans-serif; font-size: 0.34em; font-weight: 600; color: var(--light); letter-spacing: 0; margin-left: 8px; vertical-align: baseline; }

/* Project cards */
.projects { display: flex; flex-direction: column; gap: 32px; }
.project {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  background: var(--dark-2); border: 1px solid var(--border);
  padding: 48px; align-items: center;
  transition: border-color .3s var(--ease);
}
.project:hover { border-color: rgba(233,174,35,0.4); }
.project-logo-lg { height: 44px; width: auto; margin-bottom: 24px; }
.project h3 {
  font-family: "Clash Grotesk", sans-serif; font-weight: 500;
  font-size: 1.6rem; text-transform: none; line-height: 1.15; margin-bottom: 18px;
}
.project p { color: var(--muted); }
.project-side { display: flex; flex-direction: column; gap: 28px; }
.project-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.project-stats .stat-number { font-size: 2rem; }
.project-stats .stat-label { font-size: 0.85rem; }
.client-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
/* Uniform light silhouettes so mixed-color client logos are always visible on dark;
   real colours reveal on hover. */
.client-logos img { height: 22px; width: auto; opacity: 0.65; filter: brightness(0) invert(0.8); transition: opacity .3s, filter .3s; }
.client-logos img:hover { opacity: 1; filter: none; }
.client-logos.tall img { height: 30px; }
.project-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.project-clients-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 12px; }

/* Team */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.team-member {
  background: var(--dark-2); border: 1px solid var(--border);
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0;
  overflow: hidden;
}
.team-photo { position: relative; min-height: 100%; background: #121212; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .5s var(--ease); }
.team-member:hover .team-photo img { filter: grayscale(0%); }
.team-info { padding: 36px; display: flex; flex-direction: column; }
.team-info h3 { font-family: "Clash Grotesk", sans-serif; font-size: 1.5rem; text-transform: none; margin-bottom: 4px; }
.team-role { color: var(--yellow); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.team-bio { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.team-linkedin { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.team-linkedin:hover { color: var(--yellow); }

/* ========================================================
   NAŠE FONDY — fund banners
======================================================== */
.section-sub { max-width: 640px; margin: 20px auto 0; color: var(--muted); font-size: 1.12rem; line-height: 1.6; }
.fund-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 48px auto 0; max-width: 940px; }
.fund-banners.single { grid-template-columns: 1fr; max-width: 620px; }
.fund-banner { display: block; }
.fund-banner-media {
  position: relative; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border);
  background: #242424;               /* one-color placeholder — swap for image later */
  aspect-ratio: 16 / 9;
  transition: background .3s var(--ease);
}
.fund-banner:hover .fund-banner-media { background: #2c2c2c; }
.fund-banner-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.82); transition: transform .6s var(--ease), filter .4s var(--ease); }
.fund-banner:hover .fund-banner-img { transform: scale(1.05); filter: brightness(0.95); }
.fund-banner-media:has(.fund-banner-img)::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(14,14,14,0.85), rgba(14,14,14,0.05) 55%, transparent);
}
.fund-banner-logo { position: absolute; top: 18px; left: 20px; z-index: 2; height: 22px; width: auto; }
.fund-banner-title {
  position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2;
  font-family: "Clash Grotesk", sans-serif; font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.6rem); text-transform: none;
  color: var(--light); transition: color .3s var(--ease);
}
.fund-banner:hover .fund-banner-title { color: var(--gold); }
.fund-banner-desc { margin-top: 14px; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

/* ========================================================
   LEGAL / POLICY PAGE
======================================================== */
.legal-page { padding: 180px 0 110px; }
.legal-header { margin-bottom: 56px; }
.legal-header h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: 16px; }
.legal-content { max-width: 820px; }
.legal-content h2 {
  font-family: "Clash Grotesk", sans-serif; font-weight: 500;
  font-size: 1.4rem; text-transform: none; color: var(--light);
  margin: 48px 0 16px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: #c9c9c9; margin-bottom: 14px; line-height: 1.75; }
.legal-content ul { margin: 4px 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.legal-content li { color: #c9c9c9; line-height: 1.6; padding-left: 24px; position: relative; }
.legal-content li::before { content: ""; position: absolute; left: 0; top: 11px; width: 9px; height: 2px; background: var(--yellow); }
.legal-content a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.legal-effective { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--yellow); font-weight: 500; }

/* ========================================================
   RESPONSIVE
======================================================== */
/* Prevent long strings (email, address, headings) from overflowing */
.contact-email, .footer-address, .menu-contact-link,
.team-bio, .subhero-text, .h2, .hero-h1, .subhero h1 { overflow-wrap: break-word; }

/* Anchor targets clear the fixed navbar when jumped to */
[id] { scroll-margin-top: 96px; }

/* ---------- Small laptops (<=1200) ---------- */
@media (max-width: 1200px) {
  .nav-links { gap: 26px; }
  .nav-actions { gap: 14px; }
}

/* ---------- Tablets & below (<=991) ---------- */
@media (max-width: 991px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .btn-header { display: none; }
  .container { padding: 0 32px; }
  .stats-grid, .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-col.bordered { padding-left: 0; border-left: none; }
  .logos-band, .fund-stats { grid-template-columns: repeat(2, 1fr); }
  .subhero-grid { grid-template-columns: 1fr; gap: 36px; }
  .subhero-media img { aspect-ratio: 16 / 10; }
  .subhero-media { max-width: 640px; justify-self: center; width: 100%; }
  .project { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .team-grid { grid-template-columns: 1fr; }
  .fund-banners { max-width: 720px; }
}

/* ---------- Phones / small tablets (<=767) ---------- */
@media (max-width: 767px) {
  .container { padding: 0 24px; }
  .section { padding: 52px 0; }
  .h2 { font-size: clamp(2rem, 8vw, 3rem); }
  .navbar { padding: 16px 0; }
  .navbar.scrolled { padding: 12px 0; }
  .home-hero { grid-template-columns: 1fr; }
  .hero-col { min-height: 56vh; padding: 0 28px 48px; }
  .hero-col .deco { padding-top: 52px; }
  .stats-numbers { gap: 32px 24px; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-email { font-size: clamp(1.4rem, 6.5vw, 2.4rem); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .field-row { grid-template-columns: 1fr; }
  .fund-banners, .fund-banners.single { grid-template-columns: 1fr; gap: 20px; max-width: 460px; }
  .fund-banner-media { aspect-ratio: 16 / 9; }
  .subhero { padding: 124px 0 44px; }
  .subhero-text { font-size: 1.1rem; }
  .subhero-media { max-width: none; }
  .fund-stats { gap: 30px 20px; }
  .project-stats { gap: 20px 16px; }
  .team-member { grid-template-columns: 1fr; }
  .team-photo { min-height: 320px; }
  .mobile-menu { grid-template-columns: 1fr; }
  .mobile-menu-col { padding: 116px 28px 28px; }
  .mobile-menu-col.right { padding: 28px; }
  .legal-page { padding: 128px 0 72px; }
}

/* ---------- Small phones (<=479) ---------- */
@media (max-width: 479px) {
  .container { padding: 0 18px; }
  .h2 { font-size: clamp(1.7rem, 8.5vw, 2.3rem); }
  .h4 { font-size: 1.25rem; }
  .hero-h1 { font-size: clamp(1.55rem, 8.5vw, 2.3rem); }
  .subhero h1 { font-size: clamp(1.7rem, 8.5vw, 2.5rem); }
  .subhero-text, .lead, .section-sub { font-size: 1rem; }
  .contact-email { font-size: clamp(1.15rem, 7.2vw, 1.9rem); }
  .stat-number { font-size: 2.6rem; }
  .fund-stats .stat-number { font-size: 2.1rem; }
  .btn { font-size: 0.9rem; padding: 12px 22px; }
  .menu-link { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .menu-link.small { font-size: 1.3rem; }
  .mobile-menu-col { padding: 96px 20px 24px; }
  .hero-col { min-height: 52vh; padding: 0 22px 40px; }
  .logos-band { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .about-card { padding: 28px; }
}
