/* ============================================================
   UFCD-ASBL — Premium White Design System
   ============================================================ */

/* ── Keyframes ── */
@keyframes scrollFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}
.scroll-float {
  animation: scrollFloat 2.2s ease-in-out infinite;
}

/* ── Custom Properties ── */
:root {
  --bg-page:       #F9F7F4;
  --bg-footer:     #EDEAE6;
  --bg-alt:        #F3F0EC;
  --glass-bg:      rgba(255,255,255,0.72);
  --glass-border:  rgba(255,255,255,0.85);
  --glass-shadow:  0 8px 32px rgba(0,0,0,0.08), 0 1px 0 rgba(255,255,255,0.6) inset;
  --teal:          #1FADA8;
  --teal-light:    #2DD4BF;
  --teal-xlight:   rgba(31,173,168,0.10);
  --burgundy:      #8B1A38;
  --burgundy-light:#c0385c;
  --text-main:     #0F1626;
  --text-muted:    rgba(15,22,38,0.55);
  --text-faint:    rgba(15,22,38,0.35);
  --radius-card:   4px;
  --shadow-card:   0 2px 16px rgba(0,0,0,0.07);
  --shadow-hover:  0 8px 32px rgba(0,0,0,0.12);
  --nav-h:         70px;
  --transition:    0.25s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ── Ambient Background Blobs ── */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(31,173,168,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -10%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(139,26,56,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Glass ── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.glass-sm {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.90);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.glass-teal {
  background: rgba(31,173,168,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(31,173,168,0.18);
  box-shadow: 0 4px 16px rgba(31,173,168,0.08);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--text-main);
  line-height: 1.18;
  font-weight: 400; /* DM Serif Display is beautiful at regular weight */
  letter-spacing: -0.01em;
}
.font-serif { font-family: 'DM Serif Display', Georgia, serif; }
.font-sans  { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }

.section-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-block;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── NAVIGATION ── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(249,247,244,0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  transition: background 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease, padding 0.45s ease;
  display: flex;
  align-items: center;
  padding: 0;
}
/* Scrolled: floating blur pill — no full-width background */
#main-nav.scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
  padding: 10px 20px;
}
.nav-inner {
  transition: background 0.45s ease, border-color 0.45s ease, border-radius 0.45s ease, box-shadow 0.45s ease;
  border: 1px solid transparent;
  border-radius: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  width: 100%;
}
.nav-inner > div {
  width: 100%;
}
#main-nav.scrolled .nav-inner {
  background: rgba(249,247,244,0.70);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-color: rgba(255,255,255,0.55);
  border-radius: 8px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.10), 0 1px 0 rgba(255,255,255,0.65) inset;
  padding: 0 8px;
}

/* Transparent nav — over full-screen hero (home page only) */
#main-nav.nav-transparent {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}
#main-nav.nav-transparent .nav-link {
  color: rgba(255,255,255,0.88);
}
#main-nav.nav-transparent .nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.10);
}
#main-nav.nav-transparent .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
#main-nav.nav-transparent .nav-link::after {
  background: rgba(255,255,255,0.65);
}
#main-nav.nav-transparent .nav-logo-name {
  color: #fff !important;
}
#main-nav.nav-transparent .nav-logo-sub {
  color: rgba(255,255,255,0.50) !important;
}
#main-nav.nav-transparent .nav-hamburger {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.25) !important;
  color: #fff !important;
}

.nav-link {
  position: relative;
  padding: 7px 13px;
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color var(--transition), background var(--transition);
  border-radius: 4px;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover {
  color: var(--teal);
  background: rgba(31,173,168,0.06);
}
.nav-link.active {
  color: var(--teal);
  font-weight: 600;
  background: rgba(31,173,168,0.06);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--teal);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: #198F8B;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(31,173,168,0.30);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: transparent;
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid rgba(15,22,38,0.25);
  border-radius: 4px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(31,173,168,0.05);
}

.btn-outline-burgundy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: transparent;
  color: var(--burgundy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid var(--burgundy);
  border-radius: 4px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-outline-burgundy:hover {
  background: var(--burgundy);
  color: #fff;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: #fff;
  color: var(--teal);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 4px;
  transition: all var(--transition);
}
.btn-white:hover {
  background: rgba(255,255,255,0.90);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: transparent;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.70);
  border-radius: 4px;
  transition: all var(--transition);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,12,22,0.55) 0%,
    rgba(8,12,22,0.38) 50%,
    rgba(8,12,22,0.68) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
  width: 100%;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero-title .word {
  display: inline-block;
  overflow: hidden;
}
.hero-title .word-inner {
  display: inline-block;
  transform: translateY(40px);
  opacity: 0;
}
.hero-title .accent { color: var(--teal); }

.hero-compact {
  position: relative;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 64px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}

/* ── Orbs ── */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  z-index: 1;
}
.orb-teal {
  background: rgba(31,173,168,0.12);
  width: 400px;
  height: 400px;
}
.orb-burgundy {
  background: rgba(139,26,56,0.07);
  width: 300px;
  height: 300px;
}

/* ── Sections ── */
.section { position: relative; z-index: 1; padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 640px)  { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ── Cards ── */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(31,173,168,0.20);
}

.card-stat {
  padding: 28px 24px;
  text-align: center;
}
.card-stat .stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
}
.card-stat .stat-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
}
.card-stat .stat-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  background: rgba(31,173,168,0.10);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.card-domain {
  padding: 28px;
  border-radius: var(--radius-card);
}
.card-domain .domain-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
}
.card-domain:nth-child(even) .domain-num { color: var(--burgundy); }
.card-domain:nth-child(odd)  .domain-num { color: var(--teal); }
.card-domain h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}
.card-domain p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-article {
  border-radius: var(--radius-card);
  overflow: hidden;
}
.card-article .img-wrap {
  overflow: hidden;
  height: 220px;
}
.card-article img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card-article:hover img { transform: scale(1.04); }
.card-article-body { padding: 24px; }

.card-partner {
  padding: 14px 20px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all var(--transition);
  text-align: center;
  cursor: default;
}
.card-partner:hover {
  border-color: var(--teal) !important;
  background: rgba(31,173,168,0.05) !important;
  color: var(--teal);
}

/* ── Category Badge ── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-teal    { background: rgba(31,173,168,0.12); color: var(--teal); }
.badge-burgundy{ background: rgba(139,26,56,0.10); color: var(--burgundy); }
.badge-blue    { background: rgba(59,130,246,0.12); color: #2563EB; }
.badge-green   { background: rgba(16,185,129,0.12); color: #059669; }
.badge-orange  { background: rgba(245,158,11,0.12); color: #D97706; }

/* ── Stats Grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Timeline ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--burgundy));
  opacity: 0.25;
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(31,173,168,0.20);
}
.timeline-item:nth-child(even)::before { background: var(--burgundy); }
.timeline-year {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 4px;
}
.timeline-item:nth-child(even) .timeline-year { color: var(--burgundy); }
.timeline-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 4px;
}
.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Filter Tabs ── */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tab {
  padding: 7px 18px;
  border-radius: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(15,22,38,0.12);
  color: var(--text-muted);
  transition: all var(--transition);
  cursor: pointer;
}
.filter-tab:hover {
  background: rgba(31,173,168,0.08);
  border-color: var(--teal);
  color: var(--teal);
}
.filter-tab.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* ── Swiper ── */
.swiper-achievements { padding-bottom: 48px !important; }
.swiper-achievements .swiper-pagination-bullet {
  background: rgba(15,22,38,0.20);
  opacity: 1;
}
.swiper-achievements .swiper-pagination-bullet-active { background: var(--teal); }

.swiper-partners { padding-bottom: 32px !important; }
.swiper-partners .swiper-pagination-bullet { background: rgba(15,22,38,0.20); opacity: 1; }
.swiper-partners .swiper-pagination-bullet-active { background: var(--teal); }

/* ── Gallery Masonry ── */
.gallery-grid {
  columns: 2;
  column-gap: 12px;
}
@media (min-width: 640px)  { .gallery-grid { columns: 3; } }
@media (min-width: 1024px) { .gallery-grid { columns: 4; } }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-card);
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,22,38,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.90);
  font-weight: 500;
}

/* ── Lightbox ── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15,22,38,0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 4px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 3;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 4px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 3;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ── Forms ── */
.form-glass {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(15,22,38,0.12);
  border-radius: 4px;
  padding: 12px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-main);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-glass:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31,173,168,0.10);
}
.form-glass::placeholder { color: var(--text-muted); }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group { margin-bottom: 20px; }
select.form-glass { cursor: pointer; }
textarea.form-glass { resize: vertical; min-height: 120px; }

/* ── Mobile Menu ── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,22,38,0.40);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.mobile-overlay.open { display: block; }
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100dvh;
  background: rgba(249,247,244,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid rgba(255,255,255,0.80);
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
  z-index: 999;
  padding: 72px 24px 40px;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu .nav-link {
  padding: 12px 14px;
  font-size: 1rem;
  display: block;
  border-bottom: 1px solid rgba(15,22,38,0.06);
  border-radius: 4px;
  margin-bottom: 2px;
}
.mobile-menu .nav-link::after { left: 14px; right: 14px; }

/* ── Divider ── */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(15,22,38,0.10), transparent);
}

/* ── Footer ── */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(15,22,38,0.08);
  position: relative;
  z-index: 1;
}
.footer-link {
  display: block;
  padding: 5px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition), padding-left var(--transition);
  position: relative;
}
.footer-link:hover {
  color: var(--teal);
  padding-left: 8px;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, #1FADA8 0%, #2DD4BF 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* ── Testimonial ── */
.testimonial-block {
  position: relative;
  padding: 48px;
  border-radius: var(--radius-card);
}
.testimonial-block .quote-mark {
  font-family: 'DM Serif Display', serif;
  font-size: 8rem;
  line-height: 0.7;
  color: var(--teal);
  opacity: 0.18;
  position: absolute;
  top: 24px;
  left: 24px;
  user-select: none;
  pointer-events: none;
}
.testimonial-text {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.6;
  letter-spacing: -0.005em;
  position: relative;
  z-index: 1;
}

/* ── Download Cards ── */
.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-card);
  transition: all var(--transition);
  cursor: pointer;
}
.download-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.download-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(139,26,56,0.10);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
}

/* ── Map ── */
.map-container {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(15,22,38,0.08);
  box-shadow: var(--shadow-card);
}
.map-container iframe { display: block; }

/* ── Project Cards ── */
.project-card { border-radius: var(--radius-card); overflow: hidden; }
.project-card .img-wrap { overflow: hidden; height: 200px; }
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover img { transform: scale(1.04); }
.project-body { padding: 24px; }
.project-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.status-ongoing { background: rgba(31,173,168,0.12); color: var(--teal); }
.status-done    { background: rgba(139,26,56,0.10); color: var(--burgundy); }

/* ── Team cards ── */
.team-card { border-radius: var(--radius-card); overflow: hidden; text-align: center; }
.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
}
.team-body { padding: 20px; }
.team-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .section  { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .hero     { min-height: 100svh; }
  .testimonial-block { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .section-title { font-size: 1.6rem; }
}

/* ── Utility ── */
.text-teal     { color: var(--teal); }
.text-burgundy { color: var(--burgundy); }
.text-muted    { color: var(--text-muted); }
.text-faint    { color: var(--text-faint); }
.bg-teal       { background: var(--teal); }
.bg-alt        { background: var(--bg-alt); }
.hidden-item   { display: none !important; }
