:root {
  --bg: #f7f4ef;
  --ink: #101828;
  --muted: #5f6b7a;
  --primary: #1f3a5f;
  --primary-dark: #0f2740;
  --accent: #c47a4a;
  --accent-soft: rgba(196, 122, 74, 0.15);
  --card: #ffffff;
  --border: #e4e7ec;
  --shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Work Sans", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fbf7f1 0%, #f7f4ef 50%, #f2ede6 100%);
}

h1, h2, h3, h4 {
  font-family: "Fraunces", "Georgia", serif;
  margin: 0 0 12px 0;
}

p {
  margin: 0 0 16px 0;
  color: var(--muted);
  line-height: 1.65;
}

a { text-decoration: none; color: inherit; }

.container { width: min(1160px, 92vw); margin: 0 auto; }

.section { padding: 70px 0; }

.section-title { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }

.section-subtitle { max-width: 720px; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #0ABAB5;
}
.logo span {
  color: #8A2BE2;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  color: #1f2937;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-links a.active {
  color: var(--primary-dark);
  border-bottom-color: var(--accent);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 12px 25px rgba(31, 58, 95, 0.25);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
}

.hero {
  padding: 80px 0 60px;
}

.hero-card {
  background: linear-gradient(120deg, #1f3a5f 0%, #223d63 55%, #c47a4a 100%);
  color: #ffffff;
  border-radius: 30px;
  padding: 56px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.15);
  top: -120px;
  right: -80px;
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  max-width: 720px;
  color: #ffffff;
}

.hero p { color: #f8fafc; max-width: 660px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }

.btn-primary,
.btn-outline {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary { background: #ffffff; color: #0f172a; }

.btn-outline { border: 1px solid rgba(255, 255, 255, 0.6); color: #ffffff; }

.grid { display: grid; gap: 24px; }

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8c4b27;
  font-size: 0.8rem;
  font-weight: 600;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat strong { font-size: 1.8rem; color: var(--ink); }

.case-card img,
.blog-card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 14px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

input,
textarea {
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #ffffff;
}

textarea { min-height: 140px; resize: vertical; }

footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 16px;
    position: absolute;
    top: 64px;
    right: 4vw;
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }

  .menu-toggle { display: inline-flex; }

  .nav-cta { display: none; }

  .hero-card { padding: 36px; }
}
