/* PJFC Automotive — website styles */
:root {
  --black: #07090D; --night: #0C1018; --panel: #121826; --line: #232C3D;
  --blue: #1E8FFF; --blue-2: #0F6FD6; --blue-soft: #E8F3FF;
  --white: #FFFFFF; --paper: #F4F6FA; --ink: #0E131C; --muted: #5B6577; --muted-dark: #9AA6B8;
  --radius: 14px; --wrap: 1180px;
  --display: "Orbitron", "Arial Black", system-ui, sans-serif;
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--sans); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: .02em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5vw, 56px); font-weight: 700; text-transform: uppercase; }
h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: .03em; }
.kicker { font: 600 13px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.accent { color: var(--blue); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 10px;
  font: 700 15px var(--sans); letter-spacing: .04em; text-decoration: none; text-transform: uppercase; border: 2px solid transparent; cursor: pointer; transition: .15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid #E6EAF0; }
.header-in { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand img { width: 190px; height: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav > a, .nav .drop > button, .header-cta .btn { white-space: nowrap; }
.nav > a, .nav .drop > button { font: 600 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none;
  padding: 10px 11px; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.nav > a:hover, .nav .drop > button:hover, .nav a[aria-current="page"] { color: var(--blue-2); background: var(--blue-soft); }
.drop { position: relative; }
.drop-menu { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid #E6EAF0; border-radius: 12px; padding: 8px;
  box-shadow: 0 16px 40px rgba(14,19,28,.12); display: none; }
.drop:hover .drop-menu, .drop:focus-within .drop-menu, .drop.open .drop-menu { display: grid; }
.drop-menu a { padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.drop-menu a:hover { background: var(--blue-soft); color: var(--blue-2); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.phone-link { font: 700 15px var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; }
.phone-link small { display: block; font: 600 10px var(--sans); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.header-cta .btn { min-height: 42px; padding: 9px 18px; font-size: 13px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: .2s; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--black); overflow: hidden; isolation: isolate; }
.hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,9,13,.97) 0%, rgba(7,9,13,.88) 38%, rgba(7,9,13,.35) 70%, rgba(7,9,13,.15) 100%); }
.hero-in { padding: clamp(70px, 11vw, 140px) 0 clamp(60px, 9vw, 110px); max-width: 680px; }
.hero .lead { color: #D5DCE7; }
.hero .kicker { color: #8FC6FF; }
.stripes { display: flex; gap: 10px; margin: 26px 0 0; }
.stripes i { width: 46px; height: 12px; background: var(--blue); transform: skewX(-35deg); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding: 0; list-style: none; }
.trust li { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; color: #E7ECF4; }
.trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; flex: none; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--night); color: #fff; }
.section.dark .lead, .section.dark p { color: var(--muted-dark); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(7,9,13,.22); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }

/* Cards */
.card { background: #fff; border: 1px solid #E3E8F0; border-radius: var(--radius); padding: 26px; transition: .18s; }
a.card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
a.card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14,19,28,.1); }
.card .icon { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--blue); display: grid; place-items: center; margin-bottom: 16px; color: var(--blue); }
.card .icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); margin: 0 0 14px; }
.card .more { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--blue-2); text-transform: uppercase; letter-spacing: .06em; }
.section.dark .card { background: var(--panel); border-color: var(--line); color: #fff; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.cols-2 { columns: 2; column-gap: 34px; } .cols-2 li { break-inside: avoid; margin-bottom: 10px; }
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 64px; }
.steps .card::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 20px; left: 26px; font: 700 26px var(--display); color: var(--blue); }

/* Inspection levels */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.tier { position: relative; background: #fff; border: 2px solid #E3E8F0; border-radius: 18px; padding: 30px 26px; display: flex; flex-direction: column; }
.tier.popular { border-color: var(--blue); box-shadow: 0 24px 60px rgba(30,143,255,.18); }
.tier .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font: 700 11px var(--sans);
  letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.tier h3 { font-size: 20px; margin-bottom: 4px; }
.tier .desc { color: var(--muted); font-size: 14px; min-height: 44px; }
.tier .price { font: 700 36px var(--display); margin: 10px 0 2px; }
.tier .price small { font: 600 13px var(--sans); color: var(--muted); letter-spacing: 0; }
.tier .price-note { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.tier .plus { font-weight: 700; font-size: 14px; margin: 4px 0 10px; color: var(--blue-2); }
.tier .checks { font-size: 14.5px; margin-bottom: 24px; }
.tier .btn { margin-top: auto; width: 100%; }
.addons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.addons span { border: 1px dashed #B9C7DB; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; background: #fff; }

/* Price chips on service pages */
.price-chip { display: inline-flex; gap: 6px; align-items: baseline; background: rgba(30,143,255,.14); border: 1px solid rgba(30,143,255,.4); color: #fff; border-radius: 999px; padding: 7px 16px; font-weight: 700; margin-top: 18px; }

/* FAQ */
.faq details { border-bottom: 1px solid #E3E8F0; padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; padding: 16px 40px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font: 400 28px var(--sans); color: var(--blue); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 820px; }

/* Suburb chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.chips li { background: #fff; border: 1px solid #DCE3EE; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.section.dark .chips li { background: var(--panel); border-color: var(--line); color: #DDE4EE; }

/* Call to action band */
.cta-band { background: linear-gradient(120deg, var(--blue-2), var(--blue)); color: #fff; border-radius: 20px; padding: clamp(30px, 5vw, 54px);
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: #E3F0FF; }
.cta-band .btn-primary { background: #fff; color: var(--blue-2); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.7); }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form select, .form textarea { font: 400 16px var(--sans); padding: 12px 14px; border: 1px solid #CBD4E1; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(30,143,255,.25); border-color: var(--blue); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -5000px; }
.form-msg { padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.form-msg.ok { background: #E7F7EE; color: #116B42; } .form-msg.err { background: #FDECEA; color: #B42318; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list strong { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 700; color: var(--ink); text-decoration: none; }

/* Legal pages */
.prose { max-width: 820px; }
.prose h2 { font-size: 20px; margin-top: 34px; }
.prose li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--black); color: var(--muted-dark); padding: 64px 0 28px; font-size: 15px; }
.site-footer a { color: #DDE4EE; text-decoration: none; } .site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer h3 { color: #fff; font-size: 14px; letter-spacing: .14em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-logo img { width: 200px; margin-bottom: 14px; }
.foot-base { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; }

/* Mobile bottom bar */
.mobile-bar { display: none; }

@media (max-width: 1320px) { .header-cta .phone-link { display: none; } .nav > a, .nav .drop > button { letter-spacing: .05em; } }
@media (max-width: 1080px) {
  .nav, .header-cta .phone-link { display: none; }
  .menu-btn { display: block; }
  .header-cta { margin-left: auto; }
  .site-header.open .nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid #E6EAF0;
    box-shadow: 0 20px 40px rgba(14,19,28,.12); max-height: calc(100vh - 76px); overflow-y: auto; }
  .site-header.open .drop-menu { display: grid; position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .site-header.open .nav > a, .site-header.open .drop > button { font-size: 15px; padding: 13px 8px; text-align: left; width: 100%; }
  .site-header.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .menu-btn span:nth-child(2) { opacity: 0; }
  .site-header.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .g2, .g3, .split, .tiers { grid-template-columns: 1fr; }
  .tier.popular { order: -1; }
  .hero::before { background: linear-gradient(180deg, rgba(7,9,13,.72) 0%, rgba(7,9,13,.9) 60%, rgba(7,9,13,.97) 100%); }
  .cols-2 { columns: 1; }
  .form .row2 { grid-template-columns: 1fr; }
  .header-cta .btn { display: none; }
  .brand img { width: 160px; }
  body { padding-bottom: 68px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--black);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -8px 24px rgba(0,0,0,.25); }
  .mobile-bar .btn { min-height: 48px; font-size: 14px; }
}
@media (max-width: 560px) { .g4, .foot-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* logo never shrinks */
.brand { flex: none; }
.brand img { height: 48px; width: auto; max-width: none; }
@media (max-width: 1320px) { .brand img { height: 42px; } }

/* landscape photos shown whole */
.split img.natural { aspect-ratio: auto; height: auto; }

.hero picture img.pos-left { object-position: 20% center; }
