/* === Base Reset & Typography === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: #334155;
  background: #f8fafc;
  line-height: 1.6;
}

/* === Navbar === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}
.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.brand-icon { width: 36px; height: 36px; }
.brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0d47a1;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-link {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0d47a1;
  transition: width 0.3s;
}
.nav-link:hover, .nav-link.active { color: #0d47a1; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #334155;
}

/* === Hero === */
.hero {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);
  padding: 6rem 1.5rem;
  text-align: center;
}
.hero-content { max-width: 640px; margin: 0 auto; }
.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

/* === Sections === */
.section {
  max-width: 1024px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #0d47a1;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}
.section-text {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 1rem;
}

/* === Cards === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(13,71,161,0.08);
}
.card-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #1e293b;
  margin-bottom: 0.75rem;
}
.card-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.card-link {
  color: #0d47a1;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
}
.card-link:hover { text-decoration: underline; }

/* === Badges === */
.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}
.badge-green { background: #ecfdf5; color: #065f46; }
.badge-amber { background: #fef3c7; color: #92400e; }

/* === Values === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-item {
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
  color: #1e293b;
  padding: 1rem;
  background: #eff6ff;
  border-radius: 12px;
}

/* === Contact === */
.contact-links {
  list-style: none;
  margin-top: 1rem;
}
.contact-links li { margin-bottom: 0.75rem; }
.contact-links a {
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-links a:hover { color: #0d47a1; }

/* === Privacy Page === */
.privacy-page { padding-top: 6rem; }
.policy-heading {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1e293b;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.meta { color: #94a3b8; font-size: 0.875rem; margin-bottom: 2rem; }

/* === Footer === */
.footer {
  border-top: 1px solid #e2e8f0;
  text-align: center;
  padding: 2rem 1.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
}

/* === Responsive === */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
  }
  .nav-links.open { display: flex; }
  .hero-title { font-size: 2.2rem; }
  .hero { padding: 4rem 1.5rem; }
}
