/* ═══════════════════════════════════════════════════
   HUDDLESTON LAW LLC — Shared Stylesheet
   Colors: Forest Green #1B4D2E | Gold #c4952a
════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', system-ui, sans-serif; color: #1a1a1a; -webkit-font-smoothing: antialiased; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── Tokens ── */
:root {
  --green-950: #071510;
  --green-900: #0f2d1a;
  --green-800: #1a4228;
  --green-700: #1B4D2E;
  --green-600: #2a6b41;
  --gold-600:  #b07d18;
  --gold-500:  #c4952a;
  --gold-400:  #d4a843;
  --gold-300:  #e8c96a;
  --cream:     #F8F5F0;
  --parchment: #F2EDE4;
  --text-dark: #1a1a1a;
  --text-mid:  #4a4a4a;
  --text-light:#6b7280;
}

/* ── Typography ── */
.font-serif { font-family: 'Playfair Display', Georgia, serif; }

/* ── Announcement bar ── */
.announcement { background: var(--green-700); }

/* ── Navigation ── */
nav.main-nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
}
.nav-link {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #444; transition: color 0.2s;
}
.nav-link:hover { color: var(--green-700); }

/* ── Dropdown ── */
.dropdown-parent { position: relative; }
.dropdown-menu {
  display: none; position: absolute;
  top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  min-width: 225px; background: #fff;
  border-top: 3px solid var(--gold-500);
  box-shadow: 0 16px 40px rgba(0,0,0,0.14); z-index: 200;
}
.dropdown-parent:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 11px 20px;
  font-size: 0.85rem; font-weight: 500; color: #333;
  border-bottom: 1px solid #f0f0f0; transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: #f0f7f3; color: var(--green-700); }

/* ── Buttons ── */
.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: #fff; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 32px; border: none; cursor: pointer;
  transition: all 0.22s; font-family: inherit;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196,149,42,0.35);
}
.btn-green {
  display: inline-block; background: var(--green-700);
  color: #fff; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 32px; border: none; cursor: pointer;
  transition: all 0.22s; font-family: inherit;
}
.btn-green:hover { background: var(--green-900); transform: translateY(-1px); }
.btn-outline-white {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.7); color: #fff;
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 30px; transition: all 0.22s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline-green {
  display: inline-block;
  border: 2px solid var(--green-700); color: var(--green-700);
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 30px; transition: all 0.22s;
}
.btn-outline-green:hover { background: var(--green-700); color: #fff; }

/* ── Gold accents ── */
.gold-bar     { display: inline-block; width: 48px; height: 3px; background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); }
.gold-bar-sm  { display: inline-block; width: 32px; height: 2px; background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); }
.section-tag  { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-900) 35%, var(--green-800) 70%, var(--green-700) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 60%, rgba(196,149,42,0.10) 0%, transparent 55%),
              radial-gradient(ellipse at 85% 20%, rgba(196,149,42,0.06) 0%, transparent 40%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-900) 50%, var(--green-800) 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 10% 80%, rgba(196,149,42,0.08) 0%, transparent 50%);
}

/* ── Practice cards ── */
.practice-card {
  background: #fff; padding: 36px 32px;
  border-bottom: 3px solid transparent;
  transition: all 0.28s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.practice-card:hover {
  border-bottom-color: var(--gold-500);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
}
.practice-icon {
  width: 52px; height: 52px;
  background: rgba(27,77,46,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: background 0.2s;
}
.practice-card:hover .practice-icon { background: rgba(27,77,46,0.14); }

/* ── Attorney frame ── */
.attorney-frame { position: relative; }
.attorney-frame::before {
  content: ''; position: absolute;
  bottom: -20px; right: -20px;
  width: 100%; height: 100%;
  border: 2px solid rgba(196,149,42,0.3); z-index: 0;
}
.attorney-img-wrap { position: relative; z-index: 1; overflow: hidden; }
.corner-accent { position: absolute; width: 28px; height: 28px; }
.corner-tl { top: 12px; left: 12px; border-top: 2px solid var(--gold-500); border-left: 2px solid var(--gold-500); }
.corner-tr { top: 12px; right: 12px; border-top: 2px solid var(--gold-500); border-right: 2px solid var(--gold-500); }
.corner-bl { bottom: 12px; left: 12px; border-bottom: 2px solid var(--gold-500); border-left: 2px solid var(--gold-500); }
.corner-br { bottom: 12px; right: 12px; border-bottom: 2px solid var(--gold-500); border-right: 2px solid var(--gold-500); }

/* ── Why section ── */
.why-bg { background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%); }
.why-card {
  border: 1px solid rgba(196,149,42,0.2);
  background: rgba(255,255,255,0.04);
  padding: 32px 28px; transition: background 0.2s;
}
.why-card:hover { background: rgba(255,255,255,0.08); }
.why-icon-box {
  width: 56px; height: 56px;
  background: rgba(196,149,42,0.15);
  border: 1px solid rgba(196,149,42,0.3);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}

/* ── Testimonials ── */
.testi-card {
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 32px; transition: box-shadow 0.25s;
}
.testi-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.12); }
.stars { color: var(--gold-500); font-size: 1rem; letter-spacing: 2px; }
.avatar-circle {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}

/* ── Contact ── */
.contact-bg { background: linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 100%); }
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(196,149,42,0.18);
  border: 1px solid rgba(196,149,42,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.form-input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  font-size: 0.9rem; font-family: inherit;
  outline: none; transition: border-color 0.2s; background: #fff;
}
.form-input:focus { border-color: var(--green-700); }
.form-label {
  display: block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #555; margin-bottom: 6px;
}

/* ── CTA strip ── */
.cta-strip { background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); }

/* ── FAQ accordion ── */
.faq-item { border-bottom: 1px solid #eee; }
.faq-btn {
  width: 100%; text-align: left; padding: 20px 0;
  font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600;
  color: var(--green-700); background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-icon { flex-shrink: 0; transition: transform 0.3s; color: var(--gold-500); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-body { display: none; padding-bottom: 18px; color: #555; font-size: 0.95rem; line-height: 1.75; }
.faq-item.open .faq-body { display: block; }

/* ── Process steps ── */
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green-700); color: #fff;
  font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-connector { width: 2px; background: rgba(27,77,46,0.15); flex-grow: 1; min-height: 32px; margin-left: 25px; }

/* ── Footer ── */
.footer-bg { background: var(--green-950); }
.footer-link { color: #6b7280; font-size: 0.875rem; transition: color 0.2s; }
.footer-link:hover { color: #fff; }

/* ── Credential badge ── */
.credential-badge {
  background: #fff; box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 14px 20px; display: inline-block;
}

/* ── Fade animation ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Mobile nav ── */
#mob-menu { display: none; }
#mob-menu.open { display: block; }

/* ── Utility ── */
.section-cream { background: var(--cream); }
.divider-gold { width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); margin: 0 auto; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .practice-card { padding: 28px 24px; }
  .why-card { padding: 24px 20px; }
}
