/* BizGigz Business Services — bizgigz.com.au
   Brand: logo blue #0A56D1, dark hover #0847AF (matches bizgigz.com) */

:root {
  --brand: #0A56D1;
  --brand-dark: #0847AF;
  --ink: #1a2333;
  --ink-soft: #4b586e;
  --bg: #ffffff;
  --bg-alt: #f3f7fd;
  --line: #dde5f0;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(10, 86, 209, 0.08);
}

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

html { scroll-behavior: smooth; }

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--brand); line-height: 1.2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 2px solid transparent;
}
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-inverse { background: #fff; color: var(--brand); }
.btn-inverse:hover { background: var(--bg-alt); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { height: 48px; width: auto; }
.brand-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
}
.site-nav a:hover { color: var(--brand); }
.site-nav a.btn { color: #fff; }
.site-nav a.btn:hover { color: #fff; }
.site-nav a.nav-phone {
  color: var(--brand);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #ffffff 100%);
  padding: 90px 0 70px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 800px;
  margin: 0 auto 20px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-note { color: var(--ink-soft); font-size: 0.95rem; }
.hero-note a { color: var(--brand); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  text-align: center;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
}

/* ---------- Section image ---------- */
.section-image {
  max-width: 820px;
  margin: 0 auto 48px;
}
.section-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; fill: var(--brand); }

/* ---------- Case studies ---------- */
.case-study .tag {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 6px 14px 0;
}
.case-study .tag-sample {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.case-study .results {
  margin-top: 14px;
  padding-left: 0;
  list-style: none;
}
.case-study .results li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.95rem;
}
.case-study .results li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

/* ---------- Contact form ---------- */
.inline-phone { color: var(--brand); font-weight: 700; text-decoration: none; }
.inline-phone:hover { text-decoration: underline; }

.contact-form {
  max-width: 640px;
  margin: 0 auto;
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.contact-form .optional { font-weight: 400; color: var(--ink-soft); }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}
.contact-form textarea { resize: vertical; }
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form button { cursor: pointer; font-size: 1rem; }
.contact-form button:disabled { opacity: 0.6; cursor: default; }
.honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin-top: 14px; font-weight: 600; min-height: 1.4em; }
.form-status.success { color: #157347; }
.form-status.error { color: #b02a37; }

@media (max-width: 560px) {
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brand);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: 12px; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; opacity: 0.92; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0d1526;
  color: #c4cddc;
  padding: 48px 0 0;
  font-size: 0.95rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}
.footer-brand img { height: 56px; margin-bottom: 12px; }
.footer-phone {
  display: inline-block;
  margin-top: 12px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}
.footer-phone:hover { text-decoration: underline; }
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.footer-social a {
  color: #c4cddc;
  transition: color 0.15s ease;
}
.footer-social a:hover { color: #fff; }
.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.footer-links h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1rem;
}
.footer-links a {
  display: block;
  color: #c4cddc;
  text-decoration: none;
  margin-bottom: 8px;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  padding-bottom: 18px;
  text-align: center;
  font-size: 0.85rem;
  color: #8b97ab;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .header-inner { flex-direction: column; }
  .site-nav { justify-content: center; }
  .hero { padding: 60px 0 50px; }
  .footer-inner { grid-template-columns: 1fr; }
}
