:root {
  --primary: #1f9d8f;
  --primary-dark: #17786f;
  --bg: #f6f8fb;
  --text: #1c2431;
  --muted: #5f6b7a;
  --card: #ffffff;
  --shadow: 0 15px 45px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; border-radius: 14px; }
a { color: inherit; text-decoration: none; }

.container { width: min(1100px, 94%); margin: 0 auto; }
.flex { display: flex; gap: 1rem; }
.between { justify-content: space-between; }
.center { align-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  padding: 12px 0;
  backdrop-filter: blur(12px);
}
.logo { font-weight: 800; letter-spacing: -0.5px; color: var(--primary); }
.nav a { padding: 10px 12px; border-radius: 10px; font-weight: 600; color: var(--muted); }
.nav a.active, .nav a:hover { color: #fff; background: var(--primary); }
.ghost-btn {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.ghost-btn:hover { background: var(--primary); color: #fff; box-shadow: var(--shadow); }

.hero {
  padding: 80px 0 40px;
}
.hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 10px 0; }
.lead { color: var(--muted); max-width: 540px; }
.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.hero-card.small img { height: 260px; object-fit: cover; width: 100%; }
.card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
  color: #fff;
  padding: 18px;
  font-size: 14px;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 55px rgba(0,0,0,0.16); }
.link { color: var(--primary); font-weight: 700; }

.hero-actions { display: flex; gap: 12px; margin: 18px 0; flex-wrap: wrap; }
.tags { list-style: none; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.tags li { background: #e8f5f3; color: var(--primary-dark); padding: 8px 12px; border-radius: 12px; font-weight: 600; }

.section { padding: 70px 0; }
.section.alt { background: #fff; }
.section-head { text-align: left; margin-bottom: 30px; }
.section-head h2 { margin: 0; font-size: 30px; }
.cards .card, .feature, .team .card, .product {
  background: var(--card);
  padding: 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  opacity: 0;
  transform: translateY(14px);
}
.card:hover, .product:hover, .feature:hover { transform: translateY(-4px); box-shadow: 0 18px 55px rgba(0,0,0,0.12); }
.visible { opacity: 1 !important; transform: translateY(0) !important; transition: all 0.6s ease; }

.timeline { display: grid; gap: 20px; }
.timeline-item { position: relative; padding-left: 28px; }
.timeline-item .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary); position: absolute; left: 0; top: 6px;
}
.cta { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: 20px; margin: 50px auto; }
.cta .btn { background: #fff; color: var(--primary); box-shadow: none; }

.footer { padding: 24px 0 30px; background: #0f1720; color: #d8e0ea; }
.footer a { color: #9fc4ff; }
.social { display: flex; gap: 14px; }

.page-hero { padding: 70px 0 30px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.filter-btn {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--primary);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn.active { background: var(--primary); color: #fff; }

.contact { align-items: start; }
.form {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}
label { display: grid; gap: 6px; font-weight: 700; color: var(--text); }
input, textarea, select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d9e0ea;
  font: inherit;
}
.form-status { color: var(--primary-dark); font-weight: 700; min-height: 20px; }
.contact-info { background: #fff; padding: 20px; border-radius: 16px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.map img { border-radius: 12px; }

@media (max-width: 720px) {
  .topbar .nav { display: none; }
  .topbar { padding: 12px; }
  .ghost-btn { display: none; }
  .footer .flex { flex-direction: column; gap: 10px; }
}

