@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

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

:root {
  --charcoal: #1C2B2B;
  --charcoal-mid: #2E4A4A;
  --charcoal-light: #3D6B60;
  --teal: #1D9E75;
  --teal-dark: #0F6E56;
  --teal-light: #E8F5F1;
  --teal-pale: #F2FAF7;
  --white: #ffffff;
  --off-white: #F7FAFA;
  --text-muted: #5A7A72;
  --border: rgba(29, 158, 117, 0.15);
  --font-display: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem;
  height: 68px;
  background: rgba(28, 43, 43, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29, 158, 117, 0.12);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-logo span { color: var(--teal); }

.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--teal-dark) !important; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--white); font-size: 1.5rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

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

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}

.btn-outline:hover { background: var(--charcoal); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

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

/* SECTION LAYOUT */
section { padding: 6rem 4rem; }

.container { max-width: 1160px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* FOOTER */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.55);
  padding: 3rem 4rem;
}

.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  text-decoration: none;
}

.footer-logo span { color: var(--teal); }

.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.25s; opacity: 0; }
.fade-up-3 { animation-delay: 0.4s; opacity: 0; }
.fade-up-4 { animation-delay: 0.55s; opacity: 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  section { padding: 4rem 1.5rem; }
  footer { padding: 2.5rem 1.5rem; }

  .nav-links { display: none; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0; background: var(--charcoal); padding: 1rem 0; }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links a { display: block; padding: 1rem 1.5rem; }
  .nav-toggle { display: block; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
