/*
Theme Name: NanoQ Consultants
Theme URI: https://nanoqconsultants.com
Author: NanoQ Consultants LLC
Description: Custom theme for NanoQ Consultants — strategic advisory for advanced research environments, cleanrooms, and laboratory infrastructure.
Version: 1.0
Requires PHP: 7.4
Text Domain: nanoq
*/

/* -------------------------------------------------
   Reset / base
------------------------------------------------- */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -------------------------------------------------
   Header
------------------------------------------------- */
.site-header {
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo img { height: 3.5rem; width: auto; }
.site-logo a { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #334155;
}
.main-nav a:hover { color: #0f172a; }

@media (max-width: 767px) {
  .main-nav { display: none; }
}

/* -------------------------------------------------
   Hero
------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #0f172a;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.65);
}
.hero-inner {
  position: relative;
  padding: 6rem 1.5rem 8rem;
}
.hero-grid {
  display: grid;
  gap: 3rem;
  max-width: 72rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
}
.hero-badge {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.875rem;
  color: #f1f5f9;
  backdrop-filter: blur(6px);
}
.hero h1 {
  margin-top: 1.5rem;
  max-width: 46rem;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.15;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.5rem; } }
.hero p.lead {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #e2e8f0;
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn {
  border-radius: 1rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.15s ease, background 0.15s ease;
  display: inline-block;
}
.btn-primary {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); }

.hero-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  color: #fff;
  backdrop-filter: blur(6px);
}
.hero-card .label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #cbd5e1;
}
.hero-card ul { margin-top: 1.5rem; }
.hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.hero-card li:last-child { margin-bottom: 0; }
.dot {
  margin-top: 0.35rem;
  height: 0.6rem;
  width: 0.6rem;
  min-width: 0.6rem;
  border-radius: 999px;
  background: #0f172a;
}
.hero-card p { color: #f1f5f9; margin: 0; }

/* -------------------------------------------------
   Section headers
------------------------------------------------- */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #64748b;
}
.eyebrow.on-dark { color: #94a3b8; }
h2.section-title {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) { h2.section-title { font-size: 2.25rem; } }
.section-lead {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: #475569;
}

/* -------------------------------------------------
   Services
------------------------------------------------- */
.services-section {
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.services-section .container,
.about-section .container,
.experience-section .container,
.contact-section .container {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.services-intro { max-width: 48rem; }
.services-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
}
.service-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.service-card p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #475569;
}

/* -------------------------------------------------
   About
------------------------------------------------- */
.about-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; }
}
.about-copy {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #334155;
}
.about-copy p { margin: 0 0 1.5rem; }
.about-copy p:last-child { margin-bottom: 0; }

/* -------------------------------------------------
   Experience
------------------------------------------------- */
.experience-section {
  background: #0f172a;
  color: #fff;
}
.experience-intro { max-width: 48rem; }
.experience-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .experience-grid { grid-template-columns: repeat(3, 1fr); } }
.experience-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}
.experience-card .number { font-size: 0.85rem; color: #cbd5e1; }
.experience-card h3 { margin-top: 0.75rem; font-size: 1.25rem; font-weight: 600; }
.experience-card p { margin-top: 0.75rem; font-size: 0.9rem; line-height: 1.75; color: #cbd5e1; }

/* -------------------------------------------------
   Contact
------------------------------------------------- */
.contact-section .container { max-width: 56rem; }
.contact-box {
  border-radius: 2rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.contact-box .section-lead { max-width: 42rem; margin-left: auto; margin-right: auto; }
.contact-details {
  margin-top: 2rem;
  font-size: 1rem;
  color: #334155;
}
.contact-details p { margin: 0.25rem 0; }

/* -------------------------------------------------
   Footer
------------------------------------------------- */
.site-footer {
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}
