/* ==========================================================================
   Website Builder Sydney: Sydney GeoHub stylesheet
   Same token system as the St George / FP Web Design network sites.
   Plain CSS, mobile-first, no frameworks.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #070b12;
  --bg-elev: #0b111b;
  --card: #101826;
  --card-2: #0c131e;
  --text: #eef2f8;
  --text-muted: #a3aec0;
  --text-dim: #7d889b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent-1: #38e0d4;
  --accent-2: #4a86ff;
  --accent-grad: linear-gradient(105deg, #3fe3cf 0%, #4a86ff 100%);
  --accent-soft: rgba(74, 134, 255, 0.14);
  --green: #37e08f;
  --amber: #ffcf6b;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow: 0 18px 50px rgba(3, 8, 18, 0.55);

  --container: 1200px;
  --header-h: 72px;
}

/* 2. Reset & base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-1); text-underline-offset: 3px; }
a:hover { color: #7ff0e7; }
ul, ol { padding-left: 1.2rem; }
:focus-visible { outline: 2px solid var(--accent-1); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--accent-1); color: #021014; padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* 3. Typography ------------------------------------------------------------ */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 var(--space-4); font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-4); }
.lede { font-family: var(--font-serif); font-size: clamp(1.15rem, 2.2vw, 1.35rem); color: var(--text-muted); line-height: 1.55; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-1); margin-bottom: var(--space-3);
}
.gradient-text { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.fs-sm { font-size: 0.9rem; }

/* 4. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.section { padding: var(--space-16) 0; }
.section--alt { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: var(--space-8); }
.measure { max-width: 72ch; }
.grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
.stack > * + * { margin-top: var(--space-4); }

/* 5. Buttons & pills ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.4rem; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--accent-grad); color: #04111a; box-shadow: 0 10px 30px rgba(74, 134, 255, 0.25); }
.btn-primary:hover { color: #04111a; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.pill {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.85rem; border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong); font-size: 0.85rem; color: var(--text-muted); background: rgba(255, 255, 255, 0.03);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pill-row { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: 0; }

/* 6. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(7, 11, 18, 0.92); border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: var(--space-4); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--accent-grad); color: #04111a;
  display: grid; place-items: center; font-size: 0.85rem; font-weight: 900;
}
.brand-name small { display: block; font-size: 0.72rem; font-weight: 600; color: var(--text-dim); letter-spacing: 0.02em; }
.nav { display: none; }
.nav ul { display: flex; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-actions .btn { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.9rem; }
.header-phone { display: none; color: var(--text); font-weight: 700; text-decoration: none; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid var(--border-strong); color: var(--text); cursor: pointer;
}
.mobile-menu { border-bottom: 1px solid var(--border); background: var(--bg-elev); }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: var(--space-4) 1rem var(--space-6); }
.mobile-menu a { display: block; padding: 0.7rem 0; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--border); }

/* 7. Breadcrumbs & hero ---------------------------------------------------- */
.crumbs { padding-top: var(--space-6); font-size: 0.85rem; color: var(--text-dim); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 0.4rem; color: var(--text-dim); }
.crumbs a { color: var(--text-muted); }
.hero { padding: var(--space-8) 0 var(--space-16); }
.hero-grid { display: grid; gap: var(--space-12); align-items: center; }
.hero .lede { max-width: 60ch; }
.trust-row { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); list-style: none; padding: 0; margin: var(--space-8) 0 0; font-size: 0.92rem; color: var(--text-muted); }
.trust-row li { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust-row li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-1); }
.hero-card {
  background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow);
}
.hero-card h2 { font-size: 1.2rem; }
.hero-card .price { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin-bottom: var(--space-2); }
.ticks { list-style: none; padding: 0; margin: var(--space-4) 0 0; }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: 0.55rem; color: var(--text-muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }

/* 8. Cards ----------------------------------------------------------------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-6);
}
.card h3 { margin-bottom: var(--space-2); }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: var(--space-4);
  background: var(--accent-soft); color: var(--accent-1);
}
.card-icon svg { width: 22px; height: 22px; }
.card .meta { font-size: 0.82rem; color: var(--text-dim); margin-bottom: var(--space-2); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.card-link { font-weight: 700; text-decoration: none; }
.card-link::after { content: " →"; }

/* 9. Pricing --------------------------------------------------------------- */
.plan { display: flex; flex-direction: column; }
.plan--featured { border-color: rgba(56, 224, 212, 0.45); box-shadow: 0 0 0 1px rgba(56, 224, 212, 0.25), var(--shadow); }
.plan .price { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
.plan .price small { font-size: 0.95rem; font-weight: 600; color: var(--text-dim); letter-spacing: 0; }
.plan .ticks { flex: 1; margin-bottom: var(--space-6); }
.badge {
  align-self: flex-start; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.25rem 0.7rem; border-radius: var(--radius-pill); background: var(--accent-grad); color: #04111a; margin-bottom: var(--space-3);
}

/* 10. Service areas (GeoHub core) ----------------------------------------- */
.area-group + .area-group { margin-top: var(--space-12); }
.area-group > h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-1); margin-bottom: var(--space-4); }
.area-card h4 { font-size: 1.15rem; margin-bottom: var(--space-2); }
.area-card .places { font-size: 0.85rem; color: var(--text-dim); margin-bottom: var(--space-3); }
.area-card .links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: var(--space-3) 0 0; padding: 0; list-style: none; font-size: 0.92rem; }
.status { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); color: var(--text-dim); margin-left: 0.4rem; vertical-align: middle; }
.nearby { margin-top: var(--space-8); padding: var(--space-6); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.nearby p:last-child { margin-bottom: 0; }

/* 11. Work ----------------------------------------------------------------- */
.work-card { padding: 0; overflow: hidden; }
.work-card img { width: 100%; aspect-ratio: 800 / 370; object-fit: cover; object-position: top; border-bottom: 1px solid var(--border); background: var(--card-2); }
.work-card .card-body { padding: var(--space-6); }

/* 12. Reviews -------------------------------------------------------------- */
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.45; color: var(--text); }
.quote-card figcaption { color: var(--text-muted); font-size: 0.92rem; font-weight: 600; }
.source-note { font-size: 0.85rem; color: var(--text-dim); margin-top: var(--space-6); }

/* 13. Placeholders --------------------------------------------------------- */
[data-placeholder] {
  border: 1px dashed rgba(255, 207, 107, 0.55); background: rgba(255, 207, 107, 0.06); border-radius: var(--radius);
  padding: var(--space-6); color: var(--amber);
}
[data-placeholder] p:last-child { margin-bottom: 0; }

/* 14. Process -------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 3.5rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0;
  font-weight: 900; font-size: 1.1rem; color: var(--accent-1);
}

/* 15. FAQ ------------------------------------------------------------------ */
.faq { max-width: 860px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.faq-item + .faq-item { margin-top: var(--space-3); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: var(--space-4) var(--space-6); font-weight: 700; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-1); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 var(--space-6) var(--space-6); color: var(--text-muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* 16. About ---------------------------------------------------------------- */
.about-grid { display: grid; gap: var(--space-8); }
.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li { display: grid; grid-template-columns: 1fr; gap: 0.15rem; padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
.fact-list dt, .fact-list .k { color: var(--text-dim); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }

/* 17. Quote form / final CTA ---------------------------------------------- */
.ready { background: radial-gradient(1200px 400px at 50% 0%, rgba(74, 134, 255, 0.16), transparent 70%), var(--bg-elev); border-top: 1px solid var(--border); }
.ready-grid { display: grid; gap: var(--space-8); }
.form-card { background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: var(--space-6); }
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.35rem; }
.field .req { color: var(--accent-1); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--card-2); color: var(--text); font: inherit;
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; gap: 0 var(--space-4); }
.form-note { font-size: 0.85rem; color: var(--text-dim); margin-top: var(--space-3); }
.contact-lines { list-style: none; padding: 0; margin: var(--space-6) 0 0; }
.contact-lines li { margin-bottom: var(--space-2); }
.contact-lines a { color: var(--text); font-weight: 700; }

/* 18. Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding: var(--space-12) 0 var(--space-8); font-size: 0.92rem; color: var(--text-muted); }
.footer-grid { display: grid; gap: var(--space-8); }
.site-footer h2 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-bottom { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-dim); }
.footer-bottom p { margin-bottom: var(--space-2); }

/* 19. Breakpoints ---------------------------------------------------------- */
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .fact-list li { grid-template-columns: 180px 1fr; gap: var(--space-4); }
}
@media (min-width: 960px) {
  .section { padding: var(--space-24) 0; }
  .container { padding: 0 1.5rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { grid-template-columns: 1.35fr 1fr; }
  .about-grid { grid-template-columns: 1.4fr 1fr; }
  .ready-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .nav { display: block; }
  .header-phone { display: inline; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none; }
}

/* 20. Motion --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 21. Utilities ------------------------------------------------------------ */
.after-grid { margin-top: var(--space-6); }
.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;
}

/* 22. Overflow and header fit ---------------------------------------------- */
.grid, .hero-grid, .about-grid, .ready-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
.grid > *, .hero-grid > *, .about-grid > *, .ready-grid > *, .footer-grid > * { min-width: 0; }
.nav a, .header-phone, .brand-name { white-space: nowrap; }
.nav ul { gap: var(--space-4); }
@media (max-width: 479px) { .header-actions .btn { display: none; } }
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .ready-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
  .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-grid; }
  .mobile-menu:not([hidden]) { display: block; }
}
@media (min-width: 1200px) {
  .nav { display: block; }
  .header-phone { display: inline; }
  .menu-toggle, .mobile-menu, .mobile-menu:not([hidden]) { display: none; }
}
