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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: #3d5a7c;
  background: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
#site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 37, 61, 0.06);
  transition: box-shadow 0.3s ease;
}

#site-header.scrolled {
  box-shadow: 0 4px 24px rgba(10, 37, 61, 0.08);
}

.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #7dd3c0;
  border-radius: 1px;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #7dd3c0 0%, #5bbfad 100%);
  color: #0a2540;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(125, 211, 192, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(125, 211, 192, 0.5);
  background: linear-gradient(135deg, #6ec9b5 0%, #4db5a0 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #0f253d;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  border: 2px solid rgba(10, 37, 61, 0.15);
  transition: all 0.25s ease;
}
.btn-secondary:hover {
  border-color: #7dd3c0;
  color: #5bbfad;
  background: rgba(125, 211, 192, 0.06);
}

/* ── Hero ── */
.hero-gradient {
  background: linear-gradient(135deg, #f0f9f4 0%, #e8f4f0 30%, #f5f8fc 60%, #f0f4f8 100%);
  position: relative;
}
.hero-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(125, 211, 192, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-gradient::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 40%;
  background: radial-gradient(ellipse at bottom left, rgba(26, 58, 92, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Service Cards ── */
.service-card {
  background: #ffffff;
  border: 1px solid rgba(10, 37, 61, 0.06);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(10, 37, 61, 0.08);
  border-color: rgba(125, 211, 192, 0.3);
}

/* ── Mobile Menu ── */
.mobile-nav-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(10, 37, 61, 0.06);
}
.mobile-nav-link:last-child { border-bottom: none; }

/* ── Animations ── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-up { transform: translateY(32px); }
.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f9f4; }
::-webkit-scrollbar-thumb { background: #7dd3c0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #5bbfad; }

/* ── Form ── */
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(125, 211, 192, 0.2);
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .font-serif { line-height: 1.15; }
  .hero-gradient { padding-bottom: 2rem; }
}
