:root {
  --accent: #007aff;
  --text: #1a1a1a;
  --bg: #f7f8fc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}
.logo {
  margin: 0;
  font-size: 1.4rem;
}
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 60px 0;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.hero h2 {
  margin-top: 0;
  font-size: 2rem;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

/* Sections */
.container {
  width: clamp(300px, 90%, 1100px);
  margin: auto;
}
.services, .projects, .contact {
  padding: 60px 0;
}
h2 {
  text-align: center;
  margin-bottom: 32px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}
.grid img {
  width: 100%;
  border-radius: 10px;
}

/* Contact */
.contact p {
  text-align: center;
  margin: 4px 0;
}

/* Footer */
.footer {
  text-align: center;
  padding: 16px 0;
  color: #666;
  font-size: .9rem;
}

/* Responsive */
@media (max-width: 700px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  nav {display: none;}
}
