/* ============================================
   Best's Estate Group — Stylesheet
   Colors pulled from logo:
   Teal: #1E8C73 | Gold: #D4A017 | Orange: #D4631A | Rust: #B33320
============================================ */

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

:root {
  --teal:    #1E8C73;
  --teal-lt: #27A886;
  --teal-bg: #E8F5F1;
  --gold:    #D4A017;
  --gold-bg: #FDF6E3;
  --orange:  #D4631A;
  --orange-bg: #FDF0E8;
  --rust:    #B33320;
  --rust-bg: #FAEAE8;
  --dark:    #2A2A2A;
  --gray:    #6B6B6B;
  --light:   #F8F7F5;
  --white:   #FFFFFF;
  --border:  #E5E0DA;
  --shadow:  0 2px 16px rgba(0,0,0,0.07);
  --radius:  8px;
  --font-body: 'Georgia', serif;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* ── UTILITIES ───────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-alt { background: var(--light); }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--teal);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-lt); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #b5820f; transform: translateY(-1px); }

/* ── NAVBAR ──────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .name {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal);
}

.nav-logo-text .tagline {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover { color: var(--teal); background: var(--light); }
.nav-links .nav-cta a { background: var(--teal); color: var(--white); }
.nav-links .nav-cta a:hover { background: var(--teal-lt); }

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

/* ── HERO ────────────────────────────────── */
.hero {
  background: var(--white);
  color: var(--dark);
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Arc stripe across the top of the hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(to right, var(--teal), var(--gold), var(--orange), var(--rust));
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -120px; right: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: var(--teal-bg);
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--teal-bg);
  color: var(--teal);
  border: 1px solid rgba(30,140,115,0.25);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero h1 span { color: var(--teal); }

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-item {
  text-align: center;
  background: var(--white);
  border-radius: 10px;
  padding: 18px 12px;
  border: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  display: block;
}
.stat-label { font-size: 0.78rem; color: var(--gray); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.06em; }

.hero-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

.hero-trust { font-size: 0.85rem; color: var(--gray); text-align: center; }

/* ── AUCTIONS ────────────────────────────── */
.auctions-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 40px;
}

.tab-btn {
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active { color: var(--teal); border-bottom-color: var(--teal); }
.tab-btn:hover:not(.active) { color: var(--dark); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.empty-state {
  text-align: center;
  padding: 64px 24px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: var(--light);
}

.empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--teal-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(30,140,115,0.2);
}

.empty-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--teal); stroke-width: 2; }

.empty-state h3 { font-family: var(--font-body); font-size: 1.4rem; color: var(--teal); margin-bottom: 10px; }
.empty-state p { color: var(--gray); max-width: 380px; margin: 0 auto 24px; }

.notify-form {
  display: flex;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.notify-form input {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}

.notify-form input:focus { border-color: var(--teal); }

/* ── HOW IT WORKS ────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.how-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
}

.how-card.buyers { border-top-color: var(--gold); }

.how-card h3 {
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.how-card.buyers h3 { color: var(--gold); }

.how-card h3 .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--teal-bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.how-card.buyers h3 .icon { background: var(--gold-bg); }

.how-card h3 .icon svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 2; }
.how-card.buyers h3 .icon svg { stroke: var(--gold); }

.steps { list-style: none; display: flex; flex-direction: column; gap: 18px; }

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--light);
  border: 2px solid var(--teal);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.how-card.buyers .step-num { border-color: var(--gold); color: var(--gold); }

.step-body h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.step-body p  { font-size: 0.88rem; color: var(--gray); line-height: 1.5; }

/* ── ABOUT ───────────────────────────────── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal) 0%, #0f4a3c 100%);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.about-image .placeholder-text {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.value-chip {
  background: var(--light);
  border-radius: var(--radius);
  padding: 16px;
  border-left: 3px solid var(--teal);
}

.value-chip h4 { font-size: 0.88rem; font-weight: 700; color: var(--teal); margin-bottom: 4px; }
.value-chip p  { font-size: 0.82rem; color: var(--gray); line-height: 1.4; }

/* ── CONTACT ─────────────────────────────── */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--teal);
  margin-bottom: 16px;
}

.contact-info p { color: var(--gray); line-height: 1.7; margin-bottom: 32px; }

.contact-methods { display: flex; flex-direction: column; gap: 20px; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
}

.method-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--teal-bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.method-icon svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 2; }

.contact-method:nth-child(1) .method-icon { background: var(--teal-bg); }
.contact-method:nth-child(1) .method-icon svg { stroke: var(--teal); }
.contact-method:nth-child(2) .method-icon { background: var(--gold-bg); }
.contact-method:nth-child(2) .method-icon svg { stroke: var(--gold); }
.contact-method:nth-child(3) .method-icon { background: var(--orange-bg); }
.contact-method:nth-child(3) .method-icon svg { stroke: var(--orange); }

.method-body .label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); }
.method-body a, .method-body span { display: block; font-size: 1rem; font-weight: 600; color: var(--teal); text-decoration: none; }
.method-body a:hover { color: var(--teal-lt); }

.contact-form {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 24px;
}

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

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--dark); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,107,90,0.1);
}

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

.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }

.form-submit { width: 100%; padding: 14px; font-size: 1rem; }

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--light);
  color: var(--gray);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

/* Arc stripe across the top of footer */
footer::before {
  content: '';
  display: block;
  height: 5px;
  background: linear-gradient(to right, var(--teal), var(--gold), var(--orange), var(--rust));
  margin-bottom: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .name {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--gray); text-decoration: none; font-size: 0.9rem; transition: color 0.15s; }
.footer-col ul a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--gray);
}

.footer-arc {
  display: flex;
  gap: 4px;
}

.arc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

/* ── MOBILE ──────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 24px 24px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }

  .how-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-image { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .auctions-tabs { overflow-x: auto; }
}
