/* ============================================================
   ProServAI — Static Site Styles
   Muted, professional consultancy aesthetic.
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg:        #FAFAF8;
  --color-surface:   #FFFFFF;
  --color-text:      #2C2C2C;
  --color-text-muted:#6B6B6B;
  --color-accent:    #3D5A80;
  --color-accent-light:#E8EEF4;
  --color-border:    #E0DDD8;
  --color-dark-bg:   #1E2A38;
  --font-heading:    'Inter', system-ui, -apple-system, sans-serif;
  --font-body:       'Inter', system-ui, -apple-system, sans-serif;
  --max-width:       1100px;
  --radius:          6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; }
h1 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; font-weight: 600; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
p  { margin-bottom: 1rem; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 5rem 0; }
.section--alt { background: var(--color-surface); }

/* --- Header / Nav --- */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.nav__logo:hover { text-decoration: none; }

.nav__links { display: flex; gap: 2rem; list-style: none; }
.nav__links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--color-text); text-decoration: none; }

.nav__cta {
  display: inline-block;
  background: var(--color-accent);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.nav__cta:hover { background: #2E4A6B; text-decoration: none; }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: 0.3s;
}

/* --- Hero --- */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero h1 { margin-bottom: 1.25rem; }

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover { background: #2E4A6B; text-decoration: none; color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn--outline:hover {
  background: var(--color-accent);
  color: #fff;
}

/* --- Feature Cards --- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.feature-card__icon {
  width: 40px;
  height: 40px;
  background: var(--color-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-size: 1.1rem;
}

.feature-card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* --- Verticals / Audience --- */
.verticals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.vertical-tag {
  background: var(--color-accent-light);
  color: var(--color-accent);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

/* --- Services / How We Work --- */
.engagement-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.engagement-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.engagement-step__body h3 { margin-bottom: 0.5rem; }
.engagement-step__body p  { color: var(--color-text-muted); }

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

.deliverable-item {
  background: var(--color-accent-light);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--color-text);
}

/* --- About --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-photo-placeholder {
  background: var(--color-accent-light);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.values-list { list-style: none; margin-top: 1.5rem; }
.values-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-muted);
}
.values-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

.contact-info h3 { margin-bottom: 1rem; }
.contact-info p  { color: var(--color-text-muted); margin-bottom: 1.5rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-detail__icon {
  width: 36px;
  height: 36px;
  background: var(--color-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-dark-bg);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: #fff; }

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .hero { padding: 4rem 0 3rem; }
  .features { grid-template-columns: 1fr; }
  .verticals { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .engagement-step { flex-direction: column; gap: 1rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }

  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
}
