/* Simple static styling for I.T Help Hamilton.
   No build step or frameworks required. */

:root {
  color-scheme: light;
  --bg: hsl(220, 18%, 97%);
  --fg: hsl(220, 25%, 12%);
  --muted: hsl(220, 12%, 42%);
  --card: hsl(0, 0%, 100%);
  --border: hsl(220, 14%, 88%);
  --accent: hsl(212, 72%, 42%);
  --accent-foreground: hsl(0, 0%, 100%);
  --shadow-glow: 0 4px 20px -6px rgba(30, 64, 175, 0.25);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}


a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: hsl(220, 18%, 18%);
  border-bottom: 1px solid hsl(220, 14%, 24%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 108px;
  padding: 1.25rem 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  color: hsl(0, 0%, 100%);
}

.brand img {
  max-height: 100px;
  width: auto;
}

.brand span {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: hsl(0, 0%, 100%);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
  box-shadow: none;
}

header .btn-outline {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.4);
}

header .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.8);
  color: hsl(0, 0%, 100%);
  background: rgba(255, 255, 255, 0.1);
}

header .btn {
  background: hsl(212, 72%, 48%);
  border-color: transparent;
}

header .btn:hover {
  background: hsl(212, 72%, 42%);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-foreground);
  background: rgba(30, 64, 175, 0.06);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.12), rgba(30, 64, 175, 0.06));
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(30, 64, 175, 0.2);
}

main {
  padding-bottom: 2rem;
  position: relative;
  z-index: 1;
}

section {
  padding: 3.5rem 0;
}

section.alt-bg {
  background: linear-gradient(180deg, hsl(220, 14%, 96%) 0%, hsl(220, 18%, 97%) 100%);
}

.section-title {
  font-size: clamp(1.75rem, 3vw + 1rem, 2.6rem);
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
}

.section-subtitle {
  color: var(--muted);
  font-size: 1rem;
  max-width: 640px;
  margin: 0;
}

.hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 3.5rem 0;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw + 1.3rem, 3rem);
  margin: 0 0 0.6rem;
}

.hero p {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: hsl(220, 14%, 94%);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg);
  font-size: 0.9rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 2px 12px -4px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 24px -8px rgba(30, 64, 175, 0.2);
  border-color: hsl(220, 14%, 82%);
}

.card h3 {
  margin: 0 0 0.4rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.highlight {
  background: hsl(220, 14%, 96%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: var(--card);
}

.faq-item p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

form {
  display: grid;
  gap: 0.9rem;
}

label {
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.25rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: hsl(0, 0%, 100%);
  color: var(--fg);
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(30, 64, 175, 0.35);
  border-color: var(--accent);
}

textarea {
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: hsl(220, 14%, 98%);
}

.checkbox-row input[type="checkbox"] {
  width: auto;
  margin-top: 0.15rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}


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

.status {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  display: none;
}

.status.ok {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #166534;
}

.status.error {
  display: block;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #991b1b;
}

.footer {
  border-top: 1px solid var(--border);
  background: hsl(220, 14%, 94%);
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.floating-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: none;
}

.floating-call a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

.cta-banner {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 1.75rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, hsl(220, 14%, 98%) 100%);
  box-shadow: 0 4px 20px -8px rgba(30, 64, 175, 0.15);
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .nav {
    min-height: 92px;
    padding: 1rem 0;
  }

  .floating-call {
    display: block;
  }

  .nav .btn {
    padding: 0.55rem 0.95rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero {
    padding: 2.5rem 0;
  }

  .btn {
    width: 100%;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }
}
