/*
Theme Name: NBSWISe
Theme URI: https://nbswise.eu
Author: NBSWISe Project
Author URI: https://nbswise.eu
Description: Custom WordPress theme for the NBSWISe (Nature-Based Solutions for Water Innovation, Sustainability, and Ecosystems) Erasmus+ project. Features a Topographic Naturalism design with deep teal and moss green palette.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nbswise
Tags: custom-menu, custom-logo, featured-images, full-width-template, one-column, two-columns, theme-options
*/

/* ============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
  --color-teal-900: #1a4a4a;
  --color-teal-800: #1f5555;
  --color-teal-700: #256060;
  --color-teal-600: #2a6a6a;
  --color-teal-500: #357575;
  --color-moss-700: #2d6a2d;
  --color-moss-600: #3d7a3d;
  --color-moss-500: #4d8a4d;
  --color-moss-400: #5a9a5a;
  --color-sand-200: #e8e0d0;
  --color-sand-100: #f5f0e8;
  --color-sand-50: #faf8f3;
  --color-slate-blue: #3366aa;
  --color-border: #e8e5dd;
  --color-text-dark: #1a3a3a;
  --color-text-body: #3a5a5a;
  --color-text-muted: #5a7a7a;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Source Sans 3', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --container-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-card: 0 1px 3px rgba(26, 74, 74, 0.04);
  --shadow-card-hover: 0 10px 40px rgba(26, 74, 74, 0.08);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-body);
  background-color: var(--color-sand-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-text-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 0.875rem; font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

p { margin-bottom: 1rem; }

a {
  color: var(--color-teal-800);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-teal-900);
}

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

ul, ol {
  list-style: none;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 229, 221, 0.5);
  height: 64px;
  display: flex;
  align-items: center;
}

@media (min-width: 1024px) {
  .site-header { height: 80px; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .header-inner { padding: 0 2rem; }
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.site-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-teal-900);
}

.site-logo-text span {
  color: var(--color-moss-600);
}

/* Navigation */
.main-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .main-nav { display: flex; }
}

.main-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-teal-900);
  background-color: var(--color-sand-100);
}

.eu-badge {
  display: none;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: var(--color-sand-100);
  border-radius: 9999px;
}

@media (min-width: 1024px) {
  .eu-badge { display: flex; }
}

.eu-badge-icon {
  width: 20px;
  height: 16px;
  background: var(--color-slate-blue);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: white;
}

.eu-badge-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Mobile Menu */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-toggle:hover {
  background: var(--color-sand-100);
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

.mobile-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text-dark);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem;
  z-index: 999;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--color-teal-900);
  background: var(--color-sand-100);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  text-decoration: none;
  line-height: 1.5;
}

.btn:hover {
  transform: scale(1.02);
}

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

.btn-primary {
  background: white;
  color: var(--color-teal-900);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-teal-900);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-teal {
  background: var(--color-teal-800);
  color: white;
}

.btn-teal:hover {
  background: var(--color-teal-900);
  color: white;
}

.btn-outline {
  background: var(--color-sand-100);
  color: var(--color-teal-800);
}

.btn-outline:hover {
  background: var(--color-sand-200);
  color: var(--color-teal-900);
}

.btn svg,
.btn .arrow {
  width: 16px;
  height: 16px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 74, 74, 0.85), rgba(26, 74, 74, 0.6), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-moss-400);
}

.hero-badge-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.hero h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; }
}

.hero h1 .highlight {
  color: var(--color-moss-400);
}

.hero-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-text { font-size: 1.25rem; }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 48px;
}

@media (min-width: 1024px) {
  .hero-wave svg { height: 64px; }
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
  padding: 5rem 0 7rem;
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-moss-600);
}

.about-preview h2 {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.about-preview p {
  font-size: 1.125rem;
  color: var(--color-text-body);
  line-height: 1.7;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-teal-800);
  margin-top: 1rem;
  transition: gap 0.2s ease;
}

.about-link:hover {
  gap: 0.75rem;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(26, 74, 74, 0.1);
  width: 100%;
  height: 320px;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .about-image-wrapper img { height: 384px; }
}

.about-deco-1 {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 128px;
  height: 128px;
  background: var(--color-sand-200);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.about-deco-2 {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(61, 122, 61, 0.3);
  border-radius: var(--radius-xl);
  z-index: -1;
}

/* ============================================
   STATS
   ============================================ */
.stats-section {
  padding: 4rem 0;
  background: var(--color-sand-100);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

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

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-teal-800);
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .stat-number { font-size: 3rem; }
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

/* ============================================
   OBJECTIVES / CARDS GRID
   ============================================ */
.objectives-section {
  padding: 5rem 0 7rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--color-text-body);
}

.cards-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(61, 122, 61, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-sand-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.3s ease;
}

.card:hover .card-icon {
  background: var(--color-sand-200);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-teal-800);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-family: var(--font-serif);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: 5rem 0 7rem;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 74, 74, 0.8);
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* ============================================
   PAGE HEADERS
   ============================================ */
.page-header {
  position: relative;
  padding: 5rem 0 7rem;
  overflow: hidden;
}

.page-header-light {
  background: var(--color-sand-100);
}

.page-header-dark {
  color: white;
}

.page-header-dark .mono-label {
  color: var(--color-moss-400);
}

.page-header-dark h1 {
  color: white;
}

.page-header-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.page-header-bg {
  position: absolute;
  inset: 0;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 74, 74, 0.75);
}

.page-header .container {
  position: relative;
  z-index: 10;
}

.page-header h1 {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  max-width: 768px;
}

.page-header p {
  font-size: 1.25rem;
  max-width: 640px;
  line-height: 1.6;
}

/* ============================================
   WORK PACKAGES
   ============================================ */
.wp-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.wp-card {
  position: relative;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.wp-card:hover {
  box-shadow: 0 15px 50px rgba(26, 74, 74, 0.08);
}

.wp-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.wp-card-inner {
  padding: 2rem 2rem 2rem 2.5rem;
}

@media (min-width: 1024px) {
  .wp-card-inner { padding: 2.5rem 2.5rem 2.5rem 3rem; }
}

.wp-card-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .wp-card-layout {
    flex-direction: row;
    gap: 2.5rem;
  }
}

.wp-card-header {
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .wp-card-header { width: 33%; }
}

.wp-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.wp-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.15;
}

.wp-badge-icon svg {
  width: 20px;
  height: 20px;
}

.wp-badge-label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
}

.wp-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .wp-card-header h3 { font-size: 1.5rem; }
}

.wp-lead {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.wp-card-body {
  flex: 1;
}

.wp-card-body > p {
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.wp-details {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .wp-details { grid-template-columns: 1fr 1fr; }
}

.wp-details h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.wp-details ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wp-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-body);
}

.wp-details li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.wp-activities li::before {
  background: currentColor;
  opacity: 0.4;
}

.wp-outputs li::before {
  background: var(--color-border);
}

/* ============================================
   PARTNERS
   ============================================ */
.partners-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.partner-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.partner-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.partner-card-inner {
  padding: 2rem;
}

@media (min-width: 1024px) {
  .partner-card-inner { padding: 2.5rem; }
}

.partner-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .partner-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.partner-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.partner-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.partner-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.partner-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.partner-role {
  display: inline-flex;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
}

.partner-details {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .partner-details { grid-template-columns: 1fr 1fr; }
}

.partner-detail-box {
  padding: 1.25rem;
  background: var(--color-sand-50);
  border-radius: var(--radius-lg);
}

.partner-detail-box h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.partner-detail-box ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.partner-detail-box li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-body);
}

.partner-detail-box li .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* ============================================
   IMPACT
   ============================================ */
.impact-card {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.impact-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(61, 122, 61, 0.3);
}

.impact-indicators {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--color-sand-200);
}

.impact-indicators h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.impact-indicators li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-body);
  margin-bottom: 0.25rem;
}

.impact-indicators li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-moss-600);
}

/* SDG Section */
.sdg-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sdg-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.sdg-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.6875rem;
  flex-shrink: 0;
}

.sdg-title {
  font-weight: 600;
  color: var(--color-text-dark);
}

/* ============================================
   NEWS
   ============================================ */
.news-featured {
  padding: 2rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .news-featured { padding: 2.5rem; }
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.news-category {
  display: inline-flex;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.news-date svg {
  width: 14px;
  height: 14px;
}

.news-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}

.news-card {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.news-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(61, 122, 61, 0.3);
}

.news-card h3 {
  transition: color 0.2s ease;
}

.news-card:hover h3 {
  color: var(--color-teal-800);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 2fr 3fr; gap: 4rem; }
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-sand-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-teal-800);
  fill: none;
  stroke-width: 2;
}

.collab-box {
  padding: 1.5rem;
  background: var(--color-sand-100);
  border-radius: var(--radius-lg);
  margin-top: 2rem;
}

.collab-box h3 {
  margin-bottom: 0.75rem;
}

.collab-box p {
  font-size: 0.875rem;
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Contact Form */
.contact-form-wrapper {
  padding: 2rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: white;
  color: var(--color-text-dark);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal-600);
  box-shadow: 0 0 0 3px rgba(42, 106, 106, 0.1);
}

.form-group textarea {
  resize: none;
  min-height: 140px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-teal-900);
  color: rgba(255, 255, 255, 0.9);
}

.footer-wave {
  position: relative;
  margin-top: -1px;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

@media (min-width: 1024px) {
  .footer-wave svg { height: 80px; }
}

.footer-inner {
  padding: 1rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 3rem; }
}

.footer-brand .logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.footer-brand .logo-text span {
  color: var(--color-moss-400);
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-section h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section li,
.footer-section a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-eu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  margin-top: 0.75rem;
}

.footer-eu-icon {
  width: 24px;
  height: 20px;
  background: var(--color-slate-blue);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 700;
  color: white;
}

.footer-eu-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-disclaimer {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 500px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-disclaimer { text-align: right; }
}

/* ============================================
   TWO-COLUMN LAYOUT
   ============================================ */
.two-col {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .two-col-2-1 { grid-template-columns: 2fr 1fr; gap: 4rem; }
  .two-col-1-1 { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* Sidebar boxes */
.sidebar-box {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.sidebar-box-sand {
  background: var(--color-sand-100);
}

.sidebar-box-white {
  background: white;
  border: 1px solid var(--color-border);
}

.sidebar-box h3 {
  margin-bottom: 1rem;
}

.sidebar-box dl {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-box dt {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.sidebar-box dd {
  font-size: 0.875rem;
  color: var(--color-text-dark);
  margin-top: 0.25rem;
}

.sidebar-box ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-body);
  margin-bottom: 0.5rem;
}

.sidebar-box ul li .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-moss-600);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* ============================================
   APPROACH GRID
   ============================================ */
.approach-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .approach-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   COUNTRY CARDS
   ============================================ */
.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.country-card {
  padding: 1rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.country-flag {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.country-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.country-partner {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.bg-sand { background: var(--color-sand-100); }
.bg-white { background: var(--color-sand-50); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.pt-header { padding-top: 64px; }

@media (min-width: 1024px) {
  .pt-header { padding-top: 80px; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }
.delay-5 { transition-delay: 500ms; }
