/* ==========================================================================
   Farm & Plantation Realty, LLC — shared stylesheet (modernized 2025)
   Heritage palette derived from the original 2004 site (maroon #990000/#800000)
   ========================================================================== */

:root {
  --maroon: #7f1d1d;
  --maroon-dark: #571212;
  --maroon-deep: #3d0d0d;
  --gold: #c99a2e;
  --gold-soft: #e6c37a;
  --green: #2f5233;
  --paper: #faf7f1;
  --card: #fffdf8;
  --ink: #2a2320;
  --ink-soft: #5c534b;
  --line: #e5dccd;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(61, 13, 13, 0.08);
  --shadow-lg: 0 10px 30px rgba(61, 13, 13, 0.14);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --container: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(180deg, #f4eee2 0%, var(--paper) 240px);
}

img { max-width: 100%; height: auto; }

a { color: var(--maroon); }
a:hover { color: var(--maroon-dark); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--maroon-dark);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 8px;
  transition: top 0.15s ease-in-out;
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   Header: top utility bar + brand bar + primary navigation
   -------------------------------------------------------------------------- */

.site-header { box-shadow: var(--shadow); }

.topbar {
  background: var(--maroon-deep);
  color: #f3e6d8;
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
  padding-block: 6px;
}
.topbar p { margin: 0; }
.topbar a { color: var(--gold-soft); text-decoration: none; }
.topbar a:hover { color: #fff; }

.brandbar { background: #fffdf8; border-bottom: 1px solid var(--line); }
.brandbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 14px;
}
.brand-mark {
  width: 106px;
  height: auto;
  border-radius: 8px;
  flex: 0 0 auto;
}
.brand-text { flex: 1 1 auto; text-align: center; }
.brand-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--maroon);
  text-transform: uppercase;
}
.brand-name a { color: inherit; text-decoration: none; }
.brand-tag {
  margin: 2px 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.brand-tag strong { color: var(--green); font-weight: 600; }

.site-nav {
  background: var(--maroon);
  position: relative;
  z-index: 20;
}
.nav-toggle {
  display: none;
  width: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 20px;
  cursor: pointer;
  text-align: left;
}
.nav-toggle::before {
  content: "\2630 ";
  margin-right: 8px;
}
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-menu a {
  display: block;
  padding: 12px 15px;
  color: #fdf3e7;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 3px solid transparent;
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--gold);
  background: rgba(0, 0, 0, 0.14);
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */

.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding-block: 14px 2px;
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumb li + li::before { content: "\203A"; margin-inline: 7px; color: var(--gold); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--maroon); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--maroon); font-weight: 600; }

/* --------------------------------------------------------------------------
   Page hero band (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  background:
    linear-gradient(115deg, rgba(61, 13, 13, 0.92) 0%, rgba(127, 29, 29, 0.85) 55%, rgba(47, 82, 51, 0.82) 100%);
  color: #fff;
  padding-block: 34px 30px;
  margin-bottom: 28px;
}
.page-hero h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  line-height: 1.2;
}
.page-hero p {
  margin: 0;
  max-width: 62ch;
  font-size: 1.02rem;
  color: #f3e6d8;
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--maroon-deep);
  margin-bottom: 34px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-inner {
  position: relative;
  padding-block: 64px 56px;
  max-width: 720px;
}
.hero-kicker {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.hero-lede {
  margin: 0 0 24px;
  font-size: 1.08rem;
  color: #f7ecd9;
  max-width: 60ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--gold); color: #3d2405; border-color: var(--gold); }
.btn--primary:hover { background: #d8ab45; color: #3d2405; }
.btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn--outline:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn--dark { background: var(--maroon); color: #fff; }
.btn--dark:hover { background: var(--maroon-dark); color: #fff; }

/* --------------------------------------------------------------------------
   Sections & cards
   -------------------------------------------------------------------------- */

.section { padding-block: 34px; }
.section--tint {
  background: #fff;
  border-block: 1px solid var(--line);
}
.section--accent {
  background: var(--maroon-deep);
  color: #f3e6d8;
}
.section--accent h2,
.section--accent .section-head h2 { color: #fff; }
.section--accent .section-head p { color: #d8c7b6; }
.section--accent a { color: var(--gold-soft); }
.section--accent a:hover { color: #fff; }
.resource-featured-note { margin: 4px 0 0; font-size: 0.95rem; }

.section-head {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}
.section-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  color: var(--maroon);
}
.section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 12px auto 0;
  background: var(--gold);
  border-radius: 2px;
}
.section-head p { margin: 0; color: var(--ink-soft); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--maroon);
}
.card p { margin: 0 0 12px; font-size: 0.95rem; color: var(--ink-soft); }
.card .more {
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--maroon);
}
.card .more:hover { text-decoration: underline; }
.card--icon h3::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--green) 100%);
}

/* Callout band */
.callout {
  background: linear-gradient(120deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}
.callout h2,
.callout h3 { margin: 0; font-family: var(--font-display); font-size: 1.3rem; }
.callout p { margin: 4px 0 0; color: #f3e6d8; font-size: 0.95rem; }
.callout .btn { flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Listings
   -------------------------------------------------------------------------- */

.listing {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  margin-bottom: 16px;
}
.listing header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 6px;
}
.listing h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--maroon);
}
.listing-price {
  font-weight: 800;
  color: var(--green);
  font-size: 1.02rem;
  white-space: nowrap;
}
.listing p { margin: 0 0 6px; font-size: 0.96rem; }
.listing-note {
  font-size: 0.86rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Resources page — featured resource card
   -------------------------------------------------------------------------- */

.resource-featured {
  border-left: 5px solid var(--gold);
  background: var(--card);
}
.resource-featured h3 {
  margin-top: 0;
}
.resource-featured .more {
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Photo gallery strip
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery figcaption {
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding: 8px 10px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Prose (articles, guides, about)
   -------------------------------------------------------------------------- */

.prose {
  max-width: 76ch;
  margin-inline: auto;
}
.prose h2 {
  font-family: var(--font-display);
  color: var(--maroon);
  font-size: 1.5rem;
  margin: 30px 0 10px;
}
.prose h3 {
  font-family: var(--font-display);
  color: var(--maroon);
  font-size: 1.2rem;
  margin: 22px 0 8px;
}
.prose p, .prose li { color: #3d3630; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 7px; }

.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list { max-width: 76ch; margin-inline: auto; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.faq-list summary {
  cursor: pointer;
  padding: 15px 18px;
  font-weight: 700;
  color: var(--maroon);
  list-style-position: inside;
}
.faq-list summary:hover { color: var(--maroon-dark); }
.faq-list .faq-a {
  padding: 0 18px 16px;
  font-size: 0.96rem;
}

/* --------------------------------------------------------------------------
   Forms (mailing list)
   -------------------------------------------------------------------------- */

.form-grid {
  max-width: 640px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.9rem; }
.form-field input,
.form-field textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #cfc4ae;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--maroon);
  outline: 2px solid var(--gold-soft);
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.contact-card h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--maroon);
}
.contact-card p { margin: 0 0 8px; font-size: 0.96rem; }
.contact-card a[href^="tel"], .contact-card a[href^="mailto"] { font-weight: 600; }

/* --------------------------------------------------------------------------
   CTA / info band used at page bottoms
   -------------------------------------------------------------------------- */

.info-band {
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  justify-content: space-between;
  align-items: center;
}
.info-band p { margin: 0; }
.info-band .btn--primary { border-color: #fff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 44px;
  background: #24100e;
  color: #e8ddd0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 30px;
  padding-block: 38px 26px;
}
.footer-grid h2 {
  margin: 0 0 12px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  margin: 0 0 10px;
}
.footer-grid p { margin: 0 0 10px; font-size: 0.92rem; color: #cfc2b4; }
.footer-grid address {
  font-style: normal;
  font-size: 0.92rem;
  color: #cfc2b4;
  line-height: 1.7;
}
.footer-grid address a { color: #f0e3d3; }
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  display: inline-block;
  padding: 4px 0;
  color: #e0d4c5;
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 16px;
  font-size: 0.8rem;
  color: #a4937f;
}
.footer-legal p { margin: 0 0 6px; }

/* --------------------------------------------------------------------------
   Utilities & responsive
   -------------------------------------------------------------------------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
figure { margin: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  align-items: center;
}
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    flex-direction: column;
    padding-bottom: 8px;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { border-bottom: 0; border-left: 3px solid transparent; padding-block: 10px; }
  .nav-menu a:hover, .nav-menu a[aria-current="page"] {
    border-left-color: var(--gold);
    background: rgba(0, 0, 0, 0.14);
  }
  .brand-mark--right { display: none; }
  .hero-inner { padding-block: 44px 40px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}