/* Shared styles for the service and guide pages (generated by tools/build_pages.py).
   Mirrors the homepage look; the homepage keeps its own inline CSS. */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #fff;
    color: #000;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; }

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255,255,255,0.98);
    z-index: 1000;
    padding: 2px 0;
    transition: all 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}
.nav-logo {
    text-decoration: none;
    padding: 10px 0;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
}
.nav-logo:hover { transform: scale(1.05); }
.nav-logo-img { height: 80px; width: auto; }
.nav-menu { display: flex; list-style: none; gap: 3rem; }
.nav-menu a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0077CC;
    transition: width 0.3s;
}
.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after { width: 100%; }
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: 0;
}
.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
}
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 999;
}
.mobile-menu.active { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid #f0f0f0; }
.mobile-menu a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}
.mobile-menu a:hover { background: #f8f9fa; color: #0077CC; }

/* Buttons */
.btn {
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}
.btn-primary { background: #0077CC; color: white; }
.btn-primary:hover { background: #005fa3; transform: translateY(-2px); }
.btn-secondary { border: 2px solid #0077CC; color: #0077CC; }
.btn-secondary:hover { background: #0077CC; color: white; }
.cta-group { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* Page header */
.page-header {
    background: #fafafa;
    padding: 160px 40px 80px;
}
.page-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}
.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.25rem;
}
.breadcrumb li + li::before { content: '/'; margin-right: 0.4rem; color: #aaa; }
.breadcrumb a { color: #0077CC; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-header h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 1.5rem;
}
.page-header h1 .accent { color: #0077CC; }
.page-header .lede {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}
.page-header figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Article */
.article {
    max-width: 760px;
    margin: 0 auto;
    padding: 80px 24px 40px;
    font-size: 1.08rem;
    color: #222;
}
.article h2 {
    font-size: 1.9rem;
    line-height: 1.2;
    margin: 3rem 0 1rem;
    color: #000;
}
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.article p { margin-bottom: 1.15rem; }
.article ul, .article ol { margin: 0 0 1.25rem 1.3rem; }
.article li { margin-bottom: 0.5rem; }
.article a { color: #0077CC; }
.article a:hover { color: #005fa3; }
.article figure { margin: 2.25rem 0; }
.article figure img { display: block; width: 100%; }
.article figcaption { font-size: 0.9rem; color: #666; margin-top: 0.5rem; }
.callout {
    border-left: 4px solid #0077CC;
    background: #f3f8fc;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.steps { counter-reset: step; list-style: none; margin-left: 0 !important; }
.steps > li {
    counter-increment: step;
    position: relative;
    padding-left: 3.25rem;
    margin-bottom: 1.5rem;
}
.steps > li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.25rem;
    height: 2.25rem;
    background: #0077CC;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}
.photo-row img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.suburb-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 1.5rem !important; }
.suburb-tags li { background: #f3f8fc; border: 1px solid #d6e7f5; padding: 0.35rem 0.9rem; margin: 0; font-weight: 500; }

/* FAQ */
.faq {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}
.faq h2 { font-size: 1.9rem; margin-bottom: 1.5rem; }
.faq details { border-bottom: 1px solid #e5e5e5; padding: 1.1rem 0; }
.faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: -0.1rem;
    font-size: 1.5rem;
    color: #0077CC;
}
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin-top: 0.75rem; color: #444; }
.faq details a { color: #0077CC; }

/* Related services */
.related {
    background: #fafafa;
    padding: 80px 40px;
}
.related h2 { max-width: 1100px; margin: 0 auto 2rem; font-size: 1.9rem; }
.related-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.related-card {
    display: block;
    background: white;
    padding: 1.75rem;
    text-decoration: none;
    color: #000;
    transition: all 0.3s;
    border-top: 4px solid #0077CC;
}
.related-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.related-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.related-card p { color: #666; font-size: 0.98rem; }

/* Call to action */
.cta-band {
    background: #0077CC;
    color: white;
    text-align: center;
    padding: 80px 24px;
}
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.cta-band p { font-size: 1.15rem; margin-bottom: 2rem; opacity: 0.95; }
.cta-band .btn-primary { background: white; color: #0077CC; }
.cta-band .btn-primary:hover { background: #eaf4fb; }
.cta-band a.plain { color: white; }

/* Footer */
footer {
    background: #000;
    color: white;
    padding: 50px 24px 40px;
    text-align: center;
}
footer .footer-logo-img { height: 50px; width: auto; margin-bottom: 1rem; filter: invert(1); }
.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.75rem;
    margin: 0 auto 1.5rem;
    max-width: 900px;
}
.footer-links a { color: #ccc; text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: white; text-decoration: underline; }
footer a.footer-email { color: inherit; text-decoration: none; }

/* 404 */
.not-found { text-align: center; padding: 200px 24px 120px; }
.not-found h1 { font-size: 3rem; margin-bottom: 1rem; }
.not-found p { color: #555; margin-bottom: 2rem; font-size: 1.15rem; }

@media (max-width: 900px) {
    .page-header-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-container { padding: 0 20px; }
    .nav-menu { display: none; }
    .mobile-menu-toggle { display: flex; }
    .nav-logo-img { height: 60px; }
    .page-header { padding: 120px 20px 50px; }
    .page-header .lede { font-size: 1.1rem; }
    .btn { padding: 12px 25px; font-size: 14px; font-weight: 700; }
    .article { padding-top: 50px; }
    .article h2 { font-size: 1.6rem; }
    .photo-row { grid-template-columns: 1fr; }
    .related { padding: 60px 20px; }
}
