/* Homepage v2 — scoped to body.home-v2 only */

.home-v2 {
  --home-accent: #e8b020;
  --home-accent-dark: #c49212;
  --home-surface: #121820;
  --home-card: #181f28;
  --home-border: #2a3544;
  --home-muted: #94a3b8;
  --home-radius: 14px;
  --home-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.home-v2 .site-nav {
  background: rgba(12, 15, 18, 0.88);
}

.home-v2 .nav-cta-call {
  display: none;
}

@media (min-width: 720px) {
  .home-v2 .nav-cta-call {
    display: inline-flex;
  }
}

/* Hero */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(212, 160, 18, 0.12), transparent 55%),
    linear-gradient(165deg, #0a0d10 0%, #121820 45%, #0c0f12 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
  pointer-events: none;
}

.home-hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .home-hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.home-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.home-hero-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--home-border);
  background: rgba(24, 31, 40, 0.8);
  color: var(--home-muted);
}

.home-hero-badge--accent {
  border-color: rgba(232, 176, 32, 0.45);
  color: var(--home-accent);
  background: rgba(232, 176, 32, 0.08);
}

.home-hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

.home-hero-brand em {
  font-style: normal;
  color: var(--home-accent);
}

.home-hero-logo {
  height: clamp(2.75rem, 7vw, 3.5rem);
  width: auto;
  border-radius: 8px;
  background: #0a0a0a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 3px rgba(0, 51, 141, 0.4),
    0 10px 28px rgba(0, 0, 0, 0.45);
}

.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.2vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  max-width: 22ch;
  color: var(--home-muted);
  font-weight: 500;
}

.home-hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--home-muted);
  margin: 0 0 1.75rem;
  max-width: 42ch;
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 520px) {
  .home-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.home-hero-actions .btn {
  justify-content: center;
  min-height: 48px;
  font-size: 0.95rem;
}

.btn-call {
  background: var(--text);
  color: var(--bg);
  border: none;
  font-weight: 700;
}

.btn-call:hover {
  background: #fff;
  text-decoration: none;
  color: var(--bg);
}

.btn-dealer {
  background: transparent;
  border: 2px solid var(--home-accent);
  color: var(--home-accent);
  font-weight: 700;
}

.btn-dealer:hover {
  background: rgba(232, 176, 32, 0.12);
  text-decoration: none;
  color: var(--home-accent);
}

.home-hero-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--home-muted);
}

.home-hero-trust-line strong {
  color: var(--text);
}

.home-hero-visual {
  margin: 0;
  position: relative;
}

.home-hero-visual img {
  width: 100%;
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
  border: 1px solid var(--home-border);
  background: var(--home-card);
}

.home-hero-visual figcaption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--home-muted);
  text-align: center;
}

/* Trust strip */
.home-trust {
  background: var(--home-surface);
  border-block: 1px solid var(--home-border);
  padding: 2rem 0;
}

.home-trust-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

@media (min-width: 900px) {
  .home-trust-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.home-trust-card {
  text-align: center;
  padding: 1.1rem 0.75rem;
  border-radius: var(--home-radius);
  background: var(--home-card);
  border: 1px solid var(--home-border);
  transition: border-color 0.2s, transform 0.2s;
}

.home-trust-card:hover {
  border-color: rgba(232, 176, 32, 0.35);
  transform: translateY(-2px);
}

.home-trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
  line-height: 1;
}

.home-trust-card h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.25rem;
}

.home-trust-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--home-muted);
  line-height: 1.4;
}

/* Sections */
.home-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.home-section--alt {
  background: var(--home-surface);
}

.home-section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

.home-section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.home-section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-accent);
  margin: 0 0 0.5rem;
}

.home-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.home-section-head p {
  margin: 0;
  color: var(--home-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Featured products */
.home-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.home-product-card {
  display: flex;
  flex-direction: column;
  background: var(--home-card);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.home-product-card:hover {
  border-color: rgba(232, 176, 32, 0.4);
  box-shadow: var(--home-shadow);
  transform: translateY(-3px);
  text-decoration: none;
}

.home-product-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: #0a0d10;
  overflow: hidden;
}

.home-product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}

.home-product-card .card-body {
  padding: 1.1rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-product-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
}

.home-product-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--home-muted);
  line-height: 1.5;
  flex: 1;
}

.home-product-card .card-link {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--home-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-catalog-host {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--home-border);
}

.home-catalog-host .product-category-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Why choose */
.home-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

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

.home-why-card {
  padding: 1.35rem 1.25rem;
  background: var(--home-card);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
}

.home-why-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(232, 176, 32, 0.12);
  color: var(--home-accent);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.home-why-card h3 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.home-why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--home-muted);
  line-height: 1.55;
}

/* Manufacturing */
.home-mfg-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .home-mfg-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.home-mfg-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.home-mfg-gallery img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--home-border);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-mfg-gallery img:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-mfg-intro {
  margin: 0 0 0.25rem;
  color: var(--home-muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.home-mfg-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.home-mfg-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  color: var(--home-muted);
  font-size: 0.95rem;
}

.home-mfg-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--home-accent);
  font-weight: 700;
}

/* Dealer CTA */
.home-dealer {
  background: linear-gradient(135deg, #1a2230 0%, #121820 50%, #0f1419 100%);
  border-block: 1px solid var(--home-border);
}

.home-dealer-box {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--home-card);
  border: 1px solid rgba(232, 176, 32, 0.25);
  border-radius: calc(var(--home-radius) + 4px);
  box-shadow: var(--home-shadow);
}

@media (min-width: 768px) {
  .home-dealer-box {
    grid-template-columns: 1.2fr auto;
  }
}

.home-dealer-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.home-dealer-box p {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.6;
}

.home-dealer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: min(100%, 260px);
}

.home-dealer-actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 50px;
}

/* Testimonials */
.home-testimonials {
  display: grid;
  gap: 1.25rem;
}

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

.home-testimonial {
  margin: 0;
  padding: 1.35rem 1.25rem;
  background: var(--home-card);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
}

.home-testimonial blockquote {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  font-style: normal;
}

.home-testimonial blockquote::before {
  content: "\201C";
  color: var(--home-accent);
  font-size: 1.5rem;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 0.15rem;
}

.home-testimonial figcaption {
  font-size: 0.82rem;
  color: var(--home-muted);
}

.home-testimonial strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
}

/* Contact */
.home-contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .home-contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.home-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.home-contact-actions .btn {
  min-height: 52px;
  font-size: 1rem;
  justify-content: center;
}

.btn-call-lg {
  font-size: 1.05rem;
}

.home-contact-detail {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--home-muted);
}

.home-contact-detail strong {
  color: var(--text);
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.home-contact-detail a {
  color: var(--text);
  text-decoration: none;
}

.home-contact-detail a:hover {
  color: var(--home-accent);
}

.home-locations-mini {
  display: grid;
  gap: 0.75rem;
}

.home-location-pill {
  padding: 1rem 1.1rem;
  background: var(--home-card);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
}

.home-location-pill h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
}

.home-location-pill p {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: var(--home-muted);
}

.home-location-pill .btn {
  font-size: 0.8rem;
  padding: 0.45rem 0.85rem;
}

/* SEO blocks (compact) */
.home-seo-compact {
  padding: 2.5rem 0;
  background: #0a0d10;
  border-top: 1px solid var(--home-border);
}

.home-seo-compact .seo-sections-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .home-seo-compact .seo-sections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-seo-compact .seo-section-card {
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
}

.home-seo-compact .seo-section-card h2 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.home-seo-compact .seo-section-card p {
  margin: 0;
  color: var(--home-muted);
}

.home-coverage-compact {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--home-muted);
}

/* Reveal animation */
.home-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.home-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.home-v2 .site-footer {
  margin-top: 0;
}
