/* ==================================================================
   Auto Access Denied — main stylesheet
   ================================================================== */
@font-face {
  font-family: "AAD Slogan";
  src: url("../assets/fonts/seguibl.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg: #0b1016;
  --bg-alt: #0f151d;
  --surface: #141c26;
  --surface-2: #1a2430;
  --line: #273342;
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #f2f6fa;
  --muted: #9aabbb;
  --muted-2: #74889a;
  --accent: #ff4d3d;
  --accent-dark: #d93527;
  --accent-soft: rgba(255, 77, 61, 0.12);
  --amber: #ffb43a;
  --green: #3ddc97;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* { box-sizing: border-box; }

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

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(100% - 40px, var(--max));
  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;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 8px;
  z-index: 200;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* JS-enabled reveal animation */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ================= Logo banner ================= */
.logo-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #0b1016 0%, #1a2430 50%, #0b1016 100%);
  border-bottom: 1px solid var(--line);
}
.logo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 77, 61, 0.18), transparent 65%);
  pointer-events: none;
}
.logo-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 102px;
  padding: 6px 0;
  width: 100%;
  max-width: none;
}
.logo-banner a {
  display: block;
  width: 100%;
}
.logo-banner img {
  width: 100%;
  height: 122px; /* keeps previous banner height; only width stretches */
  object-fit: fill;
  display: block;
}

/* ================= Header ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 16, 22, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.94rem;
  font-weight: 600;
}
.primary-nav > a:not(.btn) { color: var(--muted); transition: color .2s; }
.primary-nav > a:not(.btn):hover { color: var(--text); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  width: 44px;
  height: 44px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= Buttons ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(255, 77, 61, .18); }
.btn-primary:hover { background: #ff6355; box-shadow: 0 14px 30px rgba(255, 77, 61, .28); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: #fff; background: var(--accent-soft); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-soft); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.09); }
.btn-small { padding: 10px 16px; font-size: 0.88rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ================= Shared typography ================= */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; letter-spacing: -.025em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 750; }
p { color: var(--muted); margin: 0 0 16px; }
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }

.section-heading { max-width: 700px; margin: 0 auto 54px; text-align: center; }
.section-heading.left { margin-inline: 0; text-align: left; }
.section-heading .eyebrow { justify-content: center; }
.section-heading.left .eyebrow { justify-content: flex-start; }

.text-link { color: var(--accent); font-weight: 700; }
.text-link:hover { text-decoration: underline; }

/* ================= Hero ================= */
.hero {
  position: relative;
  overflow: hidden;
  font-family: "Segoe UI Black", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  padding: 92px 0 96px;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 77, 61, .10), transparent 42%),
    linear-gradient(180deg, #0d131b 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero-glow {
  position: absolute;
  width: 520px; height: 520px;
  right: -180px; top: -160px;
  background: radial-gradient(circle, rgba(255, 77, 61, .18), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 64px;
  align-items: center;
}
.hero-copy h1 {
  font-family: "AAD Slogan", "Segoe UI Black", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
}
.hero-copy h1 span { color: var(--accent); display: block; }
.hero-copy h1 .cap { color: inherit; display: inline; font-size: 1.3em; }
.lead { font-size: 1.08rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero-points {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  font-size: .9rem;
  color: var(--muted);
}
.hero-points span { color: var(--green); font-weight: 800; margin-right: 6px; }

.hero-visual { position: relative; }
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
}
.hero-image {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.05);
}
.hero-image-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,12,17,.05) 35%, rgba(8,12,17,.82) 100%);
}
.hero-badge {
  position: absolute;
  left: 24px; bottom: 22px;
  display: flex; flex-direction: column;
}
.hero-badge strong { font-size: 1.15rem; }
.hero-badge span { font-size: .84rem; color: #cfdae4; }
.hero-thumbs {
  position: absolute;
  right: -18px; bottom: -90px;
  display: flex; gap: 12px;
}
.thumb-card {
  width: 132px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.thumb-card img {
  width: 100%; height: 62px;
  object-fit: contain;
  background: #fff;
  border-radius: 7px;
  padding: 4px;
}
.thumb-card span { display: block; font-size: .72rem; color: var(--muted); text-align: center; padding-top: 7px; }

/* ================= Packages ================= */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.package-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, #111923 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.package-card:hover {
  transform: translateY(-6px);
  border-color: #3a4a5d;
  box-shadow: var(--shadow);
}
.package-card.featured {
  border-color: rgba(255, 77, 61, .5);
  box-shadow: 0 20px 60px rgba(255, 77, 61, .09);
}
.popular-tag {
  position: absolute;
  top: -13px; left: 26px;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.package-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.package-label {
  color: var(--muted-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.item-count {
  font-size: .68rem;
  color: var(--amber);
  border: 1px solid rgba(255, 180, 58, .3);
  background: rgba(255, 180, 58, .08);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
}
.package-card h3 { font-size: 1.55rem; margin-bottom: 6px; }
.price { color: var(--accent); font-weight: 800; font-size: 1.22rem; margin-bottom: 14px; }
.package-desc { font-size: .92rem; min-height: 70px; }
.package-images {
  display: flex;
  gap: 8px;
  margin: 8px 0 20px;
}
.package-images img {
  flex: 1;
  min-width: 0;
  height: 76px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
}
.features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 9px;
  font-size: .92rem;
  flex: 1;
}
.features li { display: flex; align-items: flex-start; gap: 10px; color: #d5e0ea; }
.features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  line-height: 1.4;
}
.package-card .btn { width: 100%; }
.fine-print {
  max-width: 820px;
  margin: 34px auto 0;
  text-align: center;
  font-size: .85rem;
  color: var(--muted-2);
}

/* ================= Steps ================= */
.steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
}
.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -22px; top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  z-index: 2;
}
.step-number {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 77, 61, .25);
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 22px;
}
.step p { font-size: .93rem; margin: 0; }

/* ================= Service area ================= */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.area-copy p { max-width: 480px; }
.radius-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-top: 40px;
  aspect-ratio: 2.6 / 1;
  display: grid;
  place-items: center;
}
.radius-ring {
  width: 190px; height: 190px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 77, 61, .55);
  background: radial-gradient(circle, rgba(255,77,61,.12), rgba(255,77,61,.02) 65%, transparent 70%);
  display: grid; place-items: center;
  box-shadow: 0 0 0 28px rgba(255, 77, 61, .035), 0 0 0 56px rgba(255, 77, 61, .02);
}
.radius-centre {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(255, 77, 61, .18);
}
.radius-label {
  position: absolute;
  font-size: .76rem;
  color: var(--muted-2);
  letter-spacing: .04em;
}
.radius-label-top { top: 4px; right: 8%; color: var(--accent); font-weight: 700; }
.radius-label-bottom { bottom: 6px; left: 8%; }

.checker-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.checker-card h3 { font-size: 1.5rem; }
.checker-card > p { font-size: .93rem; }
.input-row { display: flex; gap: 10px; margin-top: 22px; }
.input-row input { flex: 1; min-width: 0; }
.checker-note { font-size: .78rem; color: var(--muted-2); margin: 18px 0 0; }

input[type="text"], select, textarea {
  width: 100%;
  background: #0e141c;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 9px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input[type="text"]:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
::placeholder { color: #5f7384; }
textarea { resize: vertical; }

.suburb-result {
  margin-top: 20px;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: .92rem;
  border: 1px solid var(--line);
  background: #0e141c;
}
.suburb-result strong { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.suburb-result.ok { border-color: rgba(61, 220, 151, .35); background: rgba(61, 220, 151, .07); }
.suburb-result.ok strong { color: var(--green); }
.suburb-result.out { border-color: rgba(255, 180, 58, .35); background: rgba(255, 180, 58, .07); }
.suburb-result.out strong { color: var(--amber); }
.suburb-result.error { border-color: rgba(255, 77, 61, .35); background: rgba(255, 77, 61, .07); }
.suburb-result.error strong { color: var(--accent); }
.suburb-result .result-meta { color: var(--muted); font-size: .85rem; }
.suburb-result .result-cta {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: .86rem;
}
.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: -2px;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================= FAQ ================= */
.faq-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 76px;
  align-items: start;
}
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-list details[open] { border-color: #3a4a5d; }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 54px 20px 22px;
  font-weight: 700;
  position: relative;
  font-size: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 22px 22px; color: var(--muted); font-size: .93rem; }

/* ================= Quote form ================= */
.quote-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 78px;
  align-items: start;
}
.quote-intro p { max-width: 430px; }
.contact-card {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  display: grid;
  gap: 6px;
  font-size: .92rem;
  color: var(--muted);
}
.contact-card span:first-child { color: var(--text); font-weight: 800; font-size: 1.05rem; }
.contact-card a { color: var(--accent); font-weight: 700; overflow-wrap: anywhere; }

.quote-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 700; color: #d8e2eb; }
.field label span { color: var(--accent); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--accent); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  margin-top: 4px;
}
.form-footer p { margin: 0; font-size: .78rem; color: var(--muted-2); max-width: 300px; }
.form-status {
  grid-column: 1 / -1;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: .9rem;
}
.form-status.success { background: rgba(61, 220, 151, .1); border: 1px solid rgba(61,220,151,.35); color: #a7f3d0; }
.form-status.error { background: rgba(255, 77, 61, .1); border: 1px solid rgba(255,77,61,.35); color: #ffc9c3; }

/* ================= Footer ================= */
.site-footer {
  background: #080c11;
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .9fr;
  gap: 48px;
  padding-bottom: 44px;
}
.footer-brand img { height: 52px; width: auto; object-fit: contain; margin-bottom: 18px; }
.footer-brand p { max-width: 330px; font-size: .9rem; }
.footer-links, .footer-contact { display: grid; gap: 9px; align-content: start; font-size: .9rem; color: var(--muted); }
.footer-links h3, .footer-contact h3 { color: var(--text); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact .admin-link { color: var(--muted-2); font-size: .8rem; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--muted-2);
}

/* ================= Responsive ================= */
@media (max-width: 1000px) {
  .hero-grid, .area-grid, .faq-grid, .quote-grid { grid-template-columns: 1fr; gap: 48px; }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .package-card:last-child { grid-column: 1 / -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -24px; transform: translateX(50%); }
  .radius-visual { margin-inline: auto; }
  .quote-intro p { max-width: 620px; }
}

@media (max-width: 780px) {
  .logo-banner-inner { min-height: 84px; padding: 6px 0; }
  .logo-banner img { width: 100%; height: 122px; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 22px;
    background: rgba(11, 16, 22, .98);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .primary-nav.open { display: flex; }
  .primary-nav > a:not(.btn) { padding: 12px 4px; }
  .section { padding: 74px 0; }
  .hero { padding: 64px 0 76px; }
  .hero-thumbs { right: 8px; bottom: -90px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--max)); }
  .logo-banner-inner { min-height: 68px; }
  .logo-banner img { width: 100%; height: 122px; }
  .package-grid { grid-template-columns: 1fr; }
  .package-card:last-child { grid-column: auto; max-width: none; }
  .hero-thumbs { position: static; margin-top: 14px; }
  .thumb-card { width: 50%; }
  .input-row { flex-direction: column; }
  .quote-form { grid-template-columns: 1fr; padding: 26px 20px; }
  .field-full { grid-column: auto; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .form-footer p { max-width: none; }
  .checker-card { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
