*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 600px; }

/* HEADER */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-size: 1.2rem; font-weight: 700; color: #111; }
nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #555;
  font-size: 0.95rem;
  transition: color 0.2s;
}
nav a:hover { color: #111; }

/* HERO */
.hero {
  background: #f5f5f5;
  padding: 100px 24px;
  text-align: center;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; color: #111; margin-bottom: 16px; }
.hero p { font-size: 1.1rem; color: #555; margin-bottom: 32px; }
.btn {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}
.btn:hover { background: #333; }

/* ABOUT */
.about {
  padding: 80px 24px;
}
.about h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; }
.about p { color: #444; margin-bottom: 12px; }

/* CONTACT */
.contact {
  background: #f5f5f5;
  padding: 80px 24px;
}
.contact h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.contact > .narrow > p { color: #555; margin-bottom: 28px; }

form { display: flex; flex-direction: column; gap: 14px; }
form input, form textarea {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s;
}
form input:focus, form textarea:focus {
  outline: none;
  border-color: #111;
}
form textarea { min-height: 140px; resize: vertical; }
form button {
  background: #111;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
form button:hover { background: #333; }
form button:disabled { background: #888; cursor: not-allowed; }
#formStatus { font-size: 0.95rem; margin-top: 4px; }

/* FOOTER */
footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 32px 24px;
  font-size: 0.9rem;
}

/* MOBILE */
@media (max-width: 480px) {
  .hero { padding: 70px 24px; }
  nav a { margin-left: 16px; }
}
