/* Clean black & white design for Pax Solutions */
:root {
  --black: #111111;
  --near-black: #1a1a1a;
  --grey: #666666;
  --light-grey: #f5f5f5;
  --border: #e0e0e0;
  --white: #ffffff;
  --text: #222222;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--black);
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.6;
}

.hero {
  background: #0a0a0a url('images/hero-bg.jpg') center center / cover no-repeat;
  color: var(--white);
  padding: 8rem 2rem 7rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  line-height: 1.05;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.88;
  margin-bottom: 2.75rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  padding: 0.8rem 2.2rem;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.btn:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

section {
  padding: 5rem 0;
}

.section-alt {
  background: #ececec;
}

#services {
  
  background: #ececec url('images/services-bg.jpg') center center / cover no-repeat;
  position: relative;
}

#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(236, 236, 236, 0.82);
  z-index: 0;
}

#services .container {
  position: relative;
  z-index: 1;
}

h2 {
  font-size: 2.15rem;
  color: var(--black);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.025em;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--black);
  margin: 1rem auto 0;
}

h3 {
  color: var(--black);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid #111;
  padding: 1.9rem 1.75rem;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.card h3 {
  font-size: 1.25rem;
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}

ul li::before {
  content: "–";
  color: var(--grey);
  position: absolute;
  left: 0;
}

.ethics-box {
  background: #0a0a0a;
  color: #ffffff;
  border: none;
  padding: 1.75rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.ethics-box h3,
.ethics-box p { color: #ffffff; }

footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.9rem;
}

footer a {
  color: #aaa;
  text-decoration: none;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  nav ul {
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero {
    padding: 5rem 1.5rem;
  }
  .container {
    padding: 3.5rem 1.5rem;
  }
}
