:root {
  --sky: #a7d8f5;
  --deep: #0c3b5f;
  --sea: #2f9aa3;
  --gray: #95a0aa;
  --dark: #24313a;
  --sand: #f5f7f9;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 14px 36px rgba(12, 59, 95, 0.12);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  color: var(--dark);
  background: linear-gradient(180deg, #e7f3fb 0%, #f5f7f9 50%, #ffffff 100%);
}

h1, h2, h3, h4 {
  font-family: 'Libre Baskerville', serif;
  color: var(--deep);
  margin: 0 0 12px;
}

p { line-height: 1.65; margin: 0 0 16px; }

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

a:hover { color: var(--sea); }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #dce7ef;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

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

.brand-link {
  font-weight: 700;
  font-size: 20px;
}

.tagline {
  font-size: 13px;
  color: var(--gray);
}

.nav a {
  margin-left: 18px;
  font-weight: 600;
}

.hero {
  padding: 56px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-badge {
  display: inline-block;
  background: var(--sea);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--deep);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.cta-btn:hover { background: #0b2d46; color: var(--white); }

.section {
  padding: 36px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card img {
  max-width: 250px;
  width: 100%;
  height: auto;
  display: block;
}

.card h3 { margin-top: 8px; }

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e7f3fb;
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
}

.muted { color: var(--gray); }

.form {
  display: grid;
  gap: 14px;
}

.form label { font-weight: 600; }

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d7e2ea;
  border-radius: 10px;
  font-size: 15px;
  background: var(--white);
}

.form textarea { min-height: 120px; }

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0;
  text-align: left;
}

.checkbox input {
  margin-top: 4px;
}

ul, ol {
  padding-left: 1.2em;
  text-align: left;
}

li { text-align: left; }

.flash {
  background: #e7f3fb;
  border: 1px solid #cfe7f5;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 16px auto;
}

.site-footer {
  background: #e8f1f7;
  padding: 32px 0;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.footer-links { display: grid; gap: 8px; }

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table th, .table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #eef2f5;
}

 .admin-nav a { margin-right: 12px; }

.link-button {
  background: none;
  border: none;
  color: var(--deep);
  cursor: pointer;
  font-weight: 600;
  padding: 0;
}

.link-button:hover { color: var(--sea); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
