
:root {
  --bg: #f6f9fc;
  --surface: #ffffff;
  --surface-2: #edf4fa;
  --text: #173246;
  --muted: #617586;
  --line: #d7e2ec;
  --accent: #155b92;
  --accent-dark: #0f456f;
  --success: #0f6b46;
  --shadow: 0 14px 40px rgba(15, 69, 111, 0.09);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215, 226, 236, 0.85);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.2rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(21, 91, 146, 0.24);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: #bfd1df; }

.hero {
  padding: 4.5rem 0 3rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #eaf3fb;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
}
.hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 1.5rem;
}
.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.4rem;
}
.stat, .trust-item, .audience-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.stat {
  padding: 1rem;
}
.stat strong {
  display: block;
  font-size: 1.06rem;
  margin-bottom: 0.2rem;
}
.hero-card {
  overflow: hidden;
  border-radius: 28px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}
.hero-card-body, .card-body { padding: 1.25rem; }

.trust-strip { padding: 1rem 0 2.6rem; }
.trust-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}
.trust-item {
  padding: 0.95rem 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--muted);
}

section { padding: 2.75rem 0; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
h2 {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
}
.section-heading p, .lede {
  color: var(--muted);
  max-width: 68ch;
  margin: 0;
}
.service-grid, .project-grid, .portfolio-grid, .audience-grid {
  display: grid;
  gap: 1.2rem;
}
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-grid { grid-template-columns: 1.16fr 0.84fr; align-items: stretch; }
.portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.audience-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  line-height: 1.15;
}
.card p { margin: 0; color: var(--muted); }
.pill {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.33rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
}
.service-card ul, .project-note ul {
  margin: 0.95rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.service-card li, .project-note li { margin-bottom: 0.35rem; }

.service-card img, .portfolio-card img, .project-main img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.project-main img { aspect-ratio: 16 / 9; }
.project-note {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}
.project-note .meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.audience-card {
  background: linear-gradient(180deg, #ffffff, #f6f9fc);
  padding: 1.1rem;
}
.audience-card strong { display: block; margin-bottom: 0.3rem; }
.audience-card p { color: var(--muted); margin: 0; }

.quote {
  background: linear-gradient(135deg, #f8fbff 0%, #eef6fd 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}
.quote-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.full { grid-column: 1 / -1; }
label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
input, select, textarea {
  width: 100%;
  border: 1px solid #cbd9e5;
  border-radius: 14px;
  background: #fff;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
}
textarea { min-height: 130px; resize: vertical; }

.note-list {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.small-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.success-wrap {
  min-height: 65vh;
  display: grid;
  place-items: center;
  padding: 4rem 0;
}
.success-card {
  max-width: 720px;
  padding: 2rem;
  text-align: center;
}
.success-card h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.8rem;
}
.success-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

@media (max-width: 980px) {
  .hero-grid, .project-grid, .quote-grid, .service-grid, .portfolio-grid, .audience-grid, .trust-list, form, .stats {
    grid-template-columns: 1fr;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .nav-links { display: none; }
}
