/* ============================================
   HOMEPAGE-SPECIFIC STYLES
   Visual design inspired by USMR + Hartford Gold + Money Metals
   Layered on top of base styles.css
   ============================================ */

/* --- Commodity Ticker Strip --- */
.ticker-strip {
  background: #050d1a;
  border-bottom: 1px solid rgba(184, 149, 107, 0.2);
  padding: 0;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
}

.ticker-strip__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  padding: 0 24px;
}

.ticker-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--light-gray);
  letter-spacing: 0.3px;
}

.ticker-strip__symbol {
  color: var(--warm-white);
  font-weight: 500;
}

.ticker-strip__price {
  color: var(--warm-white);
  font-weight: 500;
}

.ticker-strip__change {
  font-size: 11px;
  font-weight: 500;
}

.ticker-strip__change--up {
  color: #22c55e;
}

.ticker-strip__change--down {
  color: #ef4444;
}

.ticker-strip__divider {
  width: 1px;
  height: 16px;
  background: rgba(250, 250, 248, 0.1);
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Shift nav down for ticker */
body.has-ticker .nav {
  top: 36px;
}

body.has-ticker .hero,
body.has-ticker .hp-hero {
  padding-top: calc(var(--nav-height) + 36px);
}

/* --- Homepage Hero Override --- */
.hp-hero {
  min-height: 92vh;
  background: linear-gradient(135deg, #050d1a 0%, var(--deep-navy) 40%, #152438 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + 36px);
}

.hp-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, rgba(184, 149, 107, 0.04) 0%, rgba(184, 149, 107, 0.01) 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hp-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--muted-gold) 50%, transparent 100%);
}

.hp-hero .container {
  position: relative;
  z-index: 2;
}

/* Hero headline — very large, impactful */
.hp-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 600;
  color: var(--warm-white);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.hp-hero h1 .text-gold {
  color: var(--muted-gold);
}

.hp-hero__subtitle {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--light-gray);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 40px;
}

.hp-hero__badge {
  display: inline-block;
  font-size: 11px;
  color: var(--muted-gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
  padding: 8px 16px;
  border: 1px solid rgba(184, 149, 107, 0.25);
  border-radius: 2px;
}

/* Hero CTA buttons — bigger */
.hp-hero .hero__actions .btn {
  padding: 18px 40px;
  font-size: 16px;
  letter-spacing: 0.5px;
}

/* Hero image placeholder — right side */
.hp-hero__image {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hp-hero__image .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(184, 149, 107, 0.06) 0%, rgba(184, 149, 107, 0.02) 100%);
  border: 1px dashed rgba(184, 149, 107, 0.15);
}

/* --- Trust Bar — BIG and prominent (first fold) --- */
.hp-trust-bar {
  background: var(--warm-white);
  padding: 0;
  border-bottom: 1px solid var(--border-gray);
}

.hp-trust-bar__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hp-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 40px;
  border-right: 1px solid var(--border-gray);
  flex: 1;
  justify-content: center;
}

.hp-trust-item:last-child {
  border-right: none;
}

.hp-trust-item__icon {
  width: 52px;
  height: 52px;
  background: var(--gold-glow);
  border: 1px solid rgba(184, 149, 107, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.hp-trust-item__text {
  font-size: 15px;
  color: var(--deep-navy);
  font-weight: 600;
  line-height: 1.3;
}

.hp-trust-item__text small {
  display: block;
  font-size: 12px;
  color: var(--stone-gray);
  font-weight: 400;
  margin-top: 2px;
}

/* --- Section Headers — Bigger, bolder --- */
.hp-section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 56px auto;
}

.hp-section-header h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hp-section-header p {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--stone-gray);
  line-height: 1.6;
}

/* --- Why Gold Cards — Larger with more visual weight --- */
.hp-card {
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 40px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.hp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.hp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--muted-gold);
  border-radius: 8px 8px 0 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hp-card:hover::before {
  opacity: 1;
}

.hp-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  background: var(--gold-glow);
  border: 1px solid rgba(184, 149, 107, 0.3);
}

.hp-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--deep-navy);
}

.hp-card p {
  font-size: 16px;
  color: var(--stone-gray);
  line-height: 1.7;
}

.hp-card__link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted-gold-text);
  font-weight: 500;
  transition: color 0.2s;
}

.hp-card__link:hover {
  color: var(--warm-bronze);
}

/* --- Stats Section — Giant numbers --- */
.hp-stats {
  background: var(--deep-navy);
  padding: 56px 0;
  position: relative;
}

.hp-stats::before,
.hp-stats::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--muted-gold), transparent);
}

.hp-stats::before { top: 0; }
.hp-stats::after { bottom: 0; }

.hp-stats__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.hp-stat {
  text-align: center;
  padding: 16px 48px;
  flex: 1;
}

.hp-stat__number {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  color: var(--muted-gold);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.hp-stat__label {
  font-size: 13px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.hp-stat__divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--muted-gold), transparent);
  opacity: 0.4;
}

/* --- Process Steps — Bigger, numbered --- */
.hp-process {
  counter-reset: process-step;
}

.hp-process-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  transition: box-shadow 0.2s;
}

.hp-process-step:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.hp-process-step__num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--muted-gold) 0%, var(--warm-bronze) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--deep-navy);
  flex-shrink: 0;
}

.hp-process-step h3,
.hp-process-step h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--deep-navy);
  margin-bottom: 8px;
}

.hp-process-step p {
  font-size: 15px;
  color: var(--stone-gray);
  line-height: 1.6;
}

/* --- Testimonial — Larger, more impactful --- */
.hp-testimonial {
  background: var(--bg-light);
  border-left: none;
  border-radius: 0;
  padding: 0;
}

.hp-testimonial__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hp-testimonial__content {
  flex: 1;
}

.hp-testimonial__quote {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  color: var(--deep-navy);
  line-height: 1.5;
  margin-bottom: 24px;
  position: relative;
  padding-left: 32px;
  border-left: 3px solid var(--muted-gold);
}

.hp-testimonial__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hp-testimonial__avatar {
  width: 56px;
  height: 56px;
  background: var(--deep-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-gold);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

.hp-testimonial__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--deep-navy);
}

.hp-testimonial__role {
  font-size: 14px;
  color: var(--stone-gray);
}

.hp-testimonial__image {
  flex: 0 0 40%;
}

/* --- CTA Banner — Upgraded visual weight --- */
.hp-cta-banner {
  background: linear-gradient(135deg, #050d1a 0%, var(--deep-navy) 50%, #152438 100%);
  padding: 72px 48px;
  border-radius: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hp-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--muted-gold), transparent);
}

.hp-cta-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--muted-gold), transparent);
}

.hp-cta-banner h2 {
  color: var(--warm-white);
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 16px;
}

.hp-cta-banner p {
  color: var(--light-gray);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
}

.hp-cta-banner .btn {
  padding: 20px 48px;
  font-size: 16px;
}

/* --- Veteran Section — Split layout --- */
.hp-veteran {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hp-veteran__content {
  flex: 1;
}

.hp-veteran__content h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hp-veteran__content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.hp-veteran__image {
  flex: 1;
}

/* --- Dual CTA Section (call / schedule) --- */
.hp-dual-cta {
  background: var(--bg-light);
  padding: 64px 0;
}

.hp-dual-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hp-dual-cta__card {
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
}

.hp-dual-cta__eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-gold-text);
  font-weight: 500;
  margin-bottom: 12px;
}

.hp-dual-cta__rule {
  width: 40px;
  height: 2px;
  background: var(--muted-gold);
  margin: 0 auto 20px auto;
}

.hp-dual-cta__icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.hp-dual-cta__heading {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--deep-navy);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.hp-dual-cta__heading--link {
  text-decoration: none;
  transition: color 0.2s;
}

.hp-dual-cta__heading--link:hover {
  color: var(--muted-gold);
}

.hp-dual-cta__desc {
  font-size: 15px;
  color: var(--stone-gray);
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}

/* --- "As Seen On" / Media Bar --- */
.hp-media-bar {
  background: var(--warm-white);
  padding: 48px 0;
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
}

.hp-media-bar__label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--stone-gray);
  font-weight: 500;
  margin-bottom: 28px;
}

.hp-media-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.hp-media-bar__logo {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--stone-gray);
  opacity: 0.5;
  transition: opacity 0.2s;
  padding: 8px 16px;
  border: 1px dashed rgba(107, 114, 128, 0.3);
  border-radius: 4px;
}

.hp-media-bar__logo:hover {
  opacity: 0.8;
}

/* --- Responsive Overrides --- */
@media (max-width: 1024px) {
  .hp-trust-bar__inner {
    flex-wrap: wrap;
  }

  .hp-trust-item {
    flex: 0 0 calc(50% - 1px);
    border-bottom: 1px solid var(--border-gray);
  }

  .hp-trust-item:nth-child(even) {
    border-right: none;
  }

  .hp-stats__row {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hp-stat {
    flex: 0 0 calc(50% - 12px);
    padding: 16px 24px;
  }

  .hp-stat__divider {
    display: none;
  }

  .hp-veteran {
    flex-direction: column;
    gap: 32px;
  }

  .hp-testimonial__inner {
    flex-direction: column;
    gap: 32px;
  }

  .hp-dual-cta__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ticker-strip {
    height: 32px;
  }

  .ticker-strip__item {
    font-size: 11px;
  }

  body.has-ticker .nav {
    top: 32px;
  }

  body.has-ticker .hp-hero {
    padding-top: calc(var(--nav-height) + 32px);
  }

  .hp-hero {
    min-height: auto;
    padding-bottom: 60px;
  }

  .hp-hero h1 {
    font-size: clamp(36px, 8vw, 52px);
  }

  .hp-hero__image {
    display: none;
  }

  .hp-trust-bar__inner {
    flex-direction: column;
  }

  .hp-trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border-gray);
    padding: 20px 24px;
    justify-content: flex-start;
  }

  .hp-trust-item:last-child {
    border-bottom: none;
  }

  .hp-stats__row {
    flex-direction: column;
    gap: 16px;
  }

  .hp-stat {
    flex: 1;
  }

  .hp-media-bar__logos {
    gap: 24px;
  }

  .hp-media-bar__logo {
    font-size: 14px;
  }

  .hp-cta-banner {
    padding: 48px 24px;
  }
}
