/* American supplier-inspired B2B preview. Loaded after styles.css for index-american-b2b.html only. */
.american-b2b-home {
  --ink: #18232e;
  --muted: #5f6d78;
  --line: #dbe3e8;
  --paper: #f5f7f8;
  --white: #ffffff;
  --navy: #172534;
  --steel: #768592;
  --orange: #d76a2d;
  --green: #4d6c61;
  --shadow: 0 16px 36px rgba(20, 35, 48, 0.1);
  background: var(--paper);
}

.american-b2b-home .site-header {
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(24, 35, 46, 0.1);
  box-shadow: 0 6px 24px rgba(24, 35, 46, 0.07);
}

.american-b2b-home .brand-mark {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.american-b2b-home .brand small,
.american-b2b-home .main-nav {
  color: var(--muted);
}

.american-b2b-home .main-nav a:hover {
  color: var(--orange);
}

.american-b2b-home .nav-cta,
.american-b2b-home .button.primary,
.american-b2b-home .inquiry-form button {
  color: var(--white);
  background: var(--orange);
}

.american-b2b-home .button.secondary {
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
}

.american-b2b-home .button.ghost {
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(24, 35, 46, 0.18);
}

.american-b2b-home .hero {
  min-height: 92vh;
  align-items: center;
  color: var(--white);
}

.american-b2b-home .hero > img {
  object-position: center 46%;
}

.american-b2b-home .hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 26, 38, 0.9), rgba(14, 26, 38, 0.62) 45%, rgba(14, 26, 38, 0.18)),
    linear-gradient(0deg, rgba(14, 26, 38, 0.62), rgba(14, 26, 38, 0.08) 52%);
}

.american-b2b-home .hero-content {
  width: min(1180px, calc(100% - 36px));
  padding-bottom: 46px;
}

.american-b2b-home h1 {
  max-width: 760px;
  font-size: clamp(44px, 5.7vw, 78px);
}

.american-b2b-home .hero-copy {
  max-width: 680px;
}

.american-b2b-home .hero-actions {
  align-items: center;
  margin-bottom: 22px;
}

.american-b2b-home .hero-buyer-panel {
  display: grid;
  gap: 5px;
  max-width: 640px;
  margin: 0 0 34px;
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

.american-b2b-home .hero-buyer-panel strong {
  color: var(--white);
  font-size: 17px;
}

.american-b2b-home .hero-stats {
  max-width: 820px;
}

.american-b2b-home .trust-strip {
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.american-b2b-home .trust-strip span {
  border-color: var(--line);
}

.buying-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 36px));
  margin: -38px auto 0;
  position: relative;
  z-index: 5;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.buying-path a {
  min-height: 112px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.buying-path a:last-child {
  border-right: 0;
}

.buying-path span,
.buying-path strong {
  display: block;
}

.buying-path span {
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.buying-path strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.12;
}

.buying-path a:hover {
  background: #fbf3ee;
}

.american-b2b-home .section {
  padding-top: 78px;
  padding-bottom: 78px;
}

.american-b2b-home .intro-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.american-b2b-home .intro-section h2,
.american-b2b-home .section-heading h2,
.american-b2b-home .split-content h2,
.american-b2b-home .quality-section h2,
.american-b2b-home .contact-copy h2 {
  color: var(--ink);
}

.american-b2b-home .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.american-b2b-home .product-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

.american-b2b-home .product-card div {
  padding: 23px;
}

.american-b2b-home .product-card h3 {
  color: var(--ink);
}

.american-b2b-home .product-card span {
  color: var(--green);
}

.american-b2b-home .text-link {
  color: var(--orange);
}

.american-b2b-home .split-section,
.american-b2b-home .contact-section {
  background: var(--white);
}

.american-b2b-home .split-content {
  padding-right: max(18px, calc((100% - 1180px) / 2));
}

.american-b2b-home .export-section {
  background: #eef2f4;
}

.american-b2b-home .logistics-map,
.american-b2b-home .packing-support article,
.american-b2b-home .buyer-faq-grid article,
.american-b2b-home .inquiry-form {
  border: 1px solid var(--line);
  box-shadow: none;
}

.american-b2b-home .packing-support article {
  border-top: 4px solid var(--orange);
}

.american-b2b-home .buyer-faq-grid h3,
.american-b2b-home .packing-support h3,
.american-b2b-home .application-grid strong {
  color: var(--ink);
}

.american-b2b-home .application-grid {
  box-shadow: none;
}

.american-b2b-home .projects {
  background: var(--navy);
}

.american-b2b-home .project-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.american-b2b-home .project-list article {
  min-height: 226px;
}

.american-b2b-home .quality-section {
  background:
    linear-gradient(90deg, rgba(23, 37, 52, 0.96), rgba(23, 37, 52, 0.82)),
    url("assets/projects/memphis-temporary-workshop/memphis-workshop-site-aerial.jpg") center / cover;
}

.american-b2b-home .quality-section h2,
.american-b2b-home .quality-section h3 {
  color: var(--white);
}

.american-b2b-home .quality-grid div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.american-b2b-home .contact-lines span {
  padding: 11px 0;
  border-bottom: 1px solid rgba(24, 35, 46, 0.1);
}

.american-b2b-home .contact-lines span:last-child {
  border-bottom: 0;
}

.american-b2b-home .site-footer {
  background: #111c27;
}

@media (max-width: 1040px) {
  .buying-path,
  .american-b2b-home .product-grid,
  .american-b2b-home .project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buying-path a:nth-child(2) {
    border-right: 0;
  }

  .buying-path a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .american-b2b-home .site-header {
    position: static;
  }

  .american-b2b-home .hero {
    min-height: 720px;
    align-items: end;
  }

  .american-b2b-home .hero-content {
    padding: 52px 0 34px;
  }

  .american-b2b-home h1 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .american-b2b-home .hero-actions {
    display: grid;
  }

  .american-b2b-home .hero-stats,
  .buying-path,
  .american-b2b-home .product-grid,
  .american-b2b-home .project-list {
    grid-template-columns: 1fr;
  }

  .buying-path {
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
  }

  .buying-path a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .buying-path a:last-child {
    border-bottom: 0;
  }
}
