/* =========================================================
   Laser Fusion Solutions — site styles
   Palette: ink, steel, teal, ember, sand, gray
   ========================================================= */

:root {
  --ink: #0E1116;
  --charcoal: #2F2E2E;       /* matches logo dark color */
  --steel: #2C3E50;
  /* Brand yellow (replaces former teal accent — variable names kept for backward compat). */
  --teal: #FEC419;           /* primary brand yellow / decorative accent */
  --teal-dark: #8B6914;      /* darker gold — used where text contrast on white matters */
  --ember: #E0531F;
  --ember-dark: #C44515;
  --sand: #F5F2EC;
  --border: #D5D9DE;
  --gray: #5B6470;
  --gray-light: #8B95A1;
  --white: #FFFFFF;

  --max-w: 1200px;
  --pad-x: clamp(20px, 4vw, 48px);
  --radius: 6px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 3px rgba(14, 17, 22, 0.06);
  --shadow: 0 4px 16px rgba(14, 17, 22, 0.08);
  --shadow-lg: 0 12px 40px rgba(14, 17, 22, 0.12);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--teal-dark); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--ember); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.25rem; margin-bottom: 1em; }
li { margin-bottom: 0.35em; }

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }

.section-tinted { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-steel { background: var(--steel); color: var(--white); }
.section-steel h1, .section-steel h2, .section-steel h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.75em;
}
.section-dark .eyebrow, .section-steel .eyebrow { color: var(--teal); }

.muted { color: var(--gray); }

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.25rem);
  color: var(--gray);
  max-width: 70ch;
}
.section-dark .lead, .section-steel .lead { color: rgba(255, 255, 255, 0.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ember);
  color: var(--white);
  border-color: var(--ember);
}
.btn-primary:hover { background: var(--ember-dark); border-color: var(--ember-dark); color: var(--white); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--white); }

.section-dark .btn-secondary, .section-steel .btn-secondary {
  color: var(--white);
  border-color: var(--white);
}
.section-dark .btn-secondary:hover, .section-steel .btn-secondary:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost::after {
  content: '→';
  transition: transform 0.15s ease;
}
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-ghost:hover { color: var(--ember); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img {
  display: block;
  height: 44px;
  width: auto;
}
.site-footer .brand img { height: 56px; }

.nav-primary {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
}
.nav-primary li { margin: 0; }
.nav-primary a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.4rem 0.2rem;
}
.nav-primary a:hover { color: var(--teal-dark); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-tel {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  white-space: nowrap;
}
.nav-tel:hover { color: var(--ember); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-primary, .nav-cta { display: none; }
  .nav-primary.is-open, .nav-cta.is-open { display: flex; }
  .nav-primary.is-open, .nav-cta.is-open {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    padding: 20px var(--pad-x);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-cta.is-open { top: auto; padding-top: 0; box-shadow: none; border: 0; }
  .site-header { position: relative; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--steel) 100%);
  color: var(--white);
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(15, 181, 166, 0.16), transparent 45%),
    radial-gradient(circle at 0% 80%, rgba(224, 83, 31, 0.08), transparent 45%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 22ch; }
.hero p.lead {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1rem;
  max-width: 60ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- Audience selector ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.audience-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: var(--shadow);
}
.audience-card h3 { color: var(--ink); margin-bottom: 0.5rem; }
.audience-card p { color: var(--gray); margin-bottom: 1.25rem; }

/* ---------- Credibility strip ---------- */
.cred-strip {
  background: var(--steel);
  color: var(--white);
  padding: 1.5rem 0;
}
.cred-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.cred-strip span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}
.cred-strip strong { color: var(--white); font-weight: 600; }

/* ---------- Service tiles ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile h3 { margin-bottom: 0.6rem; color: var(--ink); }
.tile p { color: var(--gray); flex-grow: 1; margin-bottom: 1.5rem; }
.tile .tile-meta {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.tile-icon {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--sand);
  border-radius: 8px;
  margin-bottom: 1rem;
  color: var(--teal-dark);
}
.tile-icon svg { width: 22px; height: 22px; }

/* ---------- Past performance ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.proof-item {
  border-left: 3px solid var(--teal);
  background: var(--sand);
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.proof-item strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-weight: 600;
}
.proof-item p { color: var(--gray); font-size: 0.95rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 2rem auto 0; }
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--teal-dark);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 0 1.25rem; color: var(--gray); line-height: 1.65; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--white); }
.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { color: var(--white); max-width: 24ch; margin: 0; }
.cta-band p { color: rgba(255, 255, 255, 0.8); margin: 0.5rem 0 0; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: var(--teal); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 0.5rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- About / Founder cards ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.founder-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.founder-card h3 { margin-bottom: 0.25rem; }
.founder-card .founder-role {
  font-size: 0.9rem;
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}
.founder-card p { color: var(--gray); }
.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--steel), var(--ink));
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  position: relative;
  overflow: hidden;
}
.founder-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(15, 181, 166, 0.25), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(224, 83, 31, 0.10), transparent 50%);
}
.founder-photo span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.92);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- Why-choose-us pillars ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.pillar { padding: 1rem 0; }
.pillar h4 { margin-bottom: 0.4rem; color: var(--ink); }
.pillar p { color: var(--gray); font-size: 0.95rem; margin: 0; }
.pillar .pillar-num {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.15em;
  margin-bottom: 0.6rem;
}

/* ---------- Capability snapshot (gov buyers) ---------- */
.cap-snapshot {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2.5rem;
}
.cap-snapshot h3 { margin-bottom: 1rem; }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem 2rem;
}
.cap-grid dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.cap-grid dd {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ---------- Service detail page ---------- */
.service-section { padding: clamp(48px, 7vw, 80px) 0; }
.service-section + .service-section { border-top: 1px solid var(--border); }
.service-section .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 800px) {
  .service-section .container { grid-template-columns: 1fr; }
}
.service-section .visual {
  background: linear-gradient(135deg, var(--ink) 0%, var(--steel) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.service-section .visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(15, 181, 166, 0.22), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(224, 83, 31, 0.10), transparent 55%);
  pointer-events: none;
}
.service-section .visual svg {
  width: clamp(80px, 22%, 140px);
  height: auto;
  position: relative;
  z-index: 1;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.5;
  opacity: 0.9;
}
.service-section .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { font-size: 0.95rem; }
.contact-info h3 { font-size: 1rem; margin-top: 1.25rem; margin-bottom: 0.25rem; color: var(--gray); font-weight: 600; }
.contact-info h3:first-of-type { margin-top: 0; }
.contact-info p { color: var(--ink); font-weight: 500; margin-bottom: 0; }

.contact-info a { color: var(--ink); }
.contact-info a:hover { color: var(--ember); }

/* ---------- Form ---------- */
form.contact-form { display: grid; gap: 1rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.field-help { display: block; font-size: 0.8rem; color: var(--gray); margin-top: 0.3rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 181, 166, 0.18);
}

.checkbox-group, .radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.4rem 1rem;
}
.checkbox-group label, .radio-group label {
  font-weight: 400;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--ink);
}
.checkbox-group input, .radio-group input {
  margin-top: 0.2rem;
  accent-color: var(--teal-dark);
}

.form-actions { margin-top: 0.5rem; }

.form-success {
  display: none;
  padding: 1.5rem;
  background: rgba(15, 181, 166, 0.1);
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  color: var(--ink);
}
.form-success.is-visible { display: block; }
.form-success h3 { margin-bottom: 0.4rem; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Honeypot for Netlify */
.hp-field { position: absolute; left: -5000px; }
