/* =========================================================
   PINK HOUSE PROPERTY PRESERVATIONS
   Federal / Defense Contractor Visual System
   Clean • High-trust • Restrained accent
   ========================================================= */

:root {
  /* Primary brand accent from logo */
  --pink: #C2185B;
  --pink-hover: #AD1457;
  --pink-soft: rgba(194, 24, 91, 0.10);
  --pink-border: rgba(194, 24, 91, 0.28);

  /* Federal-leaning neutrals */
  --navy: #0A1628;
  --navy-2: #0F1C2E;
  --surface: #121E30;
  --surface-2: #162436;
  --border: #243447;
  --border-strong: #2E4057;

  /* Text */
  --text: #E6ECF4;
  --text-secondary: #A0B0C4;
  --text-muted: #6B7C92;
  --white: #FFFFFF;

  /* Status */
  --success: #2E7D32;

  /* Type */
  --font: 'Source Sans 3', 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Source Sans 3', 'Inter', system-ui, sans-serif;

  /* Layout */
  --container: 1140px;
  --header-h: 68px;
  --radius: 6px;
  --radius-lg: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- OFFICIAL BANNER ---------- */
.usa-banner {
  background: #06101C;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}
.banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
}
.banner-flag {
  display: flex;
  align-items: center;
  gap: 10px;
}
.flag-icon { font-size: 15px; line-height: 1; }
.banner-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.25);
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 22, 40, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--pink);
  text-transform: uppercase;
}
.brand-sub {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 7px 11px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.nav-contact-btn {
  background: var(--pink) !important;
  color: #fff !important;
  margin-left: 6px;
  font-weight: 700 !important;
}
.nav-contact-btn:hover {
  background: var(--pink-hover) !important;
}

.header-cta { display: flex; align-items: center; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn-sm { padding: 7px 13px; font-size: 13px; }
.btn-lg { padding: 12px 22px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--pink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--pink-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--pink);
  color: var(--pink);
}

/* ---------- HERO ---------- */
.hero-section {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0A1628 0%, #0C1A2C 100%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
}
.badge-primary {
  background: var(--pink);
  color: #fff;
}
.badge-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
}
.badge-accent {
  background: var(--pink-soft);
  color: #E91E63;
  border: 1px solid var(--pink-border);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  max-width: 860px;
  color: var(--white);
}
.text-accent {
  color: var(--pink);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

/* Credentials bar – high visibility trust signals */
.credentials-bar {
  display: flex;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cred-item {
  flex: 1;
  min-width: 130px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cred-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.cred-value {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--white);
  letter-spacing: 0.02em;
}
.cred-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--navy-2);
}
.section-head {
  margin-bottom: 40px;
}
.section-head.text-center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}
.section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--white);
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}
.stat-num {
  font-weight: 700;
  font-size: 2.15rem;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-num .unit {
  font-size: 1rem;
  font-weight: 600;
  color: #E91E63;
  margin-left: 1px;
}
.stat-label {
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 8px;
  color: var(--text);
}
.stat-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Capabilities */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.15s;
}
.cap-card:hover {
  border-color: var(--pink-border);
}
.cap-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-soft);
  color: var(--pink);
  border-radius: 6px;
  margin-bottom: 16px;
}
.cap-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--white);
}
.cap-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}
.cap-bullets {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cap-bullets li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}
.cap-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  opacity: 0.75;
}

/* Defense card */
.defense-banner-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}
.defense-content { max-width: 760px; }
.defense-title {
  font-weight: 700;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  margin: 14px 0 16px;
  line-height: 1.25;
  color: var(--white);
}
.defense-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 24px;
}
.defense-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.dp-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.dp-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-soft);
  color: var(--pink);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

/* Codes */
.codes-tables-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.table-heading {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text);
}
.code-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.code-row {
  display: flex;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  align-items: baseline;
}
.code-row:last-child { border-bottom: none; }
.code-row.primary {
  background: var(--pink-soft);
}
.code-row.highlight {
  background: rgba(194, 24, 91, 0.06);
}
.code-id {
  font-weight: 700;
  color: var(--pink);
  min-width: 76px;
  flex-shrink: 0;
  font-size: 13px;
}
.code-name { color: var(--text-secondary); }

/* Teaming */
.teaming-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}
.teaming-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 36px;
}
.teaming-header h2 {
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  margin: 12px 0 14px;
  color: var(--white);
}
.teaming-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}
.teaming-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.tb-item {
  text-align: center;
  padding: 4px;
}
.tb-num {
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--pink);
  margin-bottom: 8px;
  opacity: 0.9;
}
.tb-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--white);
}
.tb-item p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.teaming-cta { text-align: center; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: start;
}
.contact-desc {
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}
.info-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.info-block {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
}
.ib-icon { font-size: 16px; line-height: 1.4; }
.info-block strong {
  display: block;
  color: var(--text);
  margin-bottom: 1px;
  font-size: 13.5px;
}
.info-block span { color: var(--text-secondary); }

.direct-downloads h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dl-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.dl-links a {
  font-size: 13.5px;
  color: #E91E63;
  transition: color 0.15s;
}
.dl-links a:hover { color: var(--pink); }

/* Form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.bid-form h3 {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--white);
}
.bid-form > p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 10px 12px;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-soft);
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-feedback {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  min-height: 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.form-feedback.success {
  background: rgba(46, 125, 50, 0.12);
  border: 1px solid #2E7D32;
  color: #81C784;
  padding: 12px 16px;
}
.form-feedback.error {
  background: rgba(211, 47, 47, 0.12);
  border: 1px solid #D32F2F;
  color: #EF5350;
  padding: 12px 16px;
}
.form-feedback.loading {
  background: rgba(25, 118, 210, 0.12);
  border: 1px solid #1976D2;
  color: #64B5F6;
  padding: 12px 16px;
}
.form-feedback.warning {
  background: rgba(245, 124, 0, 0.12);
  border: 1px solid #F57C00;
  color: #FFB74D;
  padding: 12px 16px;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Footer */
.site-footer {
  background: #060E18;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-logo {
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--pink);
  margin-bottom: 12px;
}
.footer-legal p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 10px;
}
.compliance-note {
  font-size: 12.5px !important;
  color: var(--text-muted) !important;
}
.footer-links h4,
.footer-contacts h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 7px;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--pink); }
.footer-contacts p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .codes-tables-wrap { grid-template-columns: 1fr; }
  .teaming-benefits-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .credentials-bar { flex-direction: column; }
  .cred-divider { width: 100%; height: 1px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; }
  .defense-banner-card,
  .teaming-card { padding: 24px 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .banner-inner { flex-direction: column; align-items: flex-start; }
  .logo-text { display: none; }
}
