/* ============================================
   Beacon Hill Trade — Brand Styles
   ============================================ */

:root {
  --navy: #0B1D3A;
  --navy-light: #132B52;
  --navy-dark: #061222;
  --gold: #C9A227;
  --gold-light: #D4B44A;
  --gold-dark: #A8861F;
  --cream: #F8F6F1;
  --gray-100: #F1F3F5;
  --gray-600: #6C757D;
  --white: #FFFFFF;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- Base ---- */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

/* ---- Navigation ---- */

#mainNav {
  background: transparent;
  padding: 1rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#mainNav.scrolled {
  background: rgba(11, 29, 58, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  padding: 0.6rem 0;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.brand-accent {
  color: var(--gold);
}

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus,
.navbar-dark .nav-link.active {
  color: var(--gold);
}

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

.btn-gold {
  background: var(--gold);
  border: 2px solid var(--gold);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.btn-gold:hover,
.btn-gold:focus {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.35);
}

.btn-navy {
  background: var(--navy);
  border: 2px solid var(--navy);
  color: var(--white);
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-navy:hover,
.btn-navy:focus {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  min-height: 100vh;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-eyebrow {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--white);
  font-weight: 700;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  line-height: 1.7;
}

/* Hero Market Card */

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.hero-card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-card-body {
  padding: 1.25rem 1.5rem;
}

.market-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.market-row:last-child {
  border-bottom: none;
}

.market-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.market-value {
  font-weight: 600;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.text-up {
  color: #4ADE80;
}

.text-down {
  color: #F87171;
}

.hero-card-footer {
  padding: 0.75rem 1.5rem;
  margin: 0;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ---- Trust Bar ---- */

.trust-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(11, 29, 58, 0.08);
}

.trust-stat {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
}

.trust-label {
  font-size: 0.8rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- Sections ---- */

.section-padding {
  padding: 6rem 0;
}

.bg-light-custom {
  background: var(--cream);
}

.bg-navy {
  background: var(--navy);
}

.section-label {
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.text-gold {
  color: var(--gold) !important;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy);
}

/* ---- About ---- */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-weight: 500;
}

.feature-list i {
  color: var(--gold);
  font-size: 1.1rem;
}

.about-image-wrapper {
  position: relative;
}

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

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(201, 162, 39, 0.1) 100%);
}

.about-image-content {
  text-align: center;
  color: var(--white);
  z-index: 1;
}

.about-image-content i {
  font-size: 4rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.about-image-content span {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
}

.about-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.3);
}

.about-badge-number {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-badge-year {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

/* ---- Services ---- */

.service-card {
  background: var(--white);
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 29, 58, 0.1);
  border-color: rgba(201, 162, 39, 0.3);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--gold);
}

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

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

/* ---- Approach ---- */

.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.approach-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(11, 29, 58, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.approach-step:hover {
  border-color: rgba(201, 162, 39, 0.3);
  box-shadow: 0 8px 30px rgba(11, 29, 58, 0.06);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
}

/* ---- Insights ---- */

.insight-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.insight-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-2px);
}

.insight-date {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.insight-card h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.insight-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.insight-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.insight-link:hover {
  color: var(--gold-light);
}

.insight-link i {
  transition: transform 0.2s;
}

.insight-link:hover i {
  transform: translateX(4px);
}

/* ---- CTA ---- */

.cta-section {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  padding: 5rem 0;
}

.cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--navy);
}

.cta-text {
  color: rgba(11, 29, 58, 0.75);
  font-size: 1.1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-gold {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.cta-section .btn-gold:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.25rem;
  color: var(--gold);
  margin-top: 0.2rem;
}

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

.contact-item p {
  color: var(--gray-600);
  margin: 0;
  font-size: 0.95rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid rgba(11, 29, 58, 0.15);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.contact-form .form-label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
}

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

.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-heading {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem !important;
  max-width: 800px;
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {
  .section-padding {
    padding: 4rem 0;
  }

  .about-badge {
    right: 1rem;
    bottom: -1.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .trust-number {
    font-size: 1.4rem;
  }

  .trust-label {
    font-size: 0.7rem;
  }
}
