/* FILE: client-django-sites/biopel/static/css/styles.css */
/* DATE: 2026-06-09 */
/* PURPOSE: Industrial B2B styling for the Bio Pel client site. */

:root {
  --bg: #f8f9fd;
  --surface: #ffffff;
  --surface-soft: #f2f3f7;
  --line: #c5c6cb;
  --text: #191c1f;
  --muted: #44474b;
  --primary: #1a212a;
  --primary-deep: #040912;
  --blue: #485c97;
  --green: #005c37;
  --green-dark: #00442b;
  --shadow: 4px 4px 0 rgba(26, 33, 42, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 64px;
  background: rgba(248, 249, 253, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand img { width: 96px; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--primary); }

.nav-cta {
  padding: 12px 18px;
  color: #fff !important;
  background: var(--green);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--primary);
  background: var(--surface);
  padding: 10px 14px;
  font: inherit;
}

.hero,
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 64px;
  align-items: center;
  min-height: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: #0d2537;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: #132b3c;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.btn-primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.btn-primary:hover { background: var(--primary); border-color: var(--primary); }
.btn-secondary { background: var(--surface); color: var(--primary); }
.btn-secondary:hover { background: var(--surface-soft); }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 620px;
  margin: 42px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-metrics div {
  padding: 18px;
  background: var(--surface);
}

.hero-metrics dt {
  margin-bottom: 6px;
  color: var(--primary);
  font-weight: 800;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  display: grid;
  gap: 18px;
  align-content: center;
}

.mini-card {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mini-card img {
  width: 124px;
  height: 96px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.mini-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-card strong {
  color: var(--primary);
  font-size: 22px;
}

.product-section,
.trust-section,
.partner-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.section p {
  color: var(--muted);
}

.image-frame {
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.spec-table {
  width: 100%;
  margin: 28px 0 18px;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
}

.spec-table th {
  padding: 12px 16px;
  color: #fff;
  background: var(--green-dark);
  font-size: 12px;
  text-align: left;
  text-transform: uppercase;
}

.spec-table td {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.spec-table tr:nth-child(odd) td { background: var(--surface-soft); }

.price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.price-row div {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
}

.price-row span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.price-row strong {
  color: var(--primary);
  font-size: 22px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.quality-section {
  display: block;
}

.quality-visual {
  position: relative;
}

.quality-visual img {
  min-height: 440px;
}

.quality-card {
  position: absolute;
  left: 40px;
  bottom: 40px;
  max-width: 390px;
  padding: 26px;
  color: #fff;
  background: rgba(0, 92, 55, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.quality-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.quality-card span {
  color: rgba(255, 255, 255, 0.86);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  background: var(--surface);
  border-left: 4px solid var(--green);
}

.logistics-band {
  padding: 86px 64px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(0, 68, 43, 0.92), rgba(0, 68, 43, 0.92)),
    url("../img/production.jpg") center / cover;
}

.logistics-band h2 {
  color: #fff;
}

.logistics-band p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.82);
}

.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1040px;
  margin: 42px auto 0;
}

.logistics-grid div {
  min-height: 148px;
  padding: 24px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.logistics-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.logistics-grid span {
  color: rgba(255, 255, 255, 0.76);
}

blockquote {
  margin: 0;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  color: var(--primary);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.contact-section {
  background: var(--surface-soft);
  max-width: none;
  padding-left: max(64px, calc((100vw - 1280px) / 2 + 64px));
  padding-right: max(64px, calc((100vw - 1280px) / 2 + 64px));
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 13px 14px;
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 54px 64px;
  color: #d7dce3;
  background: #151c25;
  border-top: 4px solid var(--green);
}

.site-footer p,
.site-footer a {
  color: #c4cad3;
}

.site-footer a {
  display: block;
  margin-top: 8px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-logo {
  width: 112px;
  margin-bottom: 18px;
  filter: brightness(1.25);
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 96px 64px;
}

.legal-page h1 {
  font-size: 44px;
}

.legal-box {
  margin-top: 22px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.legal-box h2 {
  font-size: 22px;
}

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

@media (max-width: 900px) {
  .site-header {
    padding: 12px 18px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
    gap: 16px;
  }

  .hero,
  .section,
  .contact-section {
    grid-template-columns: 1fr;
    padding: 64px 18px;
  }

  .hero {
    min-height: auto;
    gap: 38px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.14;
  }

  h2 {
    font-size: 28px;
  }

  .hero-metrics,
  .price-row,
  .logistics-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .mini-card {
    grid-template-columns: 96px 1fr;
  }

  .mini-card img {
    width: 96px;
    height: 82px;
  }

  .image-frame img,
  .quality-visual img {
    min-height: 220px;
  }

  .quality-card {
    position: static;
    max-width: none;
    margin-top: 8px;
  }

  .logistics-band {
    padding: 64px 18px;
  }

  .site-footer {
    padding: 42px 18px;
  }

  .legal-page {
    padding: 64px 18px;
  }
}
