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

:root {
  --gold: #C5A059;
  --navy: #1a2842;
  --cream: #FAF6F0;
  --text-dark: #2c3e50;
  --text-light: #666;
  --border-light: #e8e8e8;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Caslon Text', 'Georgia', serif;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Header & Navigation */
header {
  background-color: var(--navy);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Libre Caslon Text', 'Georgia', serif;
  font-size: 1.5rem;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

/* Main Content */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, rgba(26, 40, 66, 0.8) 100%);
  color: var(--cream);
  padding: 6rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
  border-radius: 8px;
}

.hero h1, .hero h2, .hero h3, .hero h4 {
  color: var(--cream);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
section {
  margin-bottom: 4rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card h3 {
  color: var(--navy);
  margin-top: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--gold);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
}

.btn:hover {
  background-color: #b89248;
}

.btn-secondary {
  background-color: var(--navy);
}

.btn-secondary:hover {
  background-color: #0f1a2e;
}

/* Forms */
form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

input, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

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

/* Footer */
footer {
  background-color: var(--navy);
  color: var(--cream);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(197, 160, 89, 0.3);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  main {
    padding: 2rem 1rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer legal + compliance */
.footer-bottom p { margin: 0.25rem 0; }
.footer-legal { font-size: 0.8rem; opacity: 0.75; max-width: 60ch; margin-inline: auto; }
.footer-section a[href^="tel:"], .footer-bottom a { color: inherit; }
.form-error { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 4px; background: #fdecea; color: #8a1c12; font-size: 0.95rem; }
.success-message { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 4px; background: #eef6ec; color: #1e5b2a; font-size: 0.95rem; }

/* Radio / checkbox fixes — the global input{width:100%} rule broke these */
input[type="radio"], input[type="checkbox"] {
  width: auto;
  margin-right: 0.4rem;
  vertical-align: middle;
  accent-color: var(--gold);
}
.form-group label input[type="radio"] + *,
.form-group label input[type="checkbox"] + * { vertical-align: middle; }
.form-group > div label { display: inline-flex; align-items: center; font-weight: 400; margin-bottom: 0.5rem; }
.form-group label:has(input[type="checkbox"]) { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: 400; }
.form-group label:has(input[type="checkbox"]) input { margin-top: 0.35rem; }
.footer-legal { text-align: center; }

/* ===== Brand lockup in header ===== */
.brand { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; }
.brand-mark { background: #fff; border-radius: 4px; padding: 0.35rem 0.5rem; line-height: 0; flex: none; }
.brand-mark img { height: 34px; width: auto; display: block; }
.brand-name { font-family: 'Libre Caslon Text', Georgia, serif; font-size: 1.35rem; color: var(--cream); font-weight: 600; white-space: nowrap; }

/* ===== Photographic hero ===== */
.hero--photo { position: relative; background-size: cover; background-position: center; overflow: hidden; }
.hero--photo::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,26,45,0.58) 0%, rgba(16,26,45,0.78) 100%); }
.hero--photo > * { position: relative; z-index: 1; }
.hero--photo h1, .hero--photo h2, .hero--photo p { text-shadow: 0 1px 4px rgba(0,0,0,0.4); }

/* ===== Content imagery ===== */
.media { margin: 2.5rem 0; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 18px rgba(26,40,66,0.14); }
.media img { display: block; width: 100%; height: auto; }
.media--band img { aspect-ratio: 21 / 8; object-fit: cover; }
.split { display: grid; grid-template-columns: minmax(220px, 0.8fr) 1.5fr; gap: 2.5rem; align-items: center; margin: 2rem auto; max-width: 1000px; }
.split .media { margin: 0; }
.split .split-text p { margin-bottom: 1rem; }

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .brand-name { font-size: 1.05rem; }
  .brand-mark img { height: 26px; }
  .header-container { flex-direction: row; flex-wrap: wrap; }
  .media--band img { aspect-ratio: 16 / 10; }
}

/* ===== Listing page ===== */
.listing-price { font-family: 'Libre Caslon Text', Georgia, serif; font-size: 2.75rem; color: var(--navy); line-height: 1; }
.listing-price small { display: block; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--text-light); margin-top: 0.5rem; letter-spacing: 0.02em; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--border-light);
  border: 1px solid var(--border-light); border-radius: 8px; overflow: hidden; margin: 2rem 0; }
.stat { background: #fff; padding: 1.25rem 1rem; text-align: center; }
.stat b { display: block; font-family: 'Libre Caslon Text', Georgia, serif; font-size: 1.6rem; color: var(--navy); }
.stat span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); }
.badge { display: inline-block; background: var(--gold); color: #fff; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 3px; margin-bottom: 1rem; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem 2.5rem; margin: 1.5rem 0; }
.spec-grid h4 { color: var(--navy); font-size: 1.05rem; margin-bottom: 0.5rem; border-bottom: 2px solid var(--gold); padding-bottom: 0.35rem; }
.spec-grid ul { list-style: none; }
.spec-grid li { padding: 0.3rem 0; border-bottom: 1px solid var(--border-light); font-size: 0.95rem; }
.spec-grid li:last-child { border-bottom: 0; }
.disclosure { font-size: 0.82rem; color: var(--text-light); border-top: 1px solid var(--border-light); padding-top: 1rem; margin-top: 2rem; }
main section > p { margin-bottom: 1rem; }
main section > p:last-child { margin-bottom: 0; }
