/* ===== AZO Tech LLC — site styles ===== */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --surface: #ffffff;
  --text: #1c2333;
  --text-muted: #5b6577;
  --border: #e3e7f0;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #7c3aed;
  --on-primary: #ffffff;
  --shadow: 0 8px 30px rgba(28, 35, 51, 0.08);
  --radius: 14px;
}

[data-theme="dark"] {
  --bg: #0d1220;
  --bg-alt: #121a2d;
  --surface: #17203a;
  --text: #e8ecf5;
  --text-muted: #9aa5bd;
  --border: #253052;
  --primary: #3b82f6;
  --primary-hover: #609bfa;
  --accent: #a78bfa;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.9rem; }
.btn-block { width: 100%; border: 0; font-family: inherit; }

.text-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem 0;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }

.site-nav { flex: 1; }

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-menu a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

/* ===== Hero ===== */
.hero {
  padding: 6rem 0 4.5rem;
  text-align: center;
  background:
    radial-gradient(60% 55% at 50% 0%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 70%),
    var(--bg);
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 22ch;
  margin-inline: auto;
}
.hero-sub {
  max-width: 62ch;
  margin: 1.5rem auto 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  list-style: none;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero-stats li { display: grid; gap: 0.15rem; }
.hero-stats strong { font-size: 1.6rem; font-weight: 800; }
.hero-stats span { color: var(--text-muted); font-size: 0.9rem; }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  padding-bottom: 0.9rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 68ch;
  margin-bottom: 3rem;
}
.section-head p { color: var(--text-muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 4rem;
  align-items: start;
}
.split-intro p { color: var(--text-muted); margin-bottom: 1.2rem; }

/* ===== Service list ===== */
.service-list { display: grid; gap: 2.2rem; }
.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  flex-shrink: 0;
}
.service-item h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.service-item p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Vendor cards ===== */
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
}
.vendor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.vendor-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.vendor-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.vendor-card > p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 0.9rem; }
.vendor-card ul { list-style: none; display: grid; gap: 0.5rem; }
.vendor-card li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  color: var(--text);
}
.vendor-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== Engagement ===== */
.engagement { margin-top: 3.5rem; }
.engagement h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.engagement-item { display: grid; gap: 0.3rem; align-content: start; }
.engagement-item strong { font-size: 1rem; }
.engagement-item span { color: var(--text-muted); font-size: 0.92rem; }
.engagement-cta { margin-top: 2.25rem; }

/* ===== Check grid ===== */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 2rem;
  list-style: none;
  align-content: start;
}
.check-grid li {
  position: relative;
  padding-left: 1.7rem;
  font-weight: 500;
}
.check-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* ===== About ===== */
.about-points { display: grid; gap: 1.75rem; }
.about-point { display: grid; gap: 0.3rem; }
.about-point span { color: var(--text-muted); font-size: 0.95rem; }

/* ===== CTA band ===== */
.cta-band {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
  padding: 3.5rem 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.cta-inner p { color: var(--text-muted); margin-top: 0.25rem; }

/* ===== Contact form ===== */
.contact-form { display: grid; gap: 1rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.97rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}
.contact-form textarea { resize: vertical; }
.form-status { font-size: 0.9rem; color: var(--text-muted); min-height: 1.4em; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.25rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  flex: 1;
}
.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-nav a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 0.88rem; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }

  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 4%;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { display: block; padding: 0.8rem 0; }

  .hero { padding: 4rem 0 3.5rem; }
  .hero-stats { gap: 2rem; }
}

@media (max-width: 520px) {
  .check-grid { grid-template-columns: 1fr; }

  .header-inner { gap: 0.5rem; }
  .site-nav { flex: 0; order: 3; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { white-space: nowrap; padding: 0.45rem 0.8rem; font-size: 0.82rem; }
  .brand img { width: 118px; height: auto; }
  .theme-toggle { width: 34px; height: 34px; }
  .nav-toggle { width: 36px; height: 36px; }
}
