/* ===================== RESET & BASE ===================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-dark: #0a0a5c;
  --blue-primary: #0f0f8a;
  --blue-hero: #0c0c6b;
  --red-accent: #e63b2e;
  --orange-accent: #ff5733;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-text: #888888;
  --font-main: 'Inter', 'Segoe UI', sans-serif;
  --font-heading: 'Inter', 'Segoe UI', sans-serif;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: #333;
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ===================== HEADER / NAV ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s, padding 0.3s;
}

.header.scrolled {
  background: rgba(10, 10, 92, 0.95);
  padding: 12px 0;
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 112px;
  width: auto;
}

.logo span {
  font-size: 0.7rem;
  letter-spacing: 5px;
  font-weight: 400;
  margin-top: 2px;
}

.logo .logo-accent {
  color: var(--red-accent);
  font-size: 1.5rem;
  letter-spacing: 0;
  margin: 0;
  position: relative;
  top: -5px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-accent);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-social a {
  color: var(--white);
  font-size: 0.85rem;
}

.nav-lang {
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.nav-lang a {
  color: rgba(255,255,255,0.6);
}

.nav-lang a.active {
  color: var(--white);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid var(--white);
  border-radius: 30px;
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-cta:hover {
  background: var(--white);
  color: var(--blue-dark);
}

.btn-portal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid var(--white);
  border-radius: 30px;
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-portal:hover {
  background: var(--white);
  color: var(--blue-dark);
}

.btn-portal .portal-icon {
  font-size: 1rem;
  line-height: 1;
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================== HERO SECTION ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--blue-hero);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-bg canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero .container.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 80px;
  max-width: 100%;
  margin: 0;
  padding-left: 6%;
  padding-right: 40px;
}

.hero h1 {
  color: var(--white);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.05;
  max-width: 520px;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(10, 10, 92, 0.7);
}

.hero h1 .highlight {
  color: var(--red-accent);
}

.hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  max-width: 380px;
  margin-top: 24px;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(10, 10, 92, 0.8);
}

.hero-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}

.hero-image img {
  width: auto;
  height: 95%;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  position: relative;
  z-index: 1;
}

/* Hero CTA button - bottom right */
.hero-cta-btn {
  position: absolute;
  bottom: 60px;
  right: 80px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  background: rgba(10, 10, 92, 0.85);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s;
  cursor: pointer;
}

.hero-cta-btn:hover {
  background: rgba(10, 10, 92, 0.95);
}

.hero-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.4);
  font-size: 1.1rem;
  line-height: 1;
}

/* ===================== STATS SECTION ===================== */
.stats-section {
  padding: 100px 0;
  background: var(--white);
}

.stats-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.stats-text h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue-dark);
  text-transform: uppercase;
}

.stats-text p {
  margin-top: 20px;
  color: #666;
  line-height: 1.8;
  font-size: 0.9rem;
  max-width: 400px;
}

.stats-numbers {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-end;
}

.stat-item {
  text-align: right;
}

.stat-item .number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--red-accent);
  line-height: 1;
}

.stat-item .number.blue {
  color: var(--blue-dark);
}

.stat-item .label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue-dark);
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  margin-left: auto;
}

/* Image gallery strip */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
}

.gallery-item {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.gallery-item img,
.gallery-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  background: linear-gradient(135deg, #ccc, #999);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.9rem;
}

.gallery-item:nth-child(odd) .gallery-placeholder {
  filter: grayscale(100%);
  background: linear-gradient(135deg, #aaa, #777);
}

/* ===================== OPPORTUNITY SECTION ===================== */
.opportunity-section {
  padding: 100px 0;
  background: var(--white);
}

.opportunity-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.opportunity-left h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue-dark);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.opportunity-left h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-dark);
  font-style: italic;
  margin-bottom: 40px;
}

.funnel {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.funnel-item {
  display: flex;
  flex-direction: column;
}

.funnel-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-dark);
}

.funnel-label {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
}

.funnel-arrow {
  color: var(--red-accent);
  font-size: 1.5rem;
  margin: 5px 0;
}

.opportunity-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tav-circles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tav-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--red-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tav-circle .b-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-dark);
}

.tav-circle .tav-label {
  font-size: 0.65rem;
  color: var(--blue-dark);
  font-weight: 600;
}

.tav-outer-label {
  font-size: 0.75rem;
  color: var(--blue-dark);
  font-weight: 600;
  text-align: center;
}

.opportunity-description {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
}

.opportunity-description strong {
  font-weight: 700;
  text-decoration: underline;
}

/* Founder card */
.founder-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
}

.founder-photo {
  width: 180px;
  height: 210px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.founder-photo .photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ddd, #aaa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.2);
  font-size: 0.8rem;
}

.founder-photo .arrow-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--white);
  font-size: 1.5rem;
}

.founder-info h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.founder-info .title {
  font-size: 0.7rem;
  color: #888;
  line-height: 1.4;
  margin-top: 4px;
}

.founder-quote {
  margin-top: 20px;
  padding: 0;
  font-style: italic;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}

.founder-quote .quote-mark {
  color: var(--red-accent);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 700;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--blue-dark);
  padding: 30px 0 20px;
  color: var(--white);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-left .footer-logo {
  margin-bottom: 0;
}

.footer-left .footer-logo .logo-img {
  height: 90px;
  width: auto;
}

.footer-center {
  flex: 1;
  text-align: center;
}

.footer-tagline-inline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
}

.footer-tagline-inline strong {
  color: var(--white);
  font-weight: 800;
}

.footer-right {
  text-align: right;
}

.footer-contact p {
  font-size: 0.85rem;
  margin-bottom: 5px;
  color: rgba(255,255,255,0.7);
}

.footer-nav a {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--white);
}

.footer-bar {
  height: 4px;
  background: var(--red-accent);
  margin-top: 40px;
}

/* ===================== ABOUT PAGE ===================== */
.culture-section {
  padding: 100px 0;
  background: var(--white);
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-text);
  font-weight: 600;
  margin-bottom: 15px;
}

.culture-row {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.culture-left {
  flex: 0 0 40%;
}

.culture-right {
  flex: 1;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.8;
  padding-top: 30px;
}

.culture-right p + p {
  margin-top: 15px;
}

.culture-section h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue-dark);
  text-transform: uppercase;
}

.culture-text {
  max-width: 600px;
  margin: 40px auto 0;
  text-align: center;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.8;
}

.manifesto-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--red-accent);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
  text-align: center;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.value-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--blue-dark);
}

.value-item h4 {
  font-size: 0.85rem;
  color: var(--blue-dark);
  font-weight: 600;
}

/* Team section */
.team-section {
  padding: 100px 0;
  background: var(--gray-light);
}

.team-row {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.team-left {
  flex: 0 0 40%;
}

.team-right {
  flex: 1;
  padding-top: 30px;
}

.team-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue-dark);
  text-transform: uppercase;
}

.team-description {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.team-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: linear-gradient(135deg, #ccc, #999);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
}

.team-card-info {
  padding: 15px 0;
}

.team-card-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  text-transform: uppercase;
}

.team-card-info p {
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.team-card .linkedin-icon {
  position: absolute;
  bottom: 60px;
  right: 10px;
  color: var(--blue-dark);
  font-size: 1rem;
}

/* Partners section */
.partners-section {
  padding: 100px 0;
  background: var(--blue-dark);
  color: var(--white);
}

.partners-section .section-label {
  color: rgba(255,255,255,0.5);
}

.partners-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  max-width: 400px;
}

.partners-section .partners-desc {
  margin-top: 20px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  max-width: 400px;
  line-height: 1.7;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  align-items: center;
}

.partner-logo {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background 0.3s;
}

.partner-logo:hover {
  background: rgba(255,255,255,0.2);
}

/* ===================== PORTFOLIO PAGE ===================== */
.portfolio-intro {
  padding: 100px 0;
  background: var(--white);
}

.portfolio-intro .container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}

.portfolio-intro h2 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue-dark);
  text-transform: uppercase;
}

.portfolio-intro p {
  margin-top: 15px;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 400px;
}

.portfolio-points {
  margin-top: 40px;
}

.portfolio-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}

.portfolio-point .arrow {
  color: var(--blue-dark);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.portfolio-point.accent {
  color: var(--red-accent);
  font-style: italic;
}

/* Funds table */
.funds-section {
  padding: 60px 0 100px;
  background: var(--white);
}

.funds-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-dark);
  text-transform: uppercase;
  margin-bottom: 30px;
}

.funds-divider {
  width: 100%;
  max-width: 600px;
  height: 2px;
  background: var(--blue-dark);
  margin-bottom: 30px;
}

.funds-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
}

.funds-table tr {
  border-bottom: 1px solid #eee;
}

.funds-table td {
  padding: 10px 15px;
  font-size: 0.85rem;
  vertical-align: middle;
}

.funds-table td:first-child {
  color: var(--blue-dark);
  font-weight: 700;
  width: 40px;
}

.funds-table td:last-child {
  color: var(--blue-dark);
  font-weight: 600;
  text-align: right;
}

/* ===================== PRENSA / PRESS PAGE ===================== */
.press-tabs {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}

.press-tab {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-dark);
  cursor: pointer;
  transition: color 0.3s;
  text-transform: uppercase;
}

.press-tab.inactive {
  color: #ccc;
}

.press-tab-divider {
  width: 4px;
  height: 4px;
  background: var(--red-accent);
  border-radius: 50%;
}

.press-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.8rem;
  color: #666;
  cursor: pointer;
  margin-bottom: 30px;
  width: fit-content;
}

.press-filter .globe-icon {
  font-size: 0.9rem;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.event-card {
  display: grid;
  grid-template-columns: 120px 1fr auto 200px;
  gap: 20px;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.event-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.event-date {
  padding: 20px;
  border-right: 1px solid #eee;
}

.event-date .month-day {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.event-date .time {
  font-size: 0.8rem;
  color: #888;
  margin-top: 4px;
}

.event-info {
  padding: 20px 0;
}

.event-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.event-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--blue-dark);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.event-details-btn:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.event-meta {
  padding: 20px;
  text-align: right;
}

.event-tag {
  font-size: 0.75rem;
  color: #888;
}

.event-type {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #888;
  margin-top: 5px;
}

.event-type .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #333;
}

.event-image {
  width: 200px;
  height: 140px;
  overflow: hidden;
}

.event-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ddd, #aaa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.15);
  font-size: 0.8rem;
}

.press-section {
  padding: 100px 0;
  background: var(--white);
}

.todos-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 20px;
}

/* ===================== ANIMATIONS ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.count-up {
  display: inline-block;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .stats-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .opportunity-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .event-card {
    grid-template-columns: 100px 1fr auto 150px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links,
  .nav-social,
  .nav-lang,
  .btn-cta.desktop-only,
  .btn-portal.desktop-only {
    display: none;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--blue-dark);
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 999;
  }

  .nav-links.mobile-open a {
    font-size: 1.2rem;
  }

  .hero {
    min-height: 100vh;
    padding: 0 20px;
    align-items: flex-start;
  }

  .hero .container.hero-content {
    padding-top: 110px;
    padding-bottom: 10px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-image {
    width: 100%;
    height: 60%;
    right: 0;
    bottom: 0;
    z-index: 0;
  }

  .hero-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top center;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
  }

  .hero-cta-btn {
    z-index: 10;
  }

  .stats-section .container {
    grid-template-columns: 1fr;
  }

  .stats-numbers {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat-item {
    text-align: left;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 200px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-image {
    width: 100%;
    height: 180px;
  }

  .event-date {
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .hero-cta-btn {
    right: 20px;
    bottom: 30px;
    padding: 14px 20px;
    font-size: 0.75rem;
  }

  .culture-row,
  .team-row {
    flex-direction: column;
    gap: 30px;
  }

  .culture-left,
  .team-left {
    flex: none;
  }

  .culture-right,
  .team-right {
    padding-top: 0;
  }

  .culture-section h2 {
    font-size: 2rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .funds-table {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .stats-text h2 {
    font-size: 2rem;
  }

  .stat-item .number {
    font-size: 2.2rem;
  }

  .opportunity-left h2 {
    font-size: 1.8rem;
  }

  .modal-body {
    padding: 30px 20px;
  }
}

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: 16px;
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  background: var(--blue-dark);
  padding: 30px 35px;
  border-radius: 16px 16px 0 0;
  position: relative;
}

.modal-header h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
}

.modal-header p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-top: 8px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.modal-close:hover {
  background: rgba(255,255,255,0.15);
}

.modal-body {
  padding: 35px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: var(--font-main);
  color: #333;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(10,10,92,0.1);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--blue-dark);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
  margin-top: 10px;
}

.btn-submit:hover {
  background: var(--blue-primary);
}

.btn-submit:active {
  transform: scale(0.98);
}

.form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.form-success.show {
  display: block;
}

.form-success .check-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #4caf50;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h4 {
  font-size: 1.3rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.form-success p {
  color: #666;
  font-size: 0.9rem;
}

/* ===================== NEWS CARDS ===================== */
.news-list {
  display: none;
  flex-direction: column;
  gap: 25px;
}

.news-list.active {
  display: flex;
}

.events-list.active {
  display: flex;
}

.events-list.hidden {
  display: none;
}

.news-card {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 25px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.news-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.news-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-content {
  padding: 25px 25px 25px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card-date {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-card-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card-content p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-read-more:hover {
  color: var(--red-accent);
}

/* Language toggle active state */
.nav-lang a {
  cursor: pointer;
  transition: color 0.3s;
}

.nav-lang a:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card-content {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
