/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal-400: #0d9488;
  --teal-500: #0f766e;
  --teal-600: #115e59;
  --emerald-400: #059669;
  --emerald-500: #047857;
  --bg-900: #f4f8f7;
  --bg-800: #e8f0ee;
  --bg-700: #dce9e5;
  --bg-card: #ffffff;
  --text-primary: #0d1f1b;
  --text-secondary: #426962;
  --text-muted: #7a9e98;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(13, 148, 136, 0.4);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.09);
  --radius: 16px;
  --radius-lg: 24px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-900); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-900); }
::-webkit-scrollbar-thumb { background: var(--teal-400); border-radius: 3px; }

/* ─── Utility ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,148,136,0.08); border: 1px solid rgba(13,148,136,0.25);
  color: var(--teal-400); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.badge::before { content: ''; width: 6px; height: 6px; background: var(--teal-400); border-radius: 50%; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .badge { margin-bottom: 16px; }
.section-title { font-family: 'Sora', sans-serif; font-size: clamp(32px,4vw,48px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px; }
.section-title span { color: var(--teal-400); }
.section-subtitle { color: var(--text-secondary); font-size: 17px; max-width: 580px; margin: 0 auto; line-height: 1.7; }
.divider { width: 60px; height: 3px; background: linear-gradient(90deg, var(--teal-400), var(--emerald-400)); border-radius: 2px; margin: 16px auto 0; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; border: none; text-decoration: none; font-family: 'Inter', sans-serif; }
.btn-primary { background: var(--teal-400); color: #fff; box-shadow: 0 4px 20px rgba(13,148,136,0.25); }
.btn-primary:hover { background: var(--teal-500); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(13,148,136,0.35); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1.5px solid rgba(13,148,136,0.3); }
.btn-outline:hover { border-color: var(--teal-400); color: var(--teal-400); background: rgba(13,148,136,0.05); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ─── Navbar ──────────────────────────────────────────────── */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 24px; transition: all 0.3s ease; }
#navbar.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo .logo-icon { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; }
.nav-logo .logo-text { font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 700; }
.nav-logo .logo-text span { color: var(--teal-400); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: all 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal-400); background: rgba(13,148,136,0.07); }
.nav-cta { margin-left: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s; }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 16px 24px 24px; z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text-secondary); }
.mobile-menu a:last-child { border: none; margin-top: 12px; }
@media (max-width: 768px) { .nav-links, .nav-cta { display: none; } .hamburger { display: flex; } }

/* ─── Page Hero (subpages) ────────────────────────────────── */
.page-hero {
  padding: 140px 24px 64px;
  background: linear-gradient(to bottom, #f4f8f7, #eaf1ef);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(13,148,136,0.08) 0%, transparent 60%);
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(13,148,136,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(13,148,136,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 20%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--teal-400); }
.breadcrumb span { opacity: 0.5; }
.page-hero-title { font-family: 'Sora', sans-serif; font-size: clamp(36px,5vw,56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.page-hero-title span { background: linear-gradient(135deg, #0d9488, #059669); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero-desc { color: var(--text-secondary); font-size: 17px; line-height: 1.75; max-width: 560px; }

/* ─── Cards (shared) ──────────────────────────────────────── */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); transition: all 0.3s ease; }
.card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon { width: 52px; height: 52px; border-radius: 13px; background: rgba(13,148,136,0.1); border: 1px solid rgba(13,148,136,0.18); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }

/* ─── Footer ──────────────────────────────────────────────── */
footer { background: linear-gradient(180deg, var(--bg-800) 0%, #dce5e3 100%); position: relative; padding: 0 24px 0; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--teal-400), var(--emerald-400), var(--teal-400)); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding: 64px 0 48px; border-bottom: 1px solid rgba(13,148,136,0.15); }
.footer-brand p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; max-width: 300px; margin: 16px 0 24px; }
.social-links { display: flex; gap: 10px; }
.social-link { width: 38px; height: 38px; border-radius: 50%; background: rgba(13,148,136,0.08); border: 1px solid rgba(13,148,136,0.15); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-muted); transition: all 0.3s ease; }
.social-link:hover { background: var(--teal-400); border-color: var(--teal-400); color: #fff; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(13,148,136,0.3); }
.footer-col h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; color: var(--text-primary); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-muted); transition: all 0.2s; position: relative; padding-left: 0; }
.footer-col ul li a:hover { color: var(--teal-400); padding-left: 6px; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 28px 0 32px; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-bottom .highlight { color: var(--teal-400); font-weight: 600; }
.back-to-top { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--teal-400); padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(13,148,136,0.25); background: rgba(13,148,136,0.06); transition: all 0.3s ease; cursor: pointer; text-decoration: none; }
.back-to-top:hover { background: var(--teal-400); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(13,148,136,0.3); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .footer-bottom { justify-content: center; text-align: center; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── Animations ──────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }
.fade-up:nth-child(7) { transition-delay: 0.6s; }
