/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
}

/* ── Section ── */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}
.section--shaded {
  background: rgba(255, 255, 255, .6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Section header ── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: .75rem;
}
.section-header p {
  color: var(--muted-fg);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Fixed background layers ── */
#bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(13, 138, 134, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 138, 134, .06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  animation: pulse-blob 5s ease-in-out infinite;
}
.bg-blob--1 {
  top: -15%; right: -5%; width: 45%; height: 45%;
  background: radial-gradient(circle, rgba(13, 138, 134, .12) 0%, transparent 70%);
}
.bg-blob--2 {
  bottom: -15%; left: -5%; width: 38%; height: 38%;
  background: radial-gradient(circle, rgba(201, 125, 10, .09) 0%, transparent 70%);
  animation-delay: 2.5s;
}
.bg-blob--3 {
  top: 50%; left: 30%; width: 30%; height: 30%;
  background: radial-gradient(circle, rgba(13, 138, 134, .06) 0%, transparent 70%);
  animation-delay: 1.2s;
}
.bg-hex {
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='86.6'%3E%3Cpath d='M50 0L100 28.87V86.6L50 115.47L0 86.6V28.87Z' fill='none' stroke='%230d8a86' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 52px;
}

/* ── Navigation ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
#nav.scrolled {
  background: rgba(244, 246, 249, .92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.nav-logo span {
  color: var(--primary);
  font-weight: 300;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links button {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted-fg);
  transition: var(--transition);
}
.nav-links button:hover { color: var(--primary); }

@media (max-width: 768px) {
  .nav-links,
  #nav-cta { display: none; }
}

/* ── Footer ── */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  z-index: 10;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.02em;
}
.footer-logo span {
  color: var(--primary);
  font-weight: 300;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links button {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--muted-fg);
  transition: var(--transition);
}
.footer-links button:hover { color: var(--primary); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--muted-fg);
}
