/* ============================================================
   ATFS-USA — All Terrain Fire Support Inc.
   Professional Government Contractor Website
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --navy:       #0d1b2a;
  --navy-mid:   #162032;
  --navy-light: #1e2f45;
  --red:        #b91c1c;
  --red-dark:   #991b1b;
  --red-light:  #dc2626;
  --gold:       #c9a84c;
  --gold-light: #e5c97e;
  --white:      #ffffff;
  --off-white:  #f4f6f9;
  --gray-100:   #e8ecf1;
  --gray-200:   #d0d7e2;
  --gray-400:   #8a97aa;
  --gray-600:   #4a5568;
  --gray-800:   #1a202c;
  --font-body:  'Inter', sans-serif;
  --font-head:  'Oswald', sans-serif;
  --radius:     6px;
  --radius-lg:  12px;
  --shadow:     0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.2);
  --transition: 0.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Utility Bar ---- */
.utility-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0;
  font-size: 0.8rem;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.utility-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.utility-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-200);
}
.utility-item a {
  color: var(--gray-200);
  transition: color var(--transition);
}
.utility-item a:hover { color: var(--gold-light); }
.icon {
  width: 14px;
  height: 14px;
  fill: var(--gold);
  flex-shrink: 0;
}
.sdvosb-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.star-icon { fill: var(--gold-light); }

/* ---- Navigation ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-mid);
  border-bottom: 2px solid var(--red);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  transition: background var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px 10px;
}
.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: inline-block;
  padding: 8px 16px;
  color: var(--gray-200);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--red-dark) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(185,28,28,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-full { width: 100%; }

/* ---- Section Shared ---- */
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-tag.light { color: var(--gold-light); }
.section-header { margin-bottom: 56px; }
.section-header.center-text { text-align: center; }
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 680px;
  line-height: 1.75;
}
.section-header.center-text .section-intro { margin: 0 auto; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url('images/hero_wildland.jpg') center center / cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,0.93) 0%,
    rgba(13,27,42,0.82) 50%,
    rgba(185,28,28,0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
  max-width: 760px;
}
.hero-badge {
  margin-bottom: 28px;
}
.hero-badge img {
  width: 90px;
  height: auto;
  filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  backdrop-filter: blur(8px);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}
.stat-number {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
  letter-spacing: 0.03em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--navy);
  padding: 20px 0;
  border-top: 3px solid var(--red);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-200);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
}

/* ---- Services ---- */
.services {
  padding: 100px 0;
  background: var(--off-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--gray-100);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.04); }
.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(13,27,42,0.6) 100%);
}
.service-body {
  padding: 32px;
}
.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(185,28,28,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--red);
}
.service-body h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-body p {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 20px;
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  color: var(--gray-600);
  font-weight: 500;
}
.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- About ---- */
.about {
  padding: 100px 0;
  background: var(--navy);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}
.about-text p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-values {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.value-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}
.value-item strong {
  display: block;
  color: var(--white);
  font-size: 0.97rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.value-item p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.5;
}
.about-visual { position: relative; }
.about-img-stack { position: relative; }
.about-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-logos-pair {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}
.about-logo-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}
.about-logo-item img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
}
.about-sdvosb-logo {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.about-sdvosb-logo img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  display: block;
}
.badge-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.badge-text span {
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* ---- Credentials ---- */
.credentials {
  padding: 100px 0;
  background: var(--white);
}
.credentials .section-header h2 { color: var(--navy); }
.creds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cred-card {
  padding: 36px 28px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.cred-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
  border-radius: 4px 0 0 4px;
}
.cred-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.cred-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 16px;
}
.cred-card h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.cred-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---- Contact ---- */
.contact {
  padding: 100px 0;
  background: var(--navy-mid);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}
.contact-info > p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(185,28,28,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--red-light);
}
.contact-detail-item strong {
  display: block;
  color: var(--white);
  font-size: 0.87rem;
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-detail-item p {
  color: rgba(255,255,255,0.65);
  font-size: 0.93rem;
  line-height: 1.6;
}
.contact-detail-item a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.contact-detail-item a:hover { color: var(--gold-light); }

/* ---- Contact Form ---- */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(185,28,28,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: -8px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin: 16px 0 20px;
  max-width: 300px;
}
.footer-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
}
.footer-sdvosb {
  width: 72px;
  height: auto;
  opacity: 0.85;
}
.footer-links h5,
.footer-contact h5 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-contact a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom {
  padding: 20px 0;
  background: rgba(0,0,0,0.2);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-compliance {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .creds-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-inner { gap: 48px; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-mid);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 24px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-menu.open { display: block; }
  .nav-menu ul { flex-direction: column; gap: 4px; }
  .nav-link { display: block; padding: 12px 16px; }
  .site-header { position: relative; }

  /* Hero */
  .hero { min-height: auto; padding: 80px 0 60px; }
  .hero-stats { padding: 16px 20px; gap: 12px; }
  .stat { padding: 0 16px; }
  .stat-divider { display: none; }

  /* Trust */
  .trust-inner { gap: 4px; }
  .trust-item { border-right: none; padding: 6px 12px; }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-badge-card { position: relative; bottom: auto; left: auto; margin-top: 16px; }

  /* Credentials */
  .creds-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  /* Utility */
  .utility-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .sdvosb-tag { font-size: 0.72rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; align-items: flex-start; }
  .stat { align-items: flex-start; padding: 8px 0; }
  .contact-form-wrap { padding: 24px 20px; }
}
