@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Outlined');

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

:root {
  --primary: #457AA1;
  --primary-dark: #365f7e;
  --primary-light: #e8f0f8;
  --accent: #E29E21;
  --accent-dark: #c4891b;
  --on-primary: #fff;
  --on-surface: #1c1b1f;
  --on-surface-variant: #49454f;
  --surface: #fff;
  --surface-container: #f3f3f6;
  --surface-container-low: #f7f7fa;
  --surface-container-high: #ece6f0;
  --outline: #cac4d0;
  --outline-variant: #e0dbe4;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 2px 4px rgba(0,0,0,0.06), 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 6px rgba(0,0,0,0.05), 0 10px 15px rgba(0,0,0,0.1);
  --shadow-xl: 0 10px 20px rgba(0,0,0,0.08), 0 20px 40px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 28px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--on-surface);
  background: var(--surface-container-low);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ─── Top App Bar ─── */
.site-header {
  background: var(--primary);
  color: var(--on-primary);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--on-primary);
  text-decoration: none;
  padding: 0.5rem 0;
}

.logo-link:hover {
  text-decoration: none;
}

.logo-link img {
  height: 36px;
  width: auto;
}

.logo-link span {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: 0;
}

/* ─── Navigation ─── */
nav {
  display: flex;
  gap: 0.25rem;
}

nav a {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s;
  position: relative;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
}

nav a.active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--on-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ─── Main content ─── */
main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

/* ─── Hero ─── */
.hero {
  background: var(--primary);
  color: var(--on-primary);
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.92;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  font-weight: 300;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-xl);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  transition: box-shadow 0.2s, transform 0.15s;
}

.hero-links a:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
}

/* ─── Surface cards (content sections) ─── */
section {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

section h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}

section h3 {
  font-size: 1rem;
  color: var(--on-surface-variant);
  margin-bottom: 0.5rem;
  margin-top: 1.25rem;
  font-weight: 500;
}

section p {
  margin-bottom: 0.75rem;
  color: var(--on-surface-variant);
}

section ul, section ol {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
  color: var(--on-surface-variant);
}

section li {
  margin-bottom: 0.5rem;
}

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

.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.2s;
  border-top: 3px solid var(--primary);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-top-color: var(--accent);
}

.card h3 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
}

.card p {
  color: var(--on-surface-variant);
  font-size: 0.875rem;
  line-height: 1.5;
}

.card a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--primary);
  letter-spacing: 0.01em;
}

/* ─── Contact items ─── */
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
}

.contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--on-surface);
  font-weight: 500;
}

/* ─── Callout (banner) ─── */
.callout {
  background: #fef7e0;
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.callout-info {
  background: var(--primary-light);
}

.callout p {
  margin-bottom: 0;
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
}

.callout strong {
  color: var(--on-surface);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 0.875rem 1.25rem;
    border-radius: 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .page-title {
    font-size: 1.5rem;
  }

  section {
    padding: 1.25rem;
  }
}
