body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: url('laforet.jpg') no-repeat center top;
  background-size: contain;
  background-attachment: fixed;
  background-color: #faf3e9;
  font-family: 'Poppins', sans-serif;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250, 243, 233, 0.9);
  border-bottom: 1px solid #e2d7c9;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  font-weight: bold;
  color: #3b3a2e;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  color: #3b3a2e;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
}

nav a:hover {
  color: #d6c8b4;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}


.menu-toggle span {
  height: 3px;
  width: 100%;
  background: #3b3a2e;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 64px;
    right: 0;
    background: rgba(250, 243, 233, 0.98);
    border-top: 1px solid #e2d7c9;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 12px 0;
    display: none;
  }

  nav.active {
    display: flex;
  }

  nav a {
    width: 100%;
    padding: 10px 20px;
    font-size: 20px;
    border-bottom: 1px solid #e2d7c9;
  }

  .menu-toggle {
    display: flex;
  }
}


main {
  max-width: 900px;
  margin: 120px auto 40px auto;
  padding: 0 16px;
}

h1 {
  font-weight: 600;
  color: #2f2e24;
  margin-top: 0;
}

p {
  color: #4a493c;
  line-height: 1.6;
}

.card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #e2d7c9;
  border-radius: 12px;
  padding: 30px;
}

form {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid>div {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  color: #3b3a2e;
  margin-bottom: 8px;
}

input,
textarea,
select {
  padding: 12px 14px;
  border: 1px solid #d8cdbf;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

input[type="radio"],
input[type="checkbox"] {
  margin-right: 6px;
}

button {
  padding: 12px 16px;
  border: 1px solid #cbbca6;
  background: #efe6d9;
  color: #3b3a2e;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background: #e7dece;
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

.full {
  grid-column: 1 / -1;
}

.social {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
}

.social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border: 1px solid #d8cdbf;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  color: #3b3a2e;
  text-decoration: none;
  transition: background 0.15s ease;
}

.social a:hover {
  background: #efe6d9;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

p.muted {
  font-size: 14px;
  color: #6b675a;
  margin: 4px 0 0 0;
}

#formMessage {
  margin-top: 15px;
  font-weight: 600;
  color: green;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 20px;
  }

  h1 {
    font-size: 22px;
  }

  button {
    width: 100%;
  }
}