/* ===== medellincolombia.org — Shared Styles ===== */
:root {
  --gold: #E8A838;
  --red: #C8102E;
  --blue: #2456A4;
  --blue-dark: #1B3A6B;
  --emerald: #1D8B55;
  --cream: #F5F2EB;
  --dark: #0a0a0a;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold), var(--red)); border-radius: 3px; }

.sans { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.serif { font-family: 'Playfair Display', Georgia, serif; }

a { color: var(--gold); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--cream); }

/* Grain */
.grain {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.025; pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Flag stripe */
.flag-stripe { display: flex; height: 3px; width: 100%; }
.flag-stripe .fs-gold { flex: 2; background: var(--gold); }
.flag-stripe .fs-blue { flex: 1; background: var(--blue); }
.flag-stripe .fs-red { flex: 1; background: var(--red); }

.tricolor-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 25%, var(--blue) 50%, var(--red) 75%, transparent 95%);
}

.mini-flag { display: flex; gap: 4px; margin-bottom: 24px; }
.mini-flag span:nth-child(1) { width: 20px; height: 2px; background: var(--gold); }
.mini-flag span:nth-child(2) { width: 10px; height: 2px; background: var(--blue); }
.mini-flag span:nth-child(3) { width: 10px; height: 2px; background: var(--red); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,0.92); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
}
.logo-gold { color: var(--gold); font-size: 20px; font-weight: 700; letter-spacing: -0.5px; }
.logo-light { color: var(--cream); font-size: 20px; font-weight: 400; opacity: 0.5; }
.logo-tld { color: rgba(245,242,235,0.25); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }

.desktop-nav { display: flex; gap: 20px; align-items: center; }
.nav-link {
  color: rgba(245,242,235,0.5); text-decoration: none;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  letter-spacing: 0.3px; position: relative; transition: color 0.3s ease;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.3s ease;
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { width: 100%; }

.hamburger {
  display: none; background: none; border: none;
  color: var(--gold); font-size: 22px; cursor: pointer; padding: 8px;
}
.mobile-menu {
  display: none; flex-direction: column; padding: 0 24px 24px; gap: 12px;
  background: rgba(10,10,10,0.98);
}
.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  .desktop-nav { display: none !important; }
  .hamburger { display: block; }
}

/* Page content */
.page-container {
  flex: 1;
  padding: 120px 24px 80px;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.page-label {
  color: var(--blue); font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 16px;
}

.page-title {
  font-size: clamp(32px, 5vw, 52px); font-weight: 700;
  line-height: 1.15; letter-spacing: -1px; margin-bottom: 8px;
}

.page-subtitle {
  font-size: clamp(16px, 2vw, 18px); color: rgba(245,242,235,0.45);
  font-weight: 300; margin-bottom: 40px; line-height: 1.6;
}

.content-body {
  font-size: clamp(15px, 2vw, 17px); line-height: 1.85;
  color: rgba(245,242,235,0.65); font-weight: 300;
}
.content-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 3vw, 26px); font-weight: 600;
  color: var(--cream); margin: 48px 0 16px; line-height: 1.3;
}
.content-body h2:first-child { margin-top: 0; }
.content-body p { margin-bottom: 20px; }
.content-body ul, .content-body ol { margin: 0 0 20px 24px; }
.content-body li { margin-bottom: 8px; }
.content-body strong { color: var(--cream); font-weight: 500; }
.content-body em { color: var(--gold); }

/* Contact form */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-size: 13px; letter-spacing: 0.5px;
  color: rgba(245,242,235,0.5); margin-bottom: 8px;
}
.form-input, .form-textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--cream); font-family: 'DM Sans', sans-serif;
  font-size: 15px; border-radius: 4px;
  transition: border-color 0.3s ease;
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--gold);
  background: rgba(255,255,255,0.06);
}
.form-textarea { min-height: 160px; resize: vertical; }
.form-button {
  padding: 14px 40px; background: var(--gold); color: var(--dark);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 0.5px; border: none; border-radius: 4px; cursor: pointer;
  transition: all 0.3s ease;
}
.form-button:hover { background: #F0B848; transform: translateY(-1px); }

/* Footer */
.site-footer { padding: 60px 24px 0; max-width: 900px; margin: 0 auto; width: 100%; }
.footer-content {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 32px; padding-bottom: 40px;
}
.footer-desc {
  font-size: 13px; color: rgba(245,242,235,0.25);
  max-width: 320px; line-height: 1.7; font-weight: 300; margin-top: 12px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-copy {
  font-size: 11px; color: rgba(245,242,235,0.15);
  text-align: center; padding: 20px 0;
}

/* 404 specific */
.four-oh-four {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 24px;
}
.four-oh-four .big-number {
  font-size: clamp(100px, 20vw, 200px); font-weight: 800;
  line-height: 1; letter-spacing: -4px;
  background: linear-gradient(180deg, var(--red) 0%, rgba(200,16,46,0.3) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Thank you */
.thank-you-check {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(29,139,85,0.1); border: 2px solid var(--emerald);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px; font-size: 36px; color: var(--emerald);
}
