:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-soft: #efe7da;
  --text: #1e293b;
  --muted: #64748b;
  --accent: #184e77;
  --accent-2: #52b69a;
  --border: #e2e8f0;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav {
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--text);
  color: white !important;
  padding: 10px 16px;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--text);
  color: white;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 1.2rem;
}

.section {
  padding: 88px 0;
}

.hero {
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at top left, rgba(82, 182, 154, 0.25), transparent 32%),
    radial-gradient(circle at bottom right, rgba(24, 78, 119, 0.20), transparent 28%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 28px;
}

.hero-actions, .contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 19px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn.primary {
  color: white;
  background: var(--accent);
}

.btn.primary:hover {
  background: #123a59;
}

.btn.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(30, 41, 59, 0.12);
}

.btn.secondary:hover {
  border-color: var(--accent);
}

.small-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.hero-card ul {
  padding-left: 20px;
  color: var(--muted);
  margin-bottom: 0;
}

.card-line {
  width: 52px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-2);
  margin-bottom: 26px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p,
.process p,
.about p,
.contact p {
  color: var(--muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.project-card,
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.service-card p,
.project-card p,
.step p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 18px;
}

.process {
  background: var(--surface-soft);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step strong {
  display: block;
  margin-bottom: 6px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-tag {
  color: var(--accent) !important;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px !important;
}

.project-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.project-card a:hover {
  text-decoration: underline;
}

.about {
  background: #ffffff;
}

.about-grid {
  max-width: 880px;
  margin: 0 auto;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tools span {
  background: var(--surface-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 800;
  font-size: 0.9rem;
}

.contact {
  padding-bottom: 104px;
}

.contact-box {
  text-align: center;
  background: var(--text);
  color: white;
  border-radius: 34px;
  padding: 64px 34px;
  box-shadow: var(--shadow);
}

.contact-box .eyebrow {
  color: var(--accent-2);
}

.contact-box p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-box .contact-actions {
  justify-content: center;
  margin-top: 28px;
  margin-bottom: 0;
}

.contact-box .btn.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
  color: white;
}

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    padding: 20px;
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

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

  .hero-grid,
  .process-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 78px;
  }

  .cards-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .contact-box {
    padding: 28px;
  }


  .btn {
    width: 100%;
  }
}
