:root {
  --navy: #0f2744;
  --navy-mid: #1a3d6b;
  --green: #7cb518;
  --green-bright: #9ed029;
  --white: #ffffff;
  --gray: #475569;
  --light: #f8fafc;
}

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

@page {
  size: letter;
  margin: 0;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #e2e8f0;
  color: var(--navy);
  line-height: 1.5;
}

.flyer {
  width: 8.5in;
  min-height: 11in;
  margin: 1rem auto;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.flyer--brief {
  min-height: 10.5in;
}

.flyer-header {
  background: #081528;
  color: var(--white);
  padding: 0.5in 0.6in 0.42in;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35in;
}

.flyer-logo {
  display: flex;
  align-items: center;
  gap: 0.16in;
}

.flyer-logo-mark {
  width: 0.68in;
  height: 0.68in;
  border-radius: 10px;
  overflow: hidden;
  background: #081528;
  flex-shrink: 0;
}

.flyer-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flyer-logo-text h1 {
  font-size: 17pt;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
}

.flyer-logo-text h1 span {
  color: var(--green-bright);
}

.flyer-header-meta {
  text-align: right;
}

.flyer-header-meta .tagline {
  font-size: 10pt;
  color: var(--green-bright);
  font-weight: 600;
}

.flyer-header-meta .est {
  font-size: 8.5pt;
  opacity: 0.85;
  margin-top: 0.08in;
}

.flyer-hero {
  position: relative;
  height: 1.85in;
  overflow: hidden;
}

.flyer--brief .flyer-hero {
  height: 1.55in;
}

.flyer-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flyer-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 39, 68, 0.93) 0%, rgba(15, 39, 68, 0.55) 100%);
  display: flex;
  align-items: center;
  padding: 0 0.6in;
}

.flyer-hero-overlay p {
  color: var(--white);
  font-size: 13pt;
  font-weight: 600;
  max-width: 5.8in;
  line-height: 1.45;
}

.flyer-body {
  padding: 0.38in 0.6in;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.32in;
}

.flyer--brief .flyer-body {
  padding-top: 0.32in;
}

.flyer-section h2 {
  font-size: 10.5pt;
  color: var(--navy-mid);
  border-bottom: 2px solid var(--green);
  padding-bottom: 0.07in;
  margin-bottom: 0.14in;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.flyer-section p,
.flyer-section li {
  font-size: 9pt;
  color: var(--gray);
  line-height: 1.55;
}

.flyer-section ul {
  list-style: none;
  padding: 0;
}

.flyer-section li {
  padding: 0.04in 0 0.04in 0.18in;
  position: relative;
}

.flyer-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.13in;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.flyer-full {
  grid-column: 1 / -1;
}

.service-list li strong {
  color: var(--navy-mid);
}

.usp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.14in;
}

.flyer--brief .usp-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0.1in;
}

.usp-item {
  background: var(--light);
  border-left: 3px solid var(--green);
  padding: 0.11in 0.14in;
  font-size: 8.5pt;
  color: var(--gray);
}

.flyer--brief .usp-item {
  border-left-width: 2px;
  padding: 0.09in 0.1in;
  font-size: 7.8pt;
}

.usp-item strong {
  display: block;
  color: var(--navy-mid);
  font-size: 8.8pt;
  margin-bottom: 0.03in;
}

.flyer--brief .usp-item strong {
  font-size: 8pt;
}

.partner-box,
.info-box {
  background: var(--light);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.14in;
}

.partner-box strong,
.info-box strong {
  color: var(--navy-mid);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.12in;
}

.process-step {
  background: var(--light);
  border-top: 3px solid var(--green);
  padding: 0.12in;
  font-size: 8pt;
  color: var(--gray);
}

.process-step strong {
  display: block;
  color: var(--navy-mid);
  font-size: 8.5pt;
  margin-bottom: 0.04in;
}

.industry-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.08in;
}

.industry-chip {
  font-size: 7.5pt;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--light);
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.05in 0.12in;
}

.flyer-footer {
  background: var(--navy);
  color: var(--white);
  padding: 0.26in 0.6in;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.3in;
}

.flyer-footer .cta {
  font-size: 10.5pt;
  font-weight: 700;
  color: var(--green-bright);
}

.flyer-footer .contact {
  text-align: right;
  font-size: 9pt;
  line-height: 1.6;
}

.flyer-footer .contact a {
  color: var(--green-bright);
  text-decoration: none;
}

.print-bar {
  text-align: center;
  padding: 1rem;
}

.print-bar button {
  background: var(--green);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}

.print-bar button:hover {
  background: #5a8f0f;
}

.print-bar .flyer-nav {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #64748b;
}

.print-bar .flyer-nav a {
  color: var(--navy-mid);
  font-weight: 600;
}

@media print {
  body { background: white; }
  .print-bar { display: none; }
  .flyer { margin: 0; box-shadow: none; }
}
