:root {
  /* Rich light palette: clinical + nature with depth */
  --bg-primary: #f8faf8;
  --bg-secondary: #eef3f0;
  --bg-tertiary: #e2eae5;
  --bg-card: #ffffff;
  --accent-primary: #1a6b5c;
  --accent-secondary: #0d4a42;
  --accent-tertiary: #2d8b7a;
  --accent-light: rgba(26, 107, 92, 0.12);
  --accent-lighter: rgba(26, 107, 92, 0.06);
  --text-primary: #1a1f1d;
  --text-secondary: #3d4542;
  --text-muted: #6b7570;
  --border-color: #dce2de;
  --gradient-primary: linear-gradient(135deg, #1a6b5c 0%, #0d4a42 100%);
  --gradient-accent-soft: linear-gradient(135deg, rgba(26, 107, 92, 0.15) 0%, rgba(45, 139, 122, 0.08) 100%);
  --gradient-bg: linear-gradient(180deg, #f8faf8 0%, #eef3f0 40%, #f8faf8 100%);

  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 40px;
  --radius-full: 9999px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --shadow-sm: 0 2px 12px rgba(26, 31, 29, 0.06);
  --shadow-md: 0 12px 32px rgba(26, 31, 29, 0.08);
  --shadow-lg: 0 24px 48px rgba(26, 31, 29, 0.12);
  --shadow-card-hover: 0 20px 40px rgba(26, 107, 92, 0.12);
  --shadow-glow-soft: 0 0 0 1px rgba(26, 107, 92, 0.08);

  --max-width: 1200px;
}

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

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-secondary);
  background: var(--gradient-bg);
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "DM Sans", "Source Sans 3", sans-serif;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.03em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  color: var(--text-primary);
  line-height: 1.15;
  position: relative;
}

h1 .hero-accent {
  color: var(--accent-primary);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  line-height: 1.25;
  position: relative;
}

h2.section-title {
  display: inline-block;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-xl);
  border-bottom: 3px solid var(--accent-primary);
  border-radius: 0 0 2px 0;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
  color: var(--text-primary);
}

p {
  margin: 0 0 var(--space-md);
  color: var(--text-secondary);
  font-size: 1.05rem;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--accent-secondary);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ----- Header: more presence ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 250, 248, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-md) 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.logo-link {
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.logo-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.logo {
  height: 52px;
  width: auto;
}

.logo-text {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-primary);
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.nav-link {
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0.35rem;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--accent-primary);
  border-radius: var(--radius-full);
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
  background: var(--accent-lighter);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* ----- Hero: layered and distinctive ----- */
.hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

/* Soft pattern overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(26, 107, 92, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(45, 139, 122, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, transparent 0%, rgba(238, 243, 240, 0.5) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Geometric accent shapes */
.hero::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 280px;
  height: 280px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: var(--gradient-accent-soft);
  z-index: 0;
  pointer-events: none;
  animation: blobFloat 12s ease-in-out infinite;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { transform: translate(-20px, -15px) scale(1.05); border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  text-align: center;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  text-align: center;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 720px;
  margin: 0 auto var(--space-xl);
  color: var(--text-secondary);
  animation: fadeInUp 1s ease 0.1s both;
  line-height: 1.65;
}

.hero .btn {
  animation: fadeInUp 1s ease 0.2s both;
}

/* ----- Buttons: gradient + depth ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  border-radius: inherit;
  pointer-events: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-sm), 0 4px 0 rgba(13, 74, 66, 0.25);
}

.btn-primary:hover {
  transform: translateY(2px);
  box-shadow: var(--shadow-md), 0 2px 0 rgba(13, 74, 66, 0.2);
}

.btn-primary:active {
  transform: translateY(4px);
  box-shadow: var(--shadow-sm), 0 0 0 rgba(13, 74, 66, 0.2);
}

.btn-lg {
  padding: 1.2rem 2.5rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* ----- Section + section.alt with texture ----- */
.section {
  padding: var(--space-2xl) 0 var(--space-2xl);
  position: relative;
}

.section.alt {
  background: var(--bg-secondary);
  position: relative;
}

.section.alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(26, 107, 92, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.section.alt .container {
  position: relative;
  z-index: 1;
}

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

.mb-xl { margin-bottom: var(--space-xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }
.mb-sm { margin-bottom: var(--space-sm); }

/* ----- Grid ----- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ----- Cards: accent border + richer hover ----- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: 4px 0 0 4px;
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.35s ease;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: rgba(26, 107, 92, 0.2);
}

.card:hover::before {
  transform: scaleY(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  box-shadow: 0 8px 20px rgba(26, 107, 92, 0.25);
  position: relative;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.card-title {
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.card-text {
  color: var(--text-secondary);
  line-height: 1.7;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  border: 1px solid var(--border-color);
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.02);
}

/* Staggered card animation */
.grid-3 .card:nth-child(1) { animation-delay: 0s; }
.grid-3 .card:nth-child(2) { animation-delay: 0.08s; }
.grid-3 .card:nth-child(3) { animation-delay: 0.16s; }
.grid-3 .card:nth-child(4) { animation-delay: 0.24s; }
.grid-3 .card:nth-child(5) { animation-delay: 0.32s; }
.grid-3 .card:nth-child(6) { animation-delay: 0.4s; }

/* ----- Stats section: bold band ----- */
.section .grid-4 .card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border-color: rgba(26, 107, 92, 0.15);
}

.section .grid-4 .card:hover {
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: var(--space-sm);
  font-family: "DM Sans", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}

.stat-number::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 2px;
  background: var(--accent-tertiary);
  border-radius: 50%;
  opacity: 0.6;
  vertical-align: middle;
}

/* ----- Animations ----- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.7s ease forwards;
}

/* ----- Form: clearer focus ----- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px var(--accent-lighter);
  background: var(--bg-card);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ----- Contact blocks ----- */
.contact-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-info:hover {
  border-left-color: var(--accent-secondary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.contact-info span,
.contact-info a {
  color: var(--text-secondary);
  font-size: 1rem;
}

.contact-info a:hover {
  color: var(--accent-primary);
}

/* ----- Footer: gradient + subtle pattern ----- */
.footer {
  background: linear-gradient(180deg, var(--text-primary) 0%, #141a18 100%);
  border-top: 3px solid var(--accent-primary);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 20px 20px;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer h4 {
  color: #e8edea;
  margin-bottom: var(--space-md);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.footer p {
  color: rgba(232, 237, 234, 0.85);
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: rgba(232, 237, 234, 0.85);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-tertiary);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(232, 237, 234, 0.75);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--accent-tertiary);
}

/* ----- List with checkmarks ----- */
.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 50%;
}

/* ----- Content cards (legal) ----- */
.content-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.content-card h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-color);
  color: var(--text-primary);
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--accent-primary);
}

.content-card ul,
.content-card ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.content-card li {
  margin-bottom: var(--space-xs);
  line-height: 1.8;
}

.content-card strong {
  color: var(--text-primary);
}

/* ----- Responsive ----- */
@media (max-width: 968px) {
  .header-content {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding: var(--space-2xl) 0;
  }

  .hero::after {
    width: 180px;
    height: 180px;
    bottom: 15%;
    right: -20px;
  }

  .section {
    padding: var(--space-xl) 0;
  }

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

  .grid-3 .card:nth-child(n) {
    animation-delay: 0s;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .card {
    padding: var(--space-md);
  }

  .card::before {
    width: 3px;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 1rem 2rem;
  }

  .content-card {
    padding: var(--space-md);
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .stat-number::after {
    width: 8px;
    height: 8px;
  }
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: start;
}
