:root {
  --cream: #f6f1e9;
  --ink: #2b1d14;
  --rust: #a3402c;
  --line: #d8cfbe;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  border-bottom: 2px solid var(--line);
}

nav ul {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

nav a:hover { color: var(--rust); }

#menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  padding: 0.4rem 0.7rem;
  font-size: 1.1rem;
  cursor: pointer;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

h1 { font-size: 2.2rem; margin-top: 0; }
h2 { color: var(--rust); }

footer {
  text-align: center;
  padding: 1.5rem;
  border-top: 2px solid var(--line);
  font-size: 0.9rem;
  color: #6b5c4c;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-member {
  background: white;
  border: 1px solid var(--line);
  padding: 1rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-thumb {
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  width: 100%;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.lightbox.active { display: flex; }

.lightbox img { max-width: 80%; max-height: 80%; }

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: white;
  border: 1px solid var(--line);
  padding: 1.2rem;
}

.service-card img { width: 40px; height: 40px; }

form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 480px;
}

label { font-weight: bold; }

input, textarea {
  padding: 0.6rem;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 1rem;
}

button.submit {
  background: var(--rust);
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  width: fit-content;
}

#form-success {
  display: none;
  background: #e4f2e4;
  border: 1px solid #4a8a4a;
  padding: 0.8rem;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  #menu-toggle { display: inline-block; }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    right: 1rem;
    background: var(--cream);
    border: 1px solid var(--line);
    padding: 1rem;
  }
  nav ul.open { display: flex; }

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