/* ─────────────────────────────────────────────────────────
   Augusta Premier Realty — Site Styles
   Palette matches open-house.html for visual consistency
───────────────────────────────────────────────────────── */

:root {
  --cream:        #FAF7F2;
  --cream-dark:   #EDE8DF;
  --gold:         #8B6831;
  --gold-mid:     #B8913F;
  --gold-light:   #C9A55A;
  --gold-pale:    #F7EED8;
  --gold-border:  #DBBF7A;
  --charcoal:     #1B1916;
  --charcoal-mid: #3A3630;
  --warm-gray:    #7B7367;
  --warm-gray-lt: #A39D94;
  --border:       #DDD5C5;
  --border-lt:    #EDE7DC;
  --white:        #FFFFFF;
  --success-bg:   #EBF4E6;
  --success-bdr:  #A9CFA0;
  --success-txt:  #2A5C1F;
  --error-bg:     #FAEEE9;
  --error-bdr:    #E8B0A4;
  --error-txt:    #7A2218;
  --nav-h:        68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.7;
  min-height: 100vh;
}

img { display:block; max-width:100%; }
a   { color: var(--gold); text-decoration: none; }
a:hover { color: var(--charcoal); }

address { font-style: normal; }

/* ── Typography ── */
h1,h2,h3 { line-height: 1.25; }

.eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.625rem;
}

.section-desc {
  font-size: 15px;
  color: var(--warm-gray);
  font-weight: 300;
  max-width: 560px;
}

.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

/* ── Layout ── */
.section  { padding: 5rem 1.5rem; }
.bg-cream { background: var(--cream); }

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

.container.narrow { max-width: 720px; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--charcoal-mid); color: var(--white); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.99); }
.btn-primary.btn-full { width: 100%; text-align: center; }

.btn-ghost {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: transparent;
  border: 1.5px solid var(--charcoal);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-ghost:hover { background: var(--charcoal); color: var(--white); }

.btn-ghost-sm {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  margin-top: 0.625rem;
  transition: all 0.2s;
}
.btn-ghost-sm:hover { background: var(--gold-pale); color: var(--gold); }

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--charcoal);
}

.logo-mark {
  font-size: 14px;
  color: var(--gold-mid);
  line-height: 1;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.logo-sub {
  font-size: 9.5px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.875rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--charcoal); background: var(--cream); }

.nav-cta {
  margin-left: 0.75rem;
  padding: 0.5rem 1.125rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  border-radius: 4px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--charcoal-mid); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── Flash Bar ── */
.flash-bar { padding: 0 1.5rem; }
.flash {
  max-width: 1080px;
  margin: 0.75rem auto;
  padding: 0.875rem 1.125rem;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}
.flash-success { background: var(--success-bg); color: var(--success-txt); border: 1px solid var(--success-bdr); }
.flash-error   { background: var(--error-bg);   color: var(--error-txt);   border: 1px solid var(--error-bdr); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: calc(92vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(196,165,90,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(139,104,49,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
  max-width: 680px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.18;
  margin-bottom: 1.25rem;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 16px;
  color: var(--warm-gray);
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  color: var(--gold-light);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── Values Grid ── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  padding: 1.75rem 1.5rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s;
}
.value-card:hover { border-color: var(--gold-border); transform: translateY(-3px); }

.value-icon { font-size: 2rem; margin-bottom: 0.875rem; line-height: 1; }

.value-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.value-desc { font-size: 14px; color: var(--warm-gray); font-weight: 300; line-height: 1.7; }

/* ── Stats Strip ── */
.stats-strip {
  background: var(--charcoal);
  padding: 3rem 1.5rem;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
}

.stat {
  text-align: center;
  padding: 1rem 3rem;
  flex: 1;
  min-width: 160px;
}

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 0.375rem;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ── CTA Card ── */
.cta-section { background: var(--cream); }

.cta-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.625rem;
}
.cta-desc { font-size: 15px; color: var(--warm-gray); font-weight: 300; margin-bottom: 1.5rem; max-width: 480px; }

.cta-ornament {
  font-size: 7rem;
  color: rgba(184,145,63,0.08);
  line-height: 1;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
}

/* ── Page Hero (sub-pages) ── */
.page-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.page-hero-inner { max-width: 620px; margin: 0 auto; }

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.875rem;
}

.page-sub {
  font-size: 15px;
  color: var(--warm-gray);
  font-weight: 300;
  line-height: 1.7;
}

/* ── Prose Block ── */
.prose-block { margin-bottom: 2.5rem; }
.prose-block p {
  font-size: 15.5px;
  color: var(--charcoal-mid);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 1.125rem;
}

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  transition: border-color 0.2s;
}
.team-card:hover { border-color: var(--gold-border); }

.team-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid var(--gold-border);
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 0.875rem;
}

.team-bio { font-size: 13.5px; color: var(--warm-gray); font-weight: 300; line-height: 1.75; margin-bottom: 1rem; }

.team-contact { font-size: 13px; color: var(--warm-gray-lt); display: flex; gap: 0.5rem; }
.team-contact a { color: var(--gold); }
.team-contact a:hover { color: var(--charcoal); }

/* ── Values List ── */
.values-list { display: flex; flex-direction: column; gap: 0; }

.values-item {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-lt);
}
.values-item:first-child { border-top: 1px solid var(--border-lt); }

.values-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold-border);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.values-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.375rem;
}
.values-item p { font-size: 14px; color: var(--warm-gray); font-weight: 300; line-height: 1.7; }

/* ── Contact Layout ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

.contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1.625rem;
}

/* ── Contact Form ── */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  margin-bottom: 0.425rem;
}
.req { color: var(--gold-mid); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold-mid);
  box-shadow: 0 0 0 3px rgba(180,145,63,0.12);
}
input::placeholder, textarea::placeholder { color: #C0B8AC; font-weight: 300; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A39D94' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 2rem; }
textarea { resize: vertical; line-height: 1.6; }

.form-privacy { font-size: 12px; color: var(--warm-gray-lt); text-align: center; margin-top: 0.875rem; font-weight: 300; }

/* ── Contact Info ── */
.info-card {
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--border-lt);
}
.info-card:first-child { padding-top: 0; }
.info-card:last-child  { border-bottom: none; }

.info-heading {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: 0.625rem;
}

.info-card address,
.info-card p { font-size: 14px; color: var(--charcoal-mid); line-height: 1.75; }

.hours-table { width: 100%; font-size: 13.5px; color: var(--charcoal-mid); }
.hours-table td { padding: 3px 0; }
.hours-table td:last-child { text-align: right; color: var(--warm-gray); }

.open-house-card { background: var(--gold-pale); border: 1px solid var(--gold-border); border-radius: 7px; padding: 1.125rem 1.25rem; margin-top: 1rem; }
.open-house-card .info-heading { margin-bottom: 0.375rem; }
.open-house-card p { font-size: 13px; color: var(--warm-gray); font-weight: 300; }

/* ── Footer ── */
.site-footer {
  background: var(--charcoal);
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-inner { max-width: 1080px; margin: 0 auto; }

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}
.footer-brand .logo-mark { color: var(--gold-mid); font-size: 12px; }

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--white);
}

.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.45); font-weight: 300; margin-bottom: 1.25rem; }

.footer-links { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.footer-links a { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--gold-light); }
.footer-dot { color: rgba(255,255,255,0.25); }

.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 0.75rem 1rem 1rem; gap: 0.25rem; }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: 0; }
  .nav-toggle { display: flex; }

  .hero-inner { padding: 3.5rem 1.25rem 4rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .stats-grid { gap: 0; }
  .stat { min-width: 50%; padding: 1.25rem 1rem; }
  .stat-divider:nth-child(4) { display: none; }

  .cta-card { flex-direction: column; padding: 2rem; }
  .cta-ornament { display: none; }

  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row-2 { grid-template-columns: 1fr; }

  .values-item { gap: 1.125rem; }
  .values-num { font-size: 1.5rem; min-width: 36px; }

  .section { padding: 3.5rem 1.25rem; }
}

@media (max-width: 480px) {
  .stat { min-width: 100%; }
  .stat-divider { width: 60%; height: 1px; margin: 0 auto; }
  .team-grid { grid-template-columns: 1fr; }
}
