:root {
  --color-primary: #0F766E;
  --color-secondary: #2563EB;
  --color-bg: #F6FAFB;
  --color-surface: #FFFFFF;
  --color-text: #0B1220;
  --color-muted: #526072;
  --color-accent: #FB7185;
  --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background: linear-gradient(180deg, #F6FAFB 0%, #EDF4F5 55%, #F6FAFB 100%);
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.08), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(15, 118, 110, 0.08), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(251, 113, 133, 0.08), transparent 45%);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

ul.bullets {
  list-style: disc;
  padding-left: 20px;
  color: var(--color-muted);
}

ul.bullets li {
  margin-bottom: 6px;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

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

section {
  padding: 64px 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 250, 251, 0.96);
  border-bottom: 1px solid rgba(15, 118, 110, 0.1);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  position: relative;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
}

.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--color-surface);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.primary-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-radius: 0 0 16px 16px;
  box-shadow: var(--shadow-md);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.site-header.nav-open .primary-nav {
  max-height: 320px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  white-space: nowrap;
}

.nav-links a {
  display: block;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--color-text);
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: rgba(15, 118, 110, 0.12);
  color: var(--color-primary);
  outline: none;
}

.menu-open {
  overflow: hidden;
}

.hero {
  padding-top: 56px;
}

.hero-inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 12px 0 16px;
}

.hero p {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 520px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.3);
}

.btn-secondary {
  border: 1px solid rgba(37, 99, 235, 0.6);
  color: var(--color-secondary);
  background: transparent;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(37, 99, 235, 0.12);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.section-lead {
  color: var(--color-muted);
  max-width: 680px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-4,
.grid-3,
.grid-2 {
  grid-template-columns: 1fr;
}

.card {
  background: var(--color-surface);
  padding: 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  color: var(--color-muted);
}

.media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: #E9EEF5;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.checklist {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.checklist li {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-primary);
  font-weight: 500;
}

.highlight-banner {
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.08), rgba(37, 99, 235, 0.08));
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.text-link {
  color: var(--color-secondary);
  font-weight: 600;
}

.page-hero {
  padding-top: 48px;
  padding-bottom: 48px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 680px;
  color: var(--color-muted);
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.faq {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}

.faq-toggle {
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}

.faq-content {
  margin-top: 12px;
  color: var(--color-muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-content {
  max-height: 200px;
}

.filters {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-field input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #D6DEE8;
  background: var(--color-surface);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.3);
  color: var(--color-primary);
  background: transparent;
  font-weight: 600;
}

.chip.is-active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.resource-card {
  background: var(--color-surface);
  padding: 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.resource-card h3 {
  font-size: 1.15rem;
}

.resource-excerpt {
  color: var(--color-muted);
}

.resource-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  color: var(--color-muted);
}

.resource-card.expanded .resource-more {
  max-height: 200px;
  opacity: 1;
}

.empty-state {
  padding: 16px;
  border-radius: 12px;
  background: rgba(251, 113, 133, 0.12);
  color: var(--color-accent);
  font-weight: 600;
  display: none;
}

.empty-state.show {
  display: block;
}

.about-grid {
  display: grid;
  gap: 24px;
}

.contact-grid {
  display: grid;
  gap: 32px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #D6DEE8;
  background: var(--color-surface);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.field-error {
  font-size: 0.85rem;
  color: var(--color-accent);
  min-height: 18px;
}

.is-invalid {
  border-color: var(--color-accent);
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--color-primary);
  font-weight: 600;
  display: none;
}

.form-message.show {
  display: block;
}

.site-footer {
  padding: 40px 0 48px;
  background: var(--color-surface);
  border-top: 1px solid rgba(15, 118, 110, 0.1);
}

.footer-inner {
  display: grid;
  gap: 24px;
}

.footer-links ul {
  display: grid;
  gap: 8px;
  color: var(--color-muted);
}

.footer-note {
  color: var(--color-muted);
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-banner {
    grid-template-columns: 1.4fr auto;
  }

  .filters {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .header-inner {
    padding: 18px 0;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    max-height: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: transparent;
    box-shadow: none;
    margin-left: auto;
  }

  .nav-links {
    flex-direction: row;
    padding: 0;
  }

  .nav-links a {
    padding: 8px 12px;
  }

  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1280px) {
  .container {
    width: min(1240px, 90vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
