/* ===== BASE / RESET (Mobile-first) ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #444;
  background: #f5f5f5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #d47a0e; text-decoration: none; }
a:hover { color: #b5650a; }

:focus-visible {
  outline: 3px solid #f7931e;
  outline-offset: 2px;
}

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

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: #f7931e;
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
  z-index: 200;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ===== HEADER ===== */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 44px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: #f7931e;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  letter-spacing: 2px;
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #f7931e;
}

/* Mobile nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #444;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav (default hidden) */
nav {
  display: none;
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid #eee;
}

nav.open { display: block; }

.nav-main {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-main a {
  display: block;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #444;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  min-height: 44px;
  transition: color 0.2s;
}

.nav-main a:hover,
.nav-main a.active {
  color: #f7931e;
}

.nav-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  padding-top: 8px;
}

.nav-secondary a {
  display: block;
  font-size: 13px;
  color: #666;
  padding: 8px 12px 8px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-secondary a:hover { color: #f7931e; }

/* ===== HERO / BILLBOARD ===== */
.hero {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  position: relative;
}

.hero img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hero-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f7931e 0%, #e67e22 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

/* Slider */
.slider {
  position: relative;
  overflow: hidden;
  max-height: 300px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-track img {
  min-width: 100%;
  height: 200px;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  padding: 14px 10px;
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
  min-width: 44px;
  min-height: 44px;
  transition: background 0.2s;
}

.slider-btn:hover { background: rgba(0,0,0,0.7); }
.slider-prev { left: 0; border-radius: 0 4px 4px 0; }
.slider-next { right: 0; border-radius: 4px 0 0 4px; }

/* ===== INTRO ===== */
.intro {
  text-align: center;
  padding: 32px 16px;
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  font-style: italic;
  color: #555;
  line-height: 1.7;
}

/* ===== BRANDS GRID ===== */
.brands-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1140px;
  margin: 0 auto 32px;
  padding: 0 16px;
}

.brand-card {
  text-align: center;
  padding: 24px 16px;
  border-bottom: 1px solid #ddd;
  min-height: 44px;
}

.brand-card:last-child { border-bottom: none; }

.brand-card img {
  height: 70px;
  margin: 0 auto 12px;
}

.brand-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* ===== PAGE CONTENT LAYOUT ===== */
.page-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.page-title {
  padding: 24px 0 8px;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
  color: #999;
}

.page-title h1 strong {
  color: #f7931e;
  font-weight: 700;
}

.page-subtitle {
  font-size: 16px;
  font-style: italic;
  color: #555;
  margin-top: 8px;
  line-height: 1.5;
}

/* Main content */
.content-box {
  border: 1px solid #f7931e;
  border-left: 4px solid #f7931e;
  padding: 20px;
  margin-bottom: 24px;
  background: #fff;
}

.content-box p {
  margin-bottom: 12px;
  line-height: 1.7;
}

.content-box p:last-child { margin-bottom: 0; }

.main-content h2 {
  color: #f7931e;
  font-size: 20px;
  margin: 24px 0 12px;
}

.main-content h3 {
  color: #f7931e;
  font-size: 16px;
  margin: 16px 0 8px;
  text-transform: uppercase;
}

.main-content p {
  margin-bottom: 12px;
  line-height: 1.7;
}

.product-photos {
  margin: 16px 0;
}

.product-photos img {
  max-width: 100%;
  height: auto;
}

/* ===== SIDEBAR ===== */
.sidebar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding-top: 16px;
  order: -1;
}

.sidebar-badge {
  text-align: center;
  flex: 0 0 45%;
}

.sidebar-badge img {
  max-width: 120px;
  margin: 0 auto 8px;
}

.sidebar-badge p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.sidebar-label {
  text-align: center;
  padding: 8px 0;
}

.sidebar-label .label-title {
  font-size: 14px;
  font-weight: 700;
  color: #f7931e;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-label .label-sub {
  font-size: 12px;
  font-weight: 700;
  color: #444;
  text-transform: uppercase;
}

.sidebar-label p {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
  line-height: 1.5;
}

/* QA checkmark */
.qa-badge { text-align: center; }
.qa-badge .checkmark { color: #2e7d32; font-size: 36px; font-weight: 700; }
.qa-badge .qa-title { color: #f7931e; font-weight: 700; text-transform: uppercase; font-size: 15px; }
.qa-badge .qa-sub { color: #f7931e; font-weight: 700; text-transform: uppercase; font-size: 13px; }

/* Sustainability badge */
.sus-badge { text-align: center; }
.sus-badge .sus-title { font-size: 14px; font-weight: 700; color: #444; text-transform: uppercase; letter-spacing: 1px; }
.sus-badge .sus-amp { color: #2e7d32; font-size: 18px; font-weight: 700; }

/* ===== CONTACT ===== */
.contact-info {
  margin-top: 16px;
}

.contact-info h3 {
  color: #f7931e;
  margin-bottom: 12px;
}

.contact-info p { margin-bottom: 4px; }
.contact-info a { color: #d47a0e; }

.contact-form {
  margin-top: 24px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #444;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  margin-bottom: 16px;
  font-family: inherit;
  min-height: 44px;
}

.contact-form textarea { min-height: 120px; resize: vertical; }

.contact-form button {
  background: #f7931e;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-height: 44px;
  transition: background 0.2s;
}

.contact-form button:hover { background: #d47a0e; }

/* ===== FOOTER ===== */
footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 24px 0;
  margin-top: 32px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
  list-style: none;
}

.footer-nav a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  padding: 4px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-nav a:hover { color: #f7931e; }

.footer-copy {
  font-size: 12px;
  color: #999;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #f7931e;
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  transition: background 0.2s;
}

.scroll-top:hover { background: #d47a0e; }
.scroll-top.visible { display: flex; }

/* ===== TABLET (min-width: 600px) ===== */
@media (min-width: 600px) {
  .brands-grid { grid-template-columns: 1fr 1fr; }
  .brand-card { border-bottom: none; border-right: 1px solid #ddd; }
  .brand-card:nth-child(2n) { border-right: none; }
  .brand-card:nth-child(n+3) { border-top: 1px solid #ddd; }

  .hero img,
  .hero-placeholder,
  .slider-track img {
    height: 280px;
  }

  .intro { font-size: 17px; padding: 36px 20px; }

  .sidebar-badge { flex: 0 0 40%; }
}

/* ===== DESKTOP (min-width: 900px) ===== */
@media (min-width: 900px) {
  .header-inner {
    padding: 12px 20px;
    flex-wrap: nowrap;
  }

  .nav-toggle { display: none; }

  nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: auto;
    padding: 0;
    border-top: none;
  }

  .nav-main {
    flex-direction: row;
    gap: 24px;
  }

  .nav-main a {
    font-size: 14px;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    min-height: auto;
  }

  .nav-main a:hover,
  .nav-main a.active {
    border-bottom-color: #f7931e;
  }

  .nav-secondary {
    justify-content: flex-end;
    gap: 0;
  }

  .nav-secondary a {
    font-size: 12px;
    color: #888;
    border-right: 1px solid #ddd;
    padding: 4px 16px 4px 0;
    margin-right: 16px;
    min-height: auto;
  }

  .nav-secondary li:last-child a {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }

  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .brand-card { border-right: 1px solid #ddd; border-top: none; }
  .brand-card:nth-child(2n) { border-right: 1px solid #ddd; }
  .brand-card:nth-child(n+3) { border-top: none; }
  .brand-card:last-child { border-right: none; }

  .page-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 0 20px 60px;
  }

  .page-title { grid-column: 1 / -1; }

  .sidebar {
    flex-direction: column;
    order: 0;
    padding-top: 0;
  }

  .sidebar-badge { flex: auto; }

  .hero img,
  .hero-placeholder,
  .slider-track img {
    height: 400px;
  }

  .logo-text { font-size: 28px; }
  .logo-text span { font-size: 11px; }
  .logo-icon { width: 50px; height: 50px; }
  .logo-icon svg { width: 24px; height: 24px; }

  .page-title h1 { font-size: 28px; }
  .page-subtitle { font-size: 18px; }
  .intro { font-size: 18px; padding: 40px 20px; }
  .content-box { padding: 24px 28px; }
}

/* ===== PRINT ===== */
@media print {
  header, .nav-toggle, .slider-btn, .scroll-top, footer { display: none !important; }
  body { color: #000; background: #fff; }
  .page-content { display: block; }
  .hero { max-height: 200px; }
  a { color: #000; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
