/* =========================================================
   USA Skills Inc. — main stylesheet
   Load order: bootstrap.min.css -> fonts -> this file
   ========================================================= */

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (min-width: 992px) { html { scroll-padding-top: 128px; } }
body { margin: 0; font-family: 'Inter', Arial, sans-serif; background: #f5f7fa; }
img { max-width: 100%; height: auto; }
.pg { width: 100%; color: #0b1f3a; background: #f5f7fa; }

/* Slightly roomier side padding than the Bootstrap default */
.container { padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px)  { .container { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1200px) { .container { padding-left: 32px; padding-right: 32px; } }

/* Equal-height cards inside a Bootstrap row */
.row-eq > .col { display: flex; }
.row-eq > .col > * { flex: 1 1 auto; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-weight: 700; color: inherit; }
h1 { font-size: 34px; line-height: 1.12; margin: 0 0 20px; letter-spacing: -.02em; }
h2 { font-size: 26px; line-height: 1.2;  margin: 0 0 12px; letter-spacing: -.01em; }
h3 { font-size: 19px; line-height: 1.3;  margin: 0 0 8px; }
@media (min-width: 768px) {
  h1 { font-size: 46px; }
  h2 { font-size: 36px; }
  h3 { font-size: 20px; }
}
@media (min-width: 1200px) { h1 { font-size: 54px; } }

.eb { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #ff9aa2; margin-bottom: 16px; }
.lead { font-size: 17px; font-weight: 400; line-height: 1.6; color: #c9d6e8; margin: 0 0 32px; }
@media (min-width: 768px) { .lead { font-size: 19px; } }
.mut { font-size: 15px; line-height: 1.6; color: #44556e; margin: 0; }

/* ---------- Sticky header ---------- */
.hdr { position: sticky; top: 0; z-index: 1000; transition: box-shadow .25s ease; }
.hdr.stuck { box-shadow: 0 8px 22px rgba(11, 31, 58, .16); }

.top {
  background: #0b1f3a; color: #c9d6e8; font-size: 13px;
  padding: 8px 12px; text-align: center;
}

.navbar { background: #fff; border-bottom: 1px solid #dde3ec; padding: 0; }
.navbar > .container { min-height: 64px; }
@media (min-width: 992px) { .navbar > .container { min-height: 76px; } }

.navbar-brand.lg {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 0;
  font-weight: 800; font-size: 21px; color: #0b1f3a; text-decoration: none;
}
.lg img { height: 48px; width: auto; display: block; }
@media (min-width: 992px) { .lg img { height: 64px; } }

.navbar-nav { gap: 2px 24px; width: 100%; padding: 10px 0 16px; }
@media (min-width: 992px) { .navbar-nav { width: auto; padding: 0; } }
.navbar-nav .nav-link { color: #0b1f3a; font-size: 15px; font-weight: 600; padding: 8px 0; white-space: nowrap; }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus { color: #b3202a; }
.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
  color: #b3202a; font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.navbar .cta { margin-top: 14px; }
@media (min-width: 992px) { .navbar .cta { margin-top: 0; margin-left: 8px; } }

/* Desktop: brand left, menu always centered, CTA right */
@media (min-width: 992px) {
  .navbar > .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .navbar-expand-lg .navbar-collapse { display: contents !important; }
  .navbar-brand.lg { justify-self: start; }
  .navbar-nav { margin: 0; justify-self: center; }
  .navbar .cta { margin-left: 0; justify-self: end; }
}

/* ---------- Buttons ---------- */
.cta {
  display: inline-block; min-height: 48px; line-height: 48px; padding: 0 28px;
  border: 0; border-radius: 8px; background: #b3202a; color: #fff;
  text-decoration: none; text-align: center; font-weight: 700; font-size: 15px; cursor: pointer;
  font-family: 'Inter', Arial, sans-serif;
}
.form-ok { font-size: 14px; font-weight: 600; color: #1a7a43; }
.cta:hover, .cta:focus { background: #98191f; color: #fff; }
.cta.o { background: transparent; border: 2px solid #fff; line-height: 44px; }
.cta.o:hover, .cta.o:focus { background: rgba(255, 255, 255, .14); color: #fff; }
.cta.d { background: #0b1f3a; }
.cta.d:hover, .cta.d:focus { background: #143a68; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #0b1f3a, #143a68);
  color: #fff; padding: 56px 0;
}
@media (min-width: 992px) { .hero { padding: 88px 0; } }

.trust {
  display: flex; gap: 12px 28px; margin-top: 36px; flex-wrap: wrap;
  font-size: 14px; color: #c9d6e8; font-weight: 600;
}

.panel { display: flex; flex-direction: column; gap: 14px; }
.pc {
  background: #fff; color: #0b1f3a; border-radius: 12px; padding: 16px 18px;
  display: flex; gap: 14px; align-items: center;
}
@media (min-width: 768px) { .pc { padding: 20px 24px; } }
.pc b { display: block; font-size: 16px; }
.pc span { font-size: 13px; color: #44556e; }
.pc em {
  font-style: normal; width: 44px; height: 44px; border-radius: 10px;
  background: #e9eef6; color: #b3202a; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex: none;
}

/* ---------- Sections ---------- */
.sec { padding: 56px 0; }
@media (min-width: 768px) { .sec { padding: 88px 0; } }
.alt { background: #fff; }
.nv  { background: #0b1f3a; color: #fff; }

.hd { max-width: 720px; margin-bottom: 32px; }
@media (min-width: 768px) { .hd { margin-bottom: 44px; } }
.hd .eb { color: #b3202a; }
.nv .hd .eb { color: #ff9aa2; }
.nv .mut { color: #c9d6e8; }

/* ---------- Cards ---------- */
.c {
  background: #fff; border: 1px solid #dde3ec; border-radius: 14px; padding: 22px;
  display: flex; flex-direction: column; gap: 10px; width: 100%;
}
@media (min-width: 768px) { .c { padding: 28px; } }
.alt .c { background: #f5f7fa; }

.n { font-size: 13px; font-weight: 800; color: #b3202a; }
.ph {
  height: 120px; border-radius: 10px; background: #dde3ec; color: #44556e;
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tg {
  align-self: flex-start; font-size: 12px; font-weight: 700;
  background: #e9eef6; border-radius: 20px; padding: 4px 12px;
}
.ln {
  color: #b3202a; font-weight: 700; font-size: 14px;
  text-decoration: none; margin-top: auto; padding-top: 8px;
}
.ln:hover { text-decoration: underline; }
.ul { margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; color: #44556e; line-height: 1.9; }

/* Services page */
.ph-lg { height: 240px; }
@media (min-width: 992px) { .ph-lg { height: 300px; } }
.pr { font-size: 26px; font-weight: 800; margin: 8px 0 4px; color: #0b1f3a; }

/* Products page */
.ph-md { height: 170px; }
.filters { background: #fff; border-bottom: 1px solid #dde3ec; padding: 20px 0; }
a.ch { text-decoration: none; }
.ch.on { background: #0b1f3a; color: #fff; }
.prow {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px 12px; flex-wrap: wrap; margin-top: auto; padding-top: 8px;
}
.prow .pr { font-size: 22px; margin: 0; }
.cta.s { min-height: 44px; line-height: 44px; padding: 0 20px; font-size: 14px; }

/* Product cards: image badge, meta line, sale price, feature lists */
.ph { position: relative; }
.ib {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: #fff; color: #0b1f3a; font-size: 11px; font-weight: 800;
  letter-spacing: .06em; padding: 5px 10px; border-radius: 6px;
  box-shadow: 0 4px 12px rgba(11, 31, 58, .18);
}
.ib.save { background: #1a7a43; color: #fff; }
.ib.hot  { background: #b3202a; color: #fff; }
.meta { font-size: 12.5px; font-weight: 600; color: #6b7c95; }
.prow .pr s { font-size: 14px; font-weight: 600; color: #7a8aa3; text-decoration: line-through; margin-right: 6px; }
.cta.added { background: #1a7a43; }

.feat { margin: 2px 0 0; padding: 0; list-style: none; font-size: 14px; color: #44556e; line-height: 1.6; display: grid; gap: 6px; }
.feat li { padding-left: 24px; position: relative; }
.feat li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #1a7a43; font-weight: 800; }
.feat.dk { color: #c9d6e8; }
.feat.dk li::before { color: #7ee2a8; }

.per { font-size: 15px; font-weight: 600; color: #c9d6e8; }
.pl { display: flex; flex-direction: column; }
.pl .feat { margin-bottom: 18px; }
.pl .cta { margin-top: auto; align-self: flex-start; }

/* Card hover lift + filter chips */
.pgrid .c { transition: transform .2s ease, box-shadow .2s ease; }
.pgrid .c:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11, 31, 58, .12); }
.filters a.ch { transition: background .15s ease, color .15s ease; }
.filters a.ch:hover { background: #0b1f3a; color: #fff; }
.price-note { font-size: 13px; font-weight: 600; color: #6b7c95; margin-top: 14px; }
.nv .price-note { color: #9fb0c8; }

/* How-it-works icon tiles */
.ic {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: #e9eef6; color: #b3202a;
  display: flex; align-items: center; justify-content: center;
}

/* Pricing cards */
.pl { background: #143a68; border-radius: 14px; padding: 26px; width: 100%; }
@media (min-width: 768px) { .pl { padding: 32px; } }
.pl .n { color: #ff9aa2; }
.pl .pr { font-size: 30px; font-weight: 800; margin: 10px 0 4px; color: #fff; }
.pl p { color: #c9d6e8; font-size: 14px; line-height: 1.6; margin: 0; }
.pl p + p { margin-top: 12px; }

/* Chips */
.ch {
  display: inline-block; background: #e9eef6; border-radius: 6px; padding: 6px 12px;
  font-size: 13px; font-weight: 600; margin: 0;
}

/* ---------- Contact form ---------- */
.form-card { background: #fff; color: #0b1f3a; border-radius: 14px; padding: 24px; }
@media (min-width: 768px) { .form-card { padding: 32px; } }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.fld input, .fld select, .fld textarea {
  font: inherit; width: 100%; padding: 12px; border: 1px solid #b9c4d4;
  border-radius: 8px; min-height: 46px; background: #fff; color: #0b1f3a;
}
.fld textarea { min-height: 110px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none; border-color: #b3202a; box-shadow: 0 0 0 3px rgba(179, 32, 42, .12);
}

/* ---------- Footer ---------- */
.ft { background: #071427; color: #9fb0c8; padding: 48px 0 28px; font-size: 14px; line-height: 2; }
@media (min-width: 768px) { .ft { padding: 56px 0 32px; } }
.ft b { color: #fff; display: block; }
.footer-bottom {
  margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(159, 176, 200, .2);
  font-size: 12px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 16px; flex-wrap: wrap;
}

/* ---------- Scroll to top ---------- */
.ttop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px; border: 0; border-radius: 8px;
  background: #b3202a; color: #fff; font-family: 'Inter', Arial, sans-serif;
  font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none;
}
.ttop:hover, .ttop:focus { background: #fff; color: #0b1f3a; }

.stt {
  position: fixed; right: 16px; bottom: 16px; width: 46px; height: 46px;
  border: 0; border-radius: 50%; background: #b3202a; color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 1100; font-family: 'Inter', Arial, sans-serif;
}
@media (min-width: 768px) { .stt { right: 24px; bottom: 24px; width: 50px; height: 50px; font-size: 22px; } }
.stt.show { opacity: 1; visibility: visible; transform: translateY(0); }
.stt:hover, .stt:focus { background: #0b1f3a; }
