/* Hawking Ads — Google-inspired professional theme (white-first) */
:root {
  --ha-blue: #4285F4;
  --ha-red: #EA4335;
  --ha-yellow: #FBBC04;
  --ha-green: #34A853;
  --ha-ink: #202124;
  --ha-text: #3c4043;
  --ha-muted: #5f6368;
  --ha-line: #e8eaed;
  --ha-soft: #f8f9fa;
  --ha-white: #ffffff;
  --ha-shadow: 0 12px 40px rgba(32, 33, 36, 0.08);
  --ha-radius: 12px;
  --ha-max: 1140px;
  --ha-font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.hawking-ads-theme {
  margin: 0;
  font-family: var(--ha-font);
  color: var(--ha-text);
  background: var(--ha-white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ha-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  color: var(--ha-ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.ha-skip {
  position: absolute; left: -999px; top: 0;
}
.ha-skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 1000; }

.ha-container { width: min(100% - 2rem, var(--ha-max)); margin-inline: auto; }

/* Header */
.ha-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ha-line);
}
.ha-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.ha-brand .custom-logo-link img,
.ha-brand img { max-height: 42px; width: auto; }
.ha-nav { display: flex; align-items: center; gap: 1rem; }
.ha-menu {
  display: flex; flex-wrap: wrap; gap: .2rem 1rem;
  list-style: none; margin: 0; padding: 0; align-items: center;
}
.ha-menu a {
  color: var(--ha-ink); font-weight: 600; font-size: .92rem; text-decoration: none;
}
.ha-menu a:hover, .ha-menu .current-menu-item > a { color: var(--ha-blue); }
.ha-nav-toggle {
  display: none; background: none; border: 1px solid var(--ha-line);
  border-radius: 8px; width: 44px; height: 40px; padding: 10px 9px;
  flex-direction: column; justify-content: space-between; cursor: pointer;
}
.ha-nav-toggle span { display: block; height: 2px; background: var(--ha-ink); border-radius: 2px; }

/* Buttons */
.ha-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.25rem; border-radius: 999px; font-weight: 700;
  border: 2px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.ha-btn:hover { transform: translateY(-1px); }
.ha-btn-primary { background: var(--ha-blue); color: #fff !important; box-shadow: 0 6px 20px rgba(66,133,244,.28); }
.ha-btn-primary:hover { background: #1a73e8; }
.ha-btn-outline { background: #fff; border-color: var(--ha-line); color: var(--ha-ink) !important; }
.ha-btn-outline:hover { border-color: var(--ha-blue); color: var(--ha-blue) !important; }
.ha-btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.ha-cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }

/* Hero / sections */
.ha-hero, .ha-page-hero { padding: 3.5rem 0 2.5rem; background:
  radial-gradient(700px 280px at 10% 0%, rgba(66,133,244,.10), transparent 60%),
  radial-gradient(500px 240px at 90% 10%, rgba(52,168,83,.08), transparent 55%),
  #fff;
}
.ha-hero-grid, .ha-split, .ha-grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.ha-lede { font-size: 1.125rem; color: var(--ha-muted); max-width: 42rem; }
.ha-eyebrow {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ha-muted); margin-bottom: .75rem;
}
.ha-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.ha-blue { background: var(--ha-blue); }
.ha-red { background: var(--ha-red); }
.ha-yellow { background: var(--ha-yellow); }
.ha-green { background: var(--ha-green); }

.ha-proof {
  display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.5rem;
  padding-top: 1.25rem; border-top: 1px solid var(--ha-line);
}
.ha-proof strong { display: block; font-size: 1.35rem; color: var(--ha-ink); }
.ha-proof span { color: var(--ha-muted); font-size: .88rem; }

.ha-section { padding: 4rem 0; }
.ha-section-soft { background: var(--ha-soft); }
.ha-section-head { max-width: 40rem; margin-bottom: 2rem; }
.ha-muted { color: var(--ha-muted); }

.ha-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.ha-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }

.ha-card {
  background: #fff; border: 1px solid var(--ha-line); border-radius: var(--ha-radius);
  padding: 1.35rem; box-shadow: 0 1px 0 rgba(60,64,67,.04);
}
.ha-card-link { display: block; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ha-card-link:hover { border-color: var(--ha-blue); box-shadow: var(--ha-shadow); text-decoration: none; }
.ha-img-shadow { border-radius: 16px; box-shadow: var(--ha-shadow); border: 1px solid var(--ha-line); }

.ha-badge {
  display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; padding: .25rem .55rem; border-radius: 999px; margin-bottom: .6rem;
}
.ha-badge-blue { background: rgba(66,133,244,.12); color: #174ea6; }
.ha-badge-red { background: rgba(234,67,53,.12); color: #c5221f; }
.ha-badge-yellow { background: rgba(251,188,4,.22); color: #a05a00; }
.ha-badge-green { background: rgba(52,168,83,.14); color: #0d652d; }

.ha-icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; color: #fff; margin-bottom: .75rem;
}
.ha-icon-blue { background: var(--ha-blue); }
.ha-icon-red { background: var(--ha-red); }
.ha-icon-yellow { background: var(--ha-yellow); color: var(--ha-ink); }
.ha-icon-green { background: var(--ha-green); }

.ha-pill-grid { display: flex; flex-wrap: wrap; gap: .65rem; }
.ha-pill-grid a {
  border: 1px solid var(--ha-line); background: #fff; border-radius: 999px;
  padding: .55rem 1rem; font-weight: 600; color: var(--ha-ink); text-decoration: none;
}
.ha-pill-grid a:hover { border-color: var(--ha-blue); color: var(--ha-blue); }

.ha-check { list-style: none; padding: 0; margin: 0; }
.ha-check li { padding: .45rem 0 .45rem 1.5rem; position: relative; }
.ha-check li::before { content: "✓"; position: absolute; left: 0; color: var(--ha-green); font-weight: 800; }

.ha-price-card {
  background: #fff; border: 1px solid var(--ha-line); border-radius: 16px;
  padding: 1.5rem; display: flex; flex-direction: column; gap: .35rem;
}
.ha-price-card ul { padding-left: 1.1rem; margin: .5rem 0 1rem; color: var(--ha-text); flex: 1; }
.ha-price-card li { margin-bottom: .35rem; }
.ha-price { font-size: 2rem; font-weight: 800; color: var(--ha-ink); margin: .25rem 0; }
.ha-price span { font-size: 1rem; font-weight: 600; color: var(--ha-muted); }
.ha-price-featured { border-color: var(--ha-blue); box-shadow: 0 0 0 1px var(--ha-blue), var(--ha-shadow); }

.ha-cta-band {
  background: linear-gradient(135deg, rgba(66,133,244,.08), rgba(52,168,83,.08));
  border-top: 1px solid var(--ha-line); border-bottom: 1px solid var(--ha-line);
}
.ha-cta-band-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }

/* Forms */
.ha-form { display: grid; gap: .8rem; }
.ha-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--ha-ink); }
.ha-form input, .ha-form select, .ha-form textarea {
  width: 100%; padding: .8rem .9rem; border: 1px solid var(--ha-line); border-radius: 10px;
  font: inherit; background: #fff;
}
.ha-form input:focus, .ha-form select:focus, .ha-form textarea:focus {
  outline: 2px solid rgba(66,133,244,.35); border-color: var(--ha-blue);
}
.ha-form-note { font-size: .85rem; color: var(--ha-muted); margin: 0; }
.ha-form-success { background: rgba(52,168,83,.12); color: #0d652d; padding: .85rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.ha-form-error { background: rgba(234,67,53,.12); color: #c5221f; padding: .85rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.ha-contact-list { list-style: none; padding: 0; }
.ha-contact-list li { margin-bottom: .75rem; }

.ha-prose { max-width: 760px; }
.ha-prose h2 { margin-top: 1.5rem; }

/* Footer */
.ha-footer { background: var(--ha-ink); color: #bdc1c6; padding: 3rem 0 1.5rem; }
.ha-footer a { color: #e8eaed; text-decoration: none; }
.ha-footer a:hover { color: #fff; }
.ha-footer h4 { color: #fff; margin-bottom: .75rem; }
.ha-footer ul { list-style: none; padding: 0; margin: 0; }
.ha-footer li { margin-bottom: .4rem; }
.ha-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.ha-footer-logo { margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .95; }
.ha-footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.25rem; font-size: .9rem;
}
.ha-google-colors { display: flex; gap: 6px; margin: 0; }
.ha-google-colors span { width: 10px; height: 10px; border-radius: 50%; }
.ha-google-colors span:nth-child(1) { background: var(--ha-blue); }
.ha-google-colors span:nth-child(2) { background: var(--ha-red); }
.ha-google-colors span:nth-child(3) { background: var(--ha-yellow); }
.ha-google-colors span:nth-child(4) { background: var(--ha-green); }

/* Service tiles */
.ha-service-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.ha-service-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ha-line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ha-service-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--ha-shadow);
  border-color: rgba(66,133,244,.45);
}
.ha-tile-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--ha-soft);
}
.ha-tile-body { padding: 1.15rem 1.2rem 1.35rem; }
.ha-tile-link {
  display: inline-block;
  margin-top: .5rem;
  font-weight: 700;
  color: var(--ha-blue);
  font-size: .92rem;
}

/* Clients / results */
.ha-logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin: 0 0 2rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--ha-line);
  border-radius: 16px;
}
.ha-logo-row-tight {
  margin-bottom: .75rem;
}
.ha-logo-row-tight img,
.ha-logo-item img,
.ha-client-logo {
  max-height: 42px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .85;
}
.ha-result-logo {
  min-height: 48px;
  display: flex;
  align-items: center;
  margin-bottom: .5rem;
}
.ha-result-logo img { max-height: 36px; filter: none; opacity: 1; }
.ha-metric {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ha-green);
  margin: .2rem 0;
  line-height: 1;
}
.ha-metric-sm { font-size: 1.8rem; color: var(--ha-blue); }
.ha-result-card { display: flex; flex-direction: column; }
.ha-disclaimer { font-size: .85rem; margin-top: 1.25rem; }
.ha-center { text-align: center; }
.ha-steps { padding-left: 1.2rem; }
.ha-steps li { margin-bottom: .75rem; }

/* Contact section */
.ha-contact-section {
  background:
    radial-gradient(600px 280px at 0% 0%, rgba(66,133,244,.10), transparent 60%),
    radial-gradient(500px 240px at 100% 100%, rgba(52,168,83,.08), transparent 55%),
    var(--ha-soft);
  border-top: 1px solid var(--ha-line);
  scroll-margin-top: 90px;
}
.ha-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: start;
}
.ha-form-card { box-shadow: var(--ha-shadow); }
.ha-form-title { margin-top: 0; }
.ha-form-compact label { font-size: .9rem; }

/* WP / Elementor */
.ha-entry-content > *:first-child { margin-top: 0; }
#contact, #results, #services-preview, #audit-includes, #tool-pricing { scroll-margin-top: 90px; }
body.elementor-editor-active .ha-nav-toggle { display: none; }

@media (max-width: 960px) {
  .ha-hero-grid, .ha-split, .ha-grid-2, .ha-grid-3, .ha-grid-4, .ha-footer-grid,
  .ha-service-tiles, .ha-contact-grid { grid-template-columns: 1fr; }
  .ha-nav-toggle { display: flex; }
  .ha-nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    background: #fff; border-bottom: 1px solid var(--ha-line);
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.25rem;
  }
  .ha-nav.is-open { display: flex; }
  .ha-menu { flex-direction: column; align-items: flex-start; }
  .ha-tile-img { height: 160px; }
}
