/* ============================================
   CASH 4 GOLD TRADING POST - Main Stylesheet
   Modern, Fast, Mobile-First Design
   ============================================ */

/* CSS Variables - Brand Colors (matched to logo) */
:root {
  /* Primary: Green from logo */
  --primary: #2D8B47;
  --primary-light: #3EA55C;
  --primary-dark: #1E6B32;
  /* Accent: Yellow/Gold "4" from logo */
  --accent: #F5C518;
  --accent-light: #FFD93D;
  --accent-dark: #D4A817;
  /* Legacy gold vars for compatibility */
  --gold: #F5C518;
  --gold-light: #FFD93D;
  --gold-dark: #D4A817;
  --gold-text: #7A6310;
  /* Neutrals */
  --black: #1a1a1a;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --green: #2D8B47;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

html {
  overflow-x: clip;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
  width: 100%;
}

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

a {
  color: var(--gold-text);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
  color: var(--black);
}

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

.btn-secondary:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-call {
  background: var(--green);
  color: var(--white);
}

.btn-call:hover {
  background: #218838;
  color: var(--white);
}

.btn-spanish {
  background: var(--accent);
  color: var(--black);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--accent-dark);
  white-space: nowrap;
}

.btn-spanish:hover {
  background: var(--accent-light);
  color: var(--black);
  transform: translateY(-1px);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: relative;
  z-index: 1000;
  background: var(--primary);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

@media (min-width: 1024px) {
  .header {
    position: sticky;
    top: 0;
  }
}

.header .container {
  max-width: 1440px;
  padding: 0 1rem;
}

@media (min-width: 1200px) {
  .header .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1400px) {
  .header .container {
    padding: 0 2rem;
  }
}

.header .logo img {
  width: auto;
  transition: var(--transition);
  filter: brightness(0) invert(1) sepia(1) saturate(10) hue-rotate(3deg) brightness(1) drop-shadow(2px 2px 6px rgba(0,0,0,0.4));
}

.header .nav-links a {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.header .nav-links a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(245, 197, 24, 0.5);
}

.header .nav-links a::after {
  background: var(--accent);
  height: 3px;
}

.header .nav-links a.nav-highlight {
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50px;
  padding: 0.4rem 1.1rem;
  color: var(--white);
  font-weight: 700;
  transition: var(--transition);
}

.header .nav-links a.nav-highlight::after {
  display: none;
}

.header .nav-links a.nav-highlight:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--white);
  color: var(--white);
  text-shadow: none;
}

.header .nav-cta.btn-call {
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
}

.header .nav-cta.btn-call:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--white);
  color: var(--white);
}

.header .mobile-menu-btn span {
  background: var(--white);
}

.header.scrolled {
  background: var(--primary);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.6rem 0;
  gap: 0.5rem 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 100%;
  justify-content: center;
}

.logo img {
  height: 80px;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
}

.logo-text span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 0.25rem 1rem;
  flex: 0 0 100%;
}

.nav-links a {
  color: var(--gray-800);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  gap: 0.4rem;
}

.nav-cta.btn-call {
  order: 3;
}

.nav-cta.btn-spanish {
  order: 4;
  flex: 0 0 auto;
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X animation when menu is open */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  z-index: 1001;
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a {
  display: block;
  padding: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-menu .btn {
  margin-top: 1rem;
  background: var(--accent);
  color: var(--black);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--black) 0%, #2d2d2d 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23D4AF37" opacity="0.1"/></svg>');
  background-size: 50px 50px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-200);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-200);
}

.hero-image {
  display: none;
}

/* ============================================
   TRUST FEATURE ROW
   ============================================ */
.trust-feature-row {
  background: linear-gradient(135deg, #1a2e1a 0%, #0f1f0f 50%, #1a1a1a 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.trust-feature-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(45,139,71,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(245,197,24,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.trust-feature-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  position: relative;
}

.trust-feature-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.25rem;
  position: relative;
  transition: background 0.25s ease;
}

.trust-feature-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(245,197,24,0.35), transparent);
}

.trust-feature-card:hover {
  background: rgba(245,197,24,0.06);
}

.trust-feature-icon-wrap {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245,197,24,0.15) 0%, rgba(245,197,24,0.05) 100%);
  border: 2px solid rgba(245,197,24,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 0 18px rgba(245,197,24,0.12);
}

.trust-feature-card:hover .trust-feature-icon-wrap {
  border-color: rgba(245,197,24,0.85);
  background: linear-gradient(135deg, rgba(245,197,24,0.22) 0%, rgba(245,197,24,0.08) 100%);
  box-shadow: 0 0 28px rgba(245,197,24,0.28);
}

.trust-feature-icon-wrap svg {
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  flex-shrink: 0;
  stroke: var(--gold);
}

.trust-feature-label {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.trust-feature-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .trust-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .trust-feature-card:not(:last-child)::after {
    display: none;
  }
  .trust-feature-card {
    border-bottom: 1px solid rgba(245,197,24,0.12);
    padding: 1.75rem 1rem;
  }
  .trust-feature-card:nth-child(odd) {
    border-right: 1px solid rgba(245,197,24,0.12);
  }
  .trust-feature-card:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .trust-feature-icon-wrap {
    width: 60px;
    height: 60px;
  }
  .trust-feature-icon-wrap svg {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
  }
}

@media (max-width: 480px) {
  .trust-feature-grid {
    grid-template-columns: 1fr;
  }
  .trust-feature-card:nth-child(odd) {
    border-right: none;
  }
  .trust-feature-card {
    border-bottom: 1px solid rgba(245,197,24,0.12);
    padding: 1.5rem 1rem;
  }
  .trust-feature-card:last-child {
    border-bottom: none;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: 5rem 0;
  background: var(--gray-100);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.125rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--black);
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

/* ============================================
   WHAT WE BUY SECTION
   ============================================ */
.what-we-buy {
  padding: 5rem 0;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.item-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--gray-100);
  border-radius: 10px;
  font-weight: 500;
  transition: var(--transition);
}

.item-tag:hover {
  background: var(--gold-light);
  transform: scale(1.02);
}

a.item-tag {
  text-decoration: none;
  color: var(--gray-800);
  cursor: pointer;
}

a.item-tag:hover {
  color: var(--black);
}

.item-tag svg {
  width: 24px;
  height: 24px;
  color: var(--gold-text);
  flex-shrink: 0;
}

/* ============================================
   LOCATIONS SECTION
   ============================================ */
.locations {
  padding: 5rem 0;
  background: var(--black);
}

.locations .section-header h2,
.locations .section-header p {
  color: var(--white);
}

.locations .section-header p {
  opacity: 0.8;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.location-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.location-card:hover {
  transform: translateY(-5px);
}

.location-card.coming-soon {
  opacity: 0.7;
}

.location-card.coming-soon::after {
  content: 'Coming Soon';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--black);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.location-info {
  padding: 1.5rem;
}

.location-info h3 {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-info h3 svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.location-address {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.location-phone {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-text);
  margin-bottom: 1rem;
  display: block;
}

.location-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.location-buttons .btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.location-details-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.location-details-link:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us {
  padding: 3rem 0;
  background: var(--gray-100);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.why-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.why-icon {
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg {
  width: 28px;
  height: 28px;
  color: var(--black);
}

.why-content h3 {
  margin-bottom: 0.5rem;
}

.why-content p {
  color: var(--gray-600);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: 1.5rem 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  text-align: center;
}

.cta h2 {
  color: var(--black);
  margin-bottom: 0.75rem;
}

.cta p {
  color: var(--black);
  opacity: 0.8;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-secondary {
  font-size: 1.125rem;
  padding: 1.25rem 2.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-brand {
  text-align: center;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  max-width: 220px;
  margin: 0 auto 1rem auto;
  display: block;
}

.footer-brand p {
  color: var(--gray-200);
  opacity: 0.8;
  max-width: 420px;
  margin: 0 auto;
}

.footer-locations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.footer-links {
  display: inline-block;
  text-align: center;
}

.footer-contact p {
  justify-content: center;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}


.footer h4 {
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-200);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  opacity: 1;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-200);
  margin-bottom: 0.75rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-200);
  opacity: 0.6;
  font-size: 0.875rem;
}

.social-heading {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.social-links a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.social-links svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

/* Brand colors */
.social-facebook  { background: #1877F2; }
.social-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-tiktok    { background: #010101; border: 1.5px solid #333; }
.social-youtube   { background: #FF0000; }

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .items-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-locations {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   RESPONSIVE - DESKTOP
   ============================================ */
@media (min-width: 1024px) {
  .nav {
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0.4rem 0;
    gap: 0.5rem;
    align-items: center;
  }

  .logo {
    flex: 0 0 auto;
  }

  .header .logo img {
    height: 55px;
  }

  .nav-links {
    gap: 0.5rem;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .header .nav-links a {
    font-size: 0.78rem;
    letter-spacing: 0.2px;
  }

  .header .nav-links a.nav-highlight {
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
  }

  .nav-cta {
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    gap: 0.3rem;
  }

  .nav-cta.btn-call {
    order: 3;
  }

  .nav-cta.btn-spanish {
    order: 4;
    flex: 0 0 auto;
  }

  .nav-cta svg {
    width: 16px;
    height: 16px;
  }
}

/* Medium desktop - scale up */
@media (min-width: 1200px) {
  .nav {
    gap: 0.75rem;
  }

  .header .logo img {
    height: 90px;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .header .nav-links a {
    font-size: 0.9rem;
  }

  .header .nav-links a.nav-highlight {
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
  }

  .nav-cta {
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
    gap: 0.4rem;
  }

  .nav-cta svg {
    width: 18px;
    height: 18px;
  }
}

/* Large desktop - full size */
@media (min-width: 1400px) {
  .nav {
    gap: 1rem;
  }

  .header .logo img {
    height: 110px;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .header .nav-links a {
    font-size: 1.05rem;
  }

  .header .nav-links a.nav-highlight {
    padding: 0.55rem 1.3rem;
    font-size: 1.05rem;
  }

  .nav-cta {
    padding: 0.55rem 1.3rem;
    font-size: 1rem;
  }

  .nav-cta svg {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 10rem 0 6rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .items-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .footer-locations {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto 1rem auto;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ============================================
   LOCATION PAGE SPECIFIC
   ============================================ */
.location-hero {
  padding: 10rem 0 4rem;
  background: linear-gradient(135deg, var(--black) 0%, #2d2d2d 100%);
  text-align: center;
}

.location-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

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

.location-hero p {
  color: var(--gray-200);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.location-details {
  padding: 4rem 0;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.location-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 300px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-sidebar {
  background: var(--gray-100);
  padding: 2rem;
  border-radius: 16px;
}

.location-sidebar h3 {
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.info-item svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.info-item p, .info-item a {
  color: var(--gray-600);
}

.nearby-areas {
  padding: 4rem 0;
  background: var(--gray-100);
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.area-tag {
  padding: 0.5rem 1rem;
  background: var(--white);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--gray-800);
  box-shadow: var(--shadow);
}

@media (min-width: 1024px) {
  .location-content {
    grid-template-columns: 1.5fr 1fr;
  }
  
  .location-map {
    height: 400px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Intersection Observer Animation Classes */
/* Content is visible by default - animation is progressive enhancement */
[data-animate] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only hide elements when JS has loaded and initialized */
[data-animate].js-ready {
  opacity: 0;
  transform: translateY(30px);
}

[data-animate].js-ready.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================
   LOGO STYLING - Clean & Centered
   ============================================ */

/* Header Logo - Centered on mobile, left on desktop */
.header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* height controlled by responsive breakpoints above */

@media (max-width: 768px) {
  /* Logo - big and prominent */
  .header .logo img {
    height: 80px;
  }

  .logo {
    margin-bottom: 0.25rem;
  }

  /* Nav container - stacked, spacious */
  .nav {
    gap: 0.3rem;
    padding: 0.75rem 0;
  }

  /* Nav links - each on its own line, large text */
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0.2rem 0;
  }

  .header .nav-links a {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.4rem 1rem;
    display: block;
    text-align: center;
  }

  .header .nav-links a.nav-highlight {
    font-size: 1.1rem;
    padding: 0.5rem 2rem;
    margin-bottom: 0.15rem;
  }

  /* Call Now button - full width, prominent */
  .nav-cta.btn-call {
    font-size: 1.05rem;
    padding: 0.6rem 2rem;
    margin-top: 0.15rem;
  }

  /* Spanish button - own line, spaced from above */
  .nav-cta.btn-spanish {
    font-size: 1rem;
    padding: 0.55rem 2rem;
    margin-top: 0.1rem;
  }
}

/* Hero Logo - Centered and prominent */
.hero-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.hero-logo img {
  max-width: 380px;
  width: 90%;
  height: auto;
  margin: 0 auto;
  display: block;
}

@media (max-width: 768px) {
  .hero-logo img {
    max-width: 280px;
  }
}

/* Section Headers with Logo - Centered */
.section-logo {
  text-align: center;
  margin-bottom: 1rem;
}

.section-logo img {
  max-width: 160px;
  height: auto;
  opacity: 0.12;
  margin: 0 auto;
  display: block;
}

/* CTA Logo - Centered */
.cta .cta-logo,
.cta > .container > img:first-child {
  display: block;
  max-width: 180px;
  margin: 0 auto 1rem auto;
}


/* Page Headers - Centered logo */
.location-hero,
.page-hero {
  text-align: center;
}

/* Primary button color update to match brand */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(45, 139, 71, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(45, 139, 71, 0.4);
}

/* Accent elements use yellow */
.hero-badge,
.stat-number,
h1 span,
h2 span {
  color: var(--accent);
}

/* Trust feature row responsive override handled in component block above */

/* ============================================
   TOP LOCATION BAR
   ============================================ */

.top-bar {
  background: var(--white);
  border-bottom: 2px solid var(--gold);
  padding: 1rem 0;
  font-size: 1.05rem;
  overflow: clip;
  max-width: 100%;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-bar-locations {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.top-bar-location {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.top-bar-location strong {
  color: var(--black);
  font-size: 1.1rem;
  font-weight: 700;
}

.top-bar-location a {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.top-bar-location a:hover {
  color: var(--accent);
}

/* Header stays at top, top-bar scrolls naturally */
.header {
  top: 0;
}

/* Mobile: Stack the locations */
@media (max-width: 992px) {
  .top-bar {
    padding: 0.5rem 0;
  }
  
  .top-bar .container {
    flex-direction: column;
    gap: 0.5rem;
    max-width: 100%;
  }

  .top-bar-title {
    white-space: normal;
    text-align: center;
  }
  
  .top-bar-locations {
    gap: 0.75rem 1.25rem;
    max-width: 100%;
  }
  
  .top-bar-location {
    font-size: 0.8rem;
    gap: 0.4rem;
    white-space: normal;
  }
}

@media (max-width: 576px) {
  .top-bar-locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  .top-bar-location {
    flex-direction: column;
    align-items: center;
    text-align: center;
    white-space: normal;
    gap: 0.2rem;
    padding: 0.3rem;
  }

  .what-we-buy-thumbs {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .service-icon {
    width: 56px;
    height: 56px;
  }

  .service-icon svg {
    width: 26px;
    height: 26px;
  }
}

/* ============================================
   CONTACT FORM SECTION
   ============================================ */

.contact-section {
  padding: 2rem 0 0;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-logo {
  max-width: 180px;
  margin: 0 auto 1.5rem;
  display: block;
}

.contact-header h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-header p {
  color: var(--gray-600);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--black);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 139, 71, 0.1);
}

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

.form-group select {
  cursor: pointer;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .contact-wrapper {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Mobile Menu Close Button */
.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: var(--transition);
}

.mobile-menu-close:hover {
  color: var(--accent);
  transform: scale(1.1);
}

/* ============================================
   FOCUS STYLES (Accessibility)
   ============================================ */
*:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(245, 197, 24, 0.25);
}

.header .nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.mobile-menu a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 139, 71, 0.2);
}

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

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

/* ============================================
   CTA BANNER WITH PHOTO
   ============================================ */
.cta-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--black) 0%, #2d2d2d 100%);
  overflow: hidden;
}

.cta-banner .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.cta-banner-text {
  text-align: center;
}

.cta-banner-text h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner-text h2 span {
  color: var(--gold);
}

.cta-banner-text p {
  color: var(--gray-200);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-image {
  text-align: center;
}

.cta-banner-image img {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 16px;
}

@media (min-width: 768px) {
  .cta-banner .container {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .cta-banner-text {
    text-align: left;
  }

  .cta-banner-text p {
    margin-left: 0;
  }

  .cta-banner-image img {
    max-width: 380px;
  }
}

/* ============================================
   HOUSE CALLS SECTION
   ============================================ */
.house-calls {
  padding: 4rem 0;
  background: var(--white);
}

.house-calls .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.house-calls-content {
  text-align: center;
}

.house-calls-content h2 {
  margin-bottom: 1rem;
}

.house-calls-content p {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.house-calls-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}

.house-calls-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--gray-800);
  justify-content: center;
}

.house-calls-features li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.house-calls-image {
  text-align: center;
}

.house-calls-image img {
  max-width: 360px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .house-calls .container {
    grid-template-columns: 1fr 1fr;
  }

  .house-calls-content {
    text-align: left;
  }

  .house-calls-content p {
    margin-left: 0;
  }

  .house-calls-features li {
    justify-content: flex-start;
  }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  padding: 4rem 0;
  background: var(--gray-100);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--gold);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
  font-family: Georgia, serif;
  opacity: 0.3;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-800);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  padding-top: 1rem;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--black);
}

.testimonial-location {
  color: var(--gray-600);
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   BUY SELL TRADE SECTION
   ============================================ */
.buy-sell-trade {
  padding: 4rem 0;
  background: var(--white);
}

.bst-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.bst-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--gray-100);
  border-radius: 16px;
  transition: var(--transition);
}

.bst-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.bst-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.bst-card h3 {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.bst-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

@media (min-width: 640px) {
  .bst-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   SELL PAGE HERO IMAGE
   ============================================ */
.sell-hero-image {
  margin-top: 2rem;
  text-align: center;
}

.sell-hero-image img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}

/* Service content body for educational sections */
.service-content-body {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   BLOG — Listing, Cards, Posts
   ============================================ */

/* Blog breadcrumb */
.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #666;
}
.blog-breadcrumb a {
  color: var(--gold-dark);
  text-decoration: none;
}
.blog-breadcrumb a:hover { text-decoration: underline; }
.blog-breadcrumb span { color: #999; }

/* Blog grid — 3-up on desktop, 1-up on mobile */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Blog card */
.blog-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.blog-card-meta time {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 500;
}
.blog-card-location {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}
.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--black);
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--gold-dark); }
.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.blog-tag-pill {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.blog-tag-pill:hover {
  background: var(--gold);
  color: var(--black);
}
.blog-read-more {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: auto;
}
.blog-read-more:hover { text-decoration: underline; }

/* Blog pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.blog-page-info {
  font-size: 0.9rem;
  color: var(--gray-600);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Post hero */
.post-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 3.5rem 0 2.5rem;
}
.post-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0.75rem 0 1rem;
  color: white;
}
.post-excerpt {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 700px;
  line-height: 1.7;
}
.post-meta-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.post-meta-top time {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.post-location-badge {
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.post-tag-badge {
  background: var(--gold);
  color: var(--black);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

/* Post content area */
.post-content {
  padding: 3.5rem 0;
  background: white;
}
.post-container {
  max-width: 780px;
}
.post-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray-800);
}
.post-body h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0.5rem;
}
.post-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--black);
}
.post-body p {
  margin-bottom: 1.4rem;
}
.post-body ul, .post-body ol {
  margin: 0 0 1.4rem 1.5rem;
}
.post-body li {
  margin-bottom: 0.5rem;
}
.post-body a {
  color: var(--gold-dark);
  text-decoration: underline;
}
.post-body strong { color: var(--black); }
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.post-body th {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}
.post-body td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--gray-200);
}
.post-body tr:nth-child(even) td { background: var(--gray-100); }

/* In-post CTA box */
.post-cta-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin: 3rem 0 2rem;
}
.post-cta-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}
.post-cta-box p {
  color: rgba(255,255,255,0.88);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .post-hero { padding: 2.5rem 0 2rem; }
  .post-body h2 { font-size: 1.3rem; }
  .post-body table { font-size: 0.85rem; }
  .post-body th, .post-body td { padding: 0.5rem 0.6rem; }
}

/* ============================================
   SKIP LINK (Accessibility - WCAG 2.4.1)
   ============================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--green);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  z-index: 9999;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* ============================================
   REDUCED MOTION (Accessibility - WCAG 2.3.3)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-animate].js-ready {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   FORM ERROR STATE (Validation Feedback)
   ============================================ */
input.error,
textarea.error,
select.error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

/* ============================================
   ACTIVE NAV STATE
   ============================================ */
.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

/* ============================================
   SCREEN READER ONLY UTILITY
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
