@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --navy: #1a2e4a;
  --navy-dark: #0f1e32;
  --blue: #2255a4;
  --blue-light: #3a6fc4;
  --sand: #f0ead6;
  --sand-dark: #e0d5bb;
  --text: #2c2c2c;
  --text-muted: #6b7280;
  --white: #ffffff;
  --accent: #c8922a;
  --accent-light: #e8b84b;
  --shadow: 0 4px 24px rgba(26,46,74,0.12);
  --radius: 12px;
}

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

body {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ── HEADER ── */
header {
  background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 50%, #1e3a5f 100%);
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
}

header::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.03'%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");
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 2rem;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.header-brand {
  display: flex;
  flex-direction: column;
}

.header-brand h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.header-brand p {
  font-size: 0.8rem;
  opacity: 0.75;
  font-weight: 300;
  margin-top: 0.15rem;
  letter-spacing: 0.5px;
}

.header-links {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.header-links a { 
  color: var(--white);
  text-decoration: none;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
  white-space: nowrap;
}

.header-links a:hover { background: rgba(255,255,255,0.22); }

.header-join {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  font-weight: 600 !important;
}
.header-join:hover { background: #b07a1e !important; }

/* ── LANGUAGE SWITCHER ── */
.lang-switcher {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 4px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  font-family: 'Source Sans 3', sans-serif;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.lang-btn img { border-radius: 2px; display: block; }

.lang-btn:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.lang-btn.active { background: var(--white); color: var(--navy); }

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 2px solid var(--sand-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

nav li { margin: 0; }

nav a {
  display: block;
  padding: 1rem 1.4rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

nav a:hover { color: var(--blue); border-bottom-color: var(--blue-light); }
nav a.active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }

/* ── HERO ── */
.hero {
  background: linear-gradient(rgba(10,25,45,0.55), rgba(10,25,45,0.45)),
              url('https://images.unsplash.com/photo-1569163139599-0f4517e36f51?w=1400&q=80') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 1.5rem 2rem;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  margin-bottom: 0;
  line-height: 1.15;
}

.hero-content p {
  font-size: 0.95rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* ── CONTENT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section.page-section {
  padding: 4rem 0;
}

section.page-section:nth-child(odd) { background: var(--white); }
section.page-section:nth-child(even) { background: var(--sand); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,46,74,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(26,46,74,0.16); }

.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.card p { color: var(--text-muted); line-height: 1.8; }

/* ── NEWS CARDS ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue);
  transition: transform 0.2s;
}

.news-card:hover { transform: translateY(-3px); }

.news-date {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

.news-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  line-height: 1.3;
}

.news-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; }

/* ── PRICE TABLES ── */
.price-table {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.price-table-header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  gap: 1rem;
}

.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--sand); }

.price-label { color: var(--text); font-size: 0.95rem; }
.price-label small { display: block; color: var(--text-muted); font-size: 0.82rem; }
.price-value { color: var(--navy); font-weight: 700; font-size: 1rem; white-space: nowrap; }

.price-highlight {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.price-highlight .amount {
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.price-highlight .label { opacity: 0.8; font-size: 0.95rem; margin-top: 0.3rem; }

/* ── STATUTES ── */
.statute-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.statute-section:last-child { border-bottom: none; }

.statute-num {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.statute-section h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.statute-section p, .statute-section ol { color: var(--text); line-height: 1.85; }
.statute-section ol { padding-left: 1.5rem; }
.statute-section ol li { margin-bottom: 0.3rem; }

.statute-approval {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
  border-left: 4px solid var(--accent);
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-box h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--sand-dark);
}

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

.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }

.contact-item strong { display: block; color: var(--navy); font-size: 0.85rem; letter-spacing: 0.5px; text-transform: uppercase; }
.contact-item span, .contact-item a { color: var(--text-muted); text-decoration: none; }
.contact-item a:hover { color: var(--blue); }

/* ── HISTORY ── */
.history-content p { color: var(--text); line-height: 1.9; margin-bottom: 1.5rem; font-size: 1.05rem; }

.history-chapter {
  margin-top: 2.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}

.history-chapter h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.history-quote {
  background: var(--navy);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  margin-top: 3rem;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  position: relative;
}

.history-quote::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  opacity: 0.2;
  line-height: 1;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2.5rem 1rem;
}

footer strong { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.1rem; }
footer p { margin-top: 0.5rem; font-size: 0.9rem; }
footer .footer-links { margin-top: 1rem; display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
footer .footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; }
footer .footer-links a:hover { color: var(--white); }

/* ── UTILS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-family: 'Source Sans 3', sans-serif;
}
.btn:hover { background: var(--blue); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: #b07a1e; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .header-brand h1 { font-size: 1.6rem; }
  .header-inner { padding: 1rem; }
  .hero-content h2 { font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  nav a { padding: 0.8rem 1rem; font-size: 0.88rem; }
}
