/* --- Yorkshire Properties --- */

:root {
  --color-bg: #FAF9F5;
  --color-surface: #FFFFFF;
  --color-text: #111111;
  --color-text-muted: #555C66;
  --color-accent: #CE272D;
  --color-border: #E5E5E0;
  --color-dark: #30302E;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Open Sans', -apple-system, sans-serif;
  --radius: 6px;
}

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

html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

/* --- Hero --- */
.hero {
  text-align: center;
  margin-bottom: 48px;
}

.logo {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--color-text);
}

/* --- Contact Form --- */
.contact {
  width: 100%;
  max-width: 440px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s ease;
}

.contact input:focus,
.contact textarea:focus {
  border-color: var(--color-text-muted);
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: #AAA;
}

.contact textarea {
  margin-bottom: 12px;
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  padding: 13px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--color-dark);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease;
}

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

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* --- Form Status --- */
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-status.error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* --- Footer --- */
.footer {
  text-align: center;
  margin-top: 48px;
}

.footer span {
  font-size: 12px;
  color: #BBB;
}

/* --- Responsive --- */
@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .page {
    padding: 40px 20px;
  }
}
