:root {
  --tan: #d6ceba;
  --text: #666666;
  --accent: #c3b9a1;
  --white: #ffffff;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  background: var(--white);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */

.site-header {
  background: var(--white);
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
}

.logo img {
  display: block;
  height: 70px;
  width: auto;
}

.site-header nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.site-header nav a {
  font-weight: 600;
  font-size: 15px;
}

.site-header nav a.current,
.site-header nav a:hover {
  color: var(--accent);
}

/* Sections */

.section {
  padding: 70px 0;
}

.section-tan {
  background: var(--tan);
}

.about {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 420px;
}

.about-text p {
  margin: 0 0 1.4em;
}

.about-text em {
  font-style: italic;
}

.about-photo {
  flex: 1 1 320px;
  max-width: 420px;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Contact */

.contact h2 {
  color: var(--text);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 30px;
}

#contact-form {
  max-width: 600px;
}

#contact-form label {
  display: none;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(102, 102, 102, 0.3);
  border-radius: 3px;
  background: var(--white);
}

#contact-form textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#contact-form button {
  font-family: inherit;
  font-size: 20px;
  color: var(--text);
  background: transparent;
  border: 2px solid var(--text);
  border-radius: 3px;
  padding: 10px 26px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

#contact-form button:hover {
  background: var(--text);
  color: var(--white);
}

#contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
}

.form-status.success {
  color: #3a6b3a;
}

.form-status.error {
  color: #a33;
}

/* Footer */

.site-footer {
  background: var(--white);
  padding: 24px 0;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .section {
    padding: 50px 0;
  }
}
