/* GxP Consulting Group — static site styles
   Matches the look of the current Squarespace site: clean serif/sans nav,
   full-width hero photography with overlaid title, generous whitespace,
   black footer with LinkedIn link. */

:root {
  --text-dark: #1a1a1a;
  --text-muted: #444;
  --border-light: #e5e5e5;
  --footer-bg: #000;
  --footer-text: #fff;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header / nav */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border-light);
}

.logo {
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 600;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  border-bottom-color: var(--text-dark);
}

/* Nav toggle for mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
    z-index: 10;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 16px 40px;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-toggle {
    display: block;
  }
}

/* Hero section (image with overlaid title) */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
}

.hero-title {
  position: relative;
  color: #fff;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  padding: 0 60px;
  max-width: 780px;
}

.hero--home {
  min-height: 70vh;
}

.hero--home .hero-title {
  font-weight: 300;
}

/* Page content */
.page-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 40px 80px;
}

.page-content h2 {
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-top: 2.4em;
  margin-bottom: 0.6em;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 0.4em;
}

.page-content p {
  color: var(--text-muted);
  margin: 0 0 1.2em;
}

.page-content a {
  color: var(--text-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content a:hover {
  color: #555;
}

.page-content ul {
  color: var(--text-muted);
  padding-left: 1.2em;
  margin: 0 0 1.4em;
}

.page-content ul li {
  margin-bottom: 0.4em;
}

.page-content .callout {
  font-weight: 500;
  color: var(--text-dark);
}

/* Clients grid */
.clients-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 40px 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 32px;
  align-items: center;
}

.clients-grid img {
  max-height: 70px;
  width: auto;
  margin: 0 auto;
  filter: grayscale(0%);
}

@media (max-width: 900px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact form */
.contact-intro {
  max-width: 700px;
  margin: 0 auto;
  padding: 56px 40px 0;
  text-align: left;
}

.contact-intro h2 {
  font-size: 1.6rem;
  font-weight: 500;
}

form.contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 24px 40px 96px;
}

.form-row {
  display: flex;
  gap: 24px;
}

.form-row .field {
  flex: 1;
}

.field {
  margin-bottom: 28px;
}

.field label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.field .required {
  color: #888;
  font-weight: 400;
  font-size: 0.85rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  background: #fafafa;
  font-size: 1rem;
  font-family: inherit;
  border-radius: 2px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.submit-btn {
  background: var(--text-dark);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
}

.submit-btn:hover {
  background: #333;
}

.form-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: 12px;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 36px 20px;
}

.site-footer .social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #2b2b2b;
  border-radius: 4px;
  margin-bottom: 14px;
}

.site-footer .social svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.site-footer p {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
}
