/* styles.css - Refined industrial B2B system */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  font-family: Inter, Arial, sans-serif;
  color: #242424;
  background: #f6f6f5;
  font-size: 16px;
  line-height: 1.75;
}

body {
  min-height: 100vh;
  background-color: #f6f6f5;
}

a {
  color: #0056b3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

header {
  background-color: #ffffff;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #d8d8d6;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  height: 56px;
  width: auto;
}

.headshot {
  width: 110px;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
}

.contact-info {
  text-align: right;
  font-size: 0.95rem;
}

.contact-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.contact-info p {
  margin: 0;
  color: #4b4b4b;
}

.small-caption {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: #6f6f6f;
}

nav {
  background: #2b2b2b;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.25rem 1rem;
}

.nav-list a {
  color: #f5f5f5;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  font-weight: 600;
}

.nav-list a:hover,
.nav-list a.active {
  background-color: #3f5170;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

section {
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2.25rem, 3vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.4;
}

p {
  max-width: 70ch;
  margin-bottom: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e3e3e1;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 15, 15, 0.05);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.hero-text p {
  font-size: 1.05rem;
  color: #4f4f4f;
}

.hero-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  padding-left: 0;
  margin: 0;
}

.hero-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #4f4f4f;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #0056b3;
  border-radius: 50%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.button-primary {
  background-color: #1a4c8b;
  color: #fff;
}

.button-secondary {
  background-color: #e3e3e1;
  color: #242424;
}

.button:hover {
  transform: translateY(-1px);
}

.hero-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.hero-media img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-grid--compact {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}

.section-split {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 310px);
  gap: 1.25rem;
  align-items: start;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.simple-list {
  list-style: none;
  padding-left: 1.1rem;
  margin: 0;
  columns: 2;
  gap: 0.75rem;
  color: #4f4f4f;
}

.section-secondary {
  border-color: #d8dbe1;
}

.section-contrast {
  background: #ffffff;
  border: 1px solid #e4e4e2;
  border-radius: 16px;
  padding: 1.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: #ffffff;
  border: 1px solid #e4e4e2;
  padding: 1rem;
  text-align: left;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 15, 15, 0.08);
}

.product-card img {
  margin-bottom: 0.85rem;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.product-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.product-card p {
  margin-bottom: 0.85rem;
  color: #4f4f4f;
}

.product-card a {
  display: inline-flex;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background-color: #1a4c8b;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

.product-card a:hover {
  background-color: #143f72;
}

.product-card--secondary {
  border-color: #d8dbe1;
}

.details summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.9rem 1rem;
  background: #f1f1f0;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.details summary::-webkit-details-marker {
  display: none;
}

.details p,
.details li {
  margin: 0.75rem 0 0;
  color: #4f4f4f;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #e4e4e2;
  padding: 1.25rem;
  border-radius: 16px;
}

.contact-card h2 {
  margin-top: 0;
}

.contact-card p,
.contact-card address {
  color: #4f4f4f;
  margin-bottom: 0.75rem;
}

.contact-card address {
  font-style: normal;
  line-height: 1.6;
}

.contact-person {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-person .photo-placeholder {
  width: 90px;
  height: 90px;
  background: #e4e4e2;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #696969;
  font-size: 0.85rem;
  text-align: center;
}

footer {
  background-color: #262a30;
  color: #d8d8d8;
  padding: 2rem 1rem;
}

footer p {
  margin: 0.4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand a {
  color: #ffffff;
}

.footer-section h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.footer-section a {
  color: #cfd4db;
}

.footer-section a:hover {
  color: #ffffff;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    grid-template-columns: 1fr 1fr;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list a {
    justify-content: center;
  }

  .hero-media {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-grid--compact {
    grid-template-columns: 1fr;
  }
}
