:root {
  --ink: #263238;
  --muted: #687277;
  --paper: #fffdf9;
  --cream: #f5eee4;
  --accent: #b56f45;
  --accent-dark: #8f4f2f;
  --line: #e5d9cd;
  --shadow: 0 14px 35px rgba(44, 35, 27, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Top menu: see css/header.css */

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  font-weight: 600;
}

.contact-section {
  padding: 64px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: start;
}

.contact-info h2,
.contact-card h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 600;
}

.contact-info > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
}

.info-list {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: white;
  background: var(--accent);
  border-radius: 50%;
  font-size: 19px;
}

.info-item h3 {
  margin-bottom: 2px;
  font-size: 16px;
}

.info-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-card {
  padding: clamp(24px, 4vw, 38px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  font-size: 13px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(181, 111, 69, 0.25);
  border-color: var(--accent);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.btn {
  width: 100%;
  padding: 13px 20px;
  color: white;
  background: var(--accent-dark);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.btn:hover {
  background: var(--accent);
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  background: var(--ink);
  color: white;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 13px;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-inner a {
  color: #f1d5c1;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .contact-section {
    padding: 40px 0;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 22px 18px;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner a {
    display: inline-block;
    margin-top: 5px;
  }
}

/* =========================================================
   15. SOCIAL ICONS
   ========================================================= */

 .socials {
     display: flex;
     align-items: center;
     gap: 20px;
 }

.socials a {
    width: 84px;
    height: 84px;

    display: grid;
    place-items: center;

    border: 1px solid #dce2de;
    border-radius: 50%;
}

.socials a img {
    width: 48px;
    height: 48px;

    object-fit: contain;
}

/* =========================================================
   16. CONTACT FORM STATES  (js/contact.js + php/contact.php)
   ========================================================= */

/* anti-robot field: off screen for people, still "there" for robots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  position: relative;
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
}

.form-status--ok {
  color: #1d5b3a;
  background: #e8f4ec;
  border: 1px solid #b9dcc6;
}

.form-status--error {
  color: #8a2a1b;
  background: #fbecea;
  border: 1px solid #efc1b9;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b9482d;
  outline: 2px solid rgba(185, 72, 45, 0.2);
}
