:root {
  --navy: #1a3a5c;
  --teal: #2a9d8f;
  --teal-dark: #21867a;
  --sky: #e8f4f8;
  --cream: #faf9f7;
  --text: #2c3e50;
  --muted: #5a6b7d;
  --border: #d8e2ea;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(26, 58, 92, 0.08);
  --max: 1080px;
  --font: "Lato", system-ui, -apple-system, sans-serif;
  --header-logo-width: 120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: var(--header-logo-width);
  height: auto;
  flex-shrink: 0;
}

.brand-text strong {
  display: block;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.brand-text span {
  display: block;
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--sky);
  color: var(--navy);
}

.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy) !important;
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  background: var(--sky);
  border-color: var(--teal);
}

.hero {
  background: linear-gradient(135deg, var(--sky) 0%, var(--white) 55%, var(--cream) 100%);
  padding: 3rem 1.25rem 4rem;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 1rem;
}

.hero .lead {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-visual {
  text-align: center;
}

.hero-visual img {
  max-width: 340px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section {
  padding: 3.5rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-alt {
  background: var(--white);
}

.section h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
}

.section-intro {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 2rem;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.section-alt .card {
  background: var(--cream);
}

.card h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.prose {
  max-width: 72ch;
}

.prose p {
  margin: 0 0 1.15rem;
}

.prose h2 {
  margin-top: 2rem;
}

.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 1.25rem;
}

.page-header-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-header h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.page-header p {
  margin: 0;
  opacity: 0.9;
  max-width: 55ch;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 1.25rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-inner a {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Forms */
.form-shell {
  max-width: 900px;
  margin: 0 auto;
}

.form-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.form-section h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--navy);
  border-bottom: 2px solid var(--sky);
  padding-bottom: 0.5rem;
}

.form-section h3 {
  margin: 1.25rem 0 0.75rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.checkbox-row input {
  margin-top: 0.25rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid var(--border);
  padding: 0.45rem;
  text-align: center;
}

.schedule-table th {
  background: var(--sky);
  color: var(--navy);
}

.form-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .brand img {
    width: 96px;
  }
}
