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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background: #fafafa;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background: #1a1a2e;
  color: #f0f0f0;
  padding: 2.5rem 0;
  text-align: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.nav-home {
  color: #a0a0c0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-home:hover {
  color: #f0f0f0;
}

.nav-link {
  color: #a0a0c0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-link:hover {
  color: #f0f0f0;
}

header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tagline {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: #a0a0c0;
}

/* Main */
main {
  padding: 3rem 0;
}

section {
  margin-bottom: 3rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1a2e;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #1a1a2e;
}

p {
  margin-bottom: 1rem;
  color: #444;
}

/* Service cards */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
}

a.card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

a.card:hover {
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

a.card h3,
a.card p {
  color: inherit;
}

.card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
  max-width: 540px;
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: #1a1a2e;
  font-size: 0.95rem;
}

.form-group .optional {
  font-weight: 400;
  color: #888;
  font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  color: #1a1a2e;
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group textarea {
  resize: vertical;
}

.btn-submit {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 0.7rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: #1d4ed8;
}

.hidden {
  display: none;
}

/* Footer */
footer {
  border-top: 1px solid #e0e0e0;
  padding: 1.5rem 0;
  text-align: center;
}

footer p {
  font-size: 0.85rem;
  color: #595959;
  margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.75rem;
  }

  .services {
    grid-template-columns: 1fr;
  }
}
