/* American IT USA — landing styles */
:root {
  --navy: #0A3161;
  --navy-deep: #002868;
  --navy-soft: #0d3a73;
  --red: #B22234;
  --red-hover: #961c2c;
  --white: #FFFFFF;
  --off-white: #F7F9FC;
  --slate: #4A5568;
  --slate-dark: #1A202C;
  --border: #E2E8F0;
  --shadow: 0 4px 24px rgba(10, 49, 97, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 49, 97, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font);
  color: var(--slate-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
ul { list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.logo-link { flex-shrink: 0; }
.logo-link img {
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
}
.nav a:hover,
.nav a:focus-visible { color: var(--navy); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

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

.btn-accent {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-accent:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: var(--white);
}

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

.btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; }

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background:
    linear-gradient(135deg, rgba(10, 49, 97, 0.04) 0%, rgba(178, 34, 52, 0.03) 100%),
    var(--off-white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(10, 49, 97, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--slate);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  font-size: 0.875rem;
  color: var(--slate);
}
.hero-meta a { font-weight: 600; }

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 1.75rem;
}
.hero-card-mark {
  width: 72px;
  height: auto;
  margin-bottom: 1.25rem;
}
.hero-card h2 {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.hero-card ul { display: grid; gap: 0.65rem; }
.hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: var(--slate-dark);
}
.hero-card li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--red);
}

/* Trust strip */
.trust {
  background: var(--navy-deep);
  color: var(--white);
  padding: 1.15rem 0;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.trust-list li {
  display: flex;
  align-items: center;
}
.trust-list li:not(:last-child)::after {
  content: "·";
  margin: 0 0.75rem;
  opacity: 0.45;
  font-weight: 400;
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--off-white); }

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy-deep);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.section-head p { color: var(--slate); font-size: 1.0625rem; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.service-card:hover {
  border-color: rgba(10, 49, 97, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(10, 49, 97, 0.08);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.service-card h3 {
  font-size: 1.05rem;
  color: var(--navy-deep);
  margin-bottom: 0.4rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.55;
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-top: 3px solid var(--navy);
  box-shadow: var(--shadow);
}
.why-card:nth-child(2) { border-top-color: var(--red); }
.why-card:nth-child(3) { border-top-color: var(--navy); }
.why-card:nth-child(4) { border-top-color: var(--red); }
.why-card h3 {
  font-size: 1.05rem;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}
.why-card p { font-size: 0.9rem; color: var(--slate); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 0.25rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.05rem;
  color: var(--navy-deep);
  margin-bottom: 0.4rem;
}
.step p { font-size: 0.9rem; color: var(--slate); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy-deep);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.about-copy p {
  color: var(--slate);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.stat span { font-size: 0.85rem; color: var(--slate); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
}
.contact-info > p {
  color: var(--slate);
  margin-bottom: 1.5rem;
}
.contact-channels {
  display: grid;
  gap: 0.85rem;
}
.channel {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.channel span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate);
}
.channel a, .channel strong {
  font-size: 1rem;
  color: var(--navy-deep);
  font-weight: 600;
}
.channel a:hover { color: var(--red); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--slate-dark);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 49, 97, 0.15);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-actions { margin-top: 0.5rem; }
.form-note {
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-success.is-visible { display: block; }
.form-success h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-success p { color: var(--slate); }
.contact-form.is-hidden { display: none; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 2rem;
}
.footer-inner {
  display: grid;
  gap: 1.25rem;
}
.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.footer-brand img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-meta {
  font-size: 0.875rem;
  line-height: 1.7;
}
.footer-meta a { color: var(--white); }
.footer-meta a:hover { color: #ffb3bc; }
.footer-privacy {
  font-size: 0.8rem;
  opacity: 0.75;
  max-width: 42rem;
  margin-top: 0.5rem;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid,
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-card { max-width: 28rem; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1rem;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid var(--border);
  }
  .header-cta { display: none; }
  .services-grid,
  .why-grid,
  .steps,
  .form-row,
  .about-stats { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 3.25rem 0; }
  .trust-list {
    justify-content: flex-start;
    gap: 0.35rem 0;
  }
  .trust-list li:not(:last-child)::after { margin: 0 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card { transition: none; }
}
