/* Money Warehouse QLD - landing page styles (residential, commercial, car finance) */
:root {
  --blue: #0277b8;
  --blue-dark: #015a8f;
  --blue-light: #87ceeb;
  --ink: #1a1a1a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --green: #10b981;
  --amber-bg: #fff8e6;
  --amber-line: #f5b400;
  --amber-text: #8a5a00;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(2, 119, 184, 0.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 900px; }

/* Header */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.header-container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; height: 80px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; }
.logo h1 { font-size: 0; width: 0; overflow: hidden; }
nav ul { list-style: none; display: flex; gap: 2.25rem; align-items: center; }
nav a { text-decoration: none; font-weight: 500; font-size: 1rem; color: var(--ink); transition: color .2s; }
nav a:hover, nav li.active > a { color: var(--blue); }
.services-dropdown { position: relative; }
.services-dropdown-content { display: none; position: absolute; top: 2rem; right: 0; background: #fff; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.12); padding: 1rem; min-width: 520px; }
.services-dropdown.open .services-dropdown-content, .services-dropdown:hover .services-dropdown-content { display: block; }
.services-dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.services-dropdown-grid a { display: block; padding: .55rem .75rem; border-radius: 8px; font-size: .95rem; white-space: nowrap; }
.services-dropdown-grid a:hover { background: var(--bg); }
.mobile-menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.mobile-menu-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { margin-top: 80px; background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, #2a9bd8 100%); color: #fff; padding: 5rem 1.25rem 4.5rem; text-align: center; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: auto 0 -1px 0; height: 60px; background: #fff; clip-path: ellipse(60% 100% at 50% 100%); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; text-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.hero p { max-width: 720px; margin: 1.25rem auto 0; font-size: 1.15rem; opacity: .95; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; position: relative; z-index: 2; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 2rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--blue); border-color: #fff; box-shadow: 0 10px 30px rgba(255,255,255,0.25); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.8); backdrop-filter: blur(10px); }
.btn-blue { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; box-shadow: 0 8px 24px rgba(2,119,184,0.3); width: 100%; font-size: 1.05rem; padding: 1.05rem 2rem; }
.btn-blue:hover { box-shadow: 0 12px 30px rgba(2,119,184,0.4); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }

/* Sections */
section.block { padding: 4rem 0; }
.section-title { text-align: center; margin-bottom: 2.25rem; }
.section-title h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); color: var(--blue); font-weight: 800; letter-spacing: -0.02em; }
.section-title p { color: var(--muted); font-size: 1.1rem; margin-top: .5rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.disclaimer { background: var(--amber-bg); border-left: 4px solid var(--amber-line); color: var(--amber-text); border-radius: 10px; padding: 1rem 1.25rem; font-size: .92rem; max-width: 900px; margin: 0 auto 2rem; }

/* Calculator card */
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 2rem; }
.tabs { display: flex; gap: .5rem; background: var(--bg); padding: .4rem; border-radius: 999px; margin: 0 auto 2rem; width: fit-content; max-width: 100%; }
.tab { border: 0; background: transparent; padding: .7rem 1.4rem; border-radius: 999px; font-weight: 600; font-family: inherit; font-size: .95rem; color: var(--muted); cursor: pointer; transition: all .2s; white-space: nowrap; }
.tab.active { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(2,119,184,0.3); }
.panel { display: none; }
.panel.active { display: block; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: .5rem; }
.field .hint { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; margin-top: .35rem; }
.input { position: relative; }
.input input, .input select { width: 100%; padding: .9rem 1rem; border: 2px solid var(--line); border-radius: 10px; font-size: 1.05rem; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s; -moz-appearance: textfield; }
.input input::-webkit-outer-spin-button, .input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.input input:focus, .input select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(2,119,184,0.12); }
.input.prefix input { padding-left: 2rem; }
.input.prefix::before { content: '$'; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.input.suffix input { padding-right: 2.6rem; }
.input.suffix::after { content: attr(data-suffix); position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; font-size: .95rem; }
.seg { display: flex; gap: .5rem; background: var(--bg); padding: .35rem; border-radius: 12px; border: 1px solid var(--line); }
.seg button { flex: 1; border: 2px solid transparent; background: #fff; border-radius: 9px; padding: .7rem .5rem; font-weight: 600; font-family: inherit; font-size: .95rem; color: var(--muted); cursor: pointer; transition: all .15s; border-color: var(--line); }
.seg button.on { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 4px 12px rgba(2,119,184,0.3); }
.range-wrap input[type=range] { width: 100%; accent-color: var(--blue); margin-top: .6rem; }

/* Results */
.results { margin-top: 2rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.result { border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.5rem; background: var(--bg); }
.result.main { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; border: 0; grid-column: 1 / -1; text-align: center; padding: 2rem 1.5rem; }
.result .lbl { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.result .val { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; margin-top: .35rem; line-height: 1.15; }
.result.main .val { font-size: clamp(2rem, 5vw, 3.1rem); }
.result .sub { font-size: .9rem; opacity: .85; margin-top: .4rem; }
.result.good .val { color: var(--green); }
.result.warn .val { color: #d97706; }
.next-step { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.note { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 1.25rem; }

/* Lead form */
.lead { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }
.lead-card { max-width: 760px; margin: 0 auto; }
.lead-card h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ink); font-weight: 800; letter-spacing: -0.02em; text-align: center; }
.lead-card > p { text-align: center; color: var(--muted); margin: .6rem auto 1.75rem; max-width: 560px; }
.lead-card form .grid { gap: 1rem; }
.lead-card .field label { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.form-foot { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 1rem; }
.form-status { text-align: center; margin-top: 1rem; font-weight: 600; display: none; }
.form-status.ok { display: block; color: var(--green); }
.form-status.err { display: block; color: #dc2626; }
.honey { position: absolute; left: -9999px; }

/* Trust */
.trust { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.trust .item { text-align: center; padding: 1.5rem 1rem; }
.trust .icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(2,119,184,0.1); color: var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.4rem; font-weight: 800; }
.trust h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.trust p { color: var(--muted); font-size: .95rem; }
.reviews-slider { width: 100vw; margin-left: calc(-50vw + 50%); overflow: hidden; padding: .5rem 0 1rem; }
.reviews-track { display: flex; gap: 1.25rem; width: max-content; animation: reviewsScroll 70s linear infinite; }
.reviews-slider:hover .reviews-track { animation-play-state: paused; }
@keyframes reviewsScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - .625rem)); } }
.review { flex: 0 0 420px; }
@media (max-width: 600px) { .review { flex-basis: 300px; } .reviews-track { animation-duration: 55s; } }
.review { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow); }
.review .stars { color: #f5b400; letter-spacing: 2px; margin-bottom: .6rem; }
.review p { font-size: .95rem; color: #333; }
.review .who { margin-top: 1rem; font-weight: 700; font-size: .9rem; }
.review .who span { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.stat-strip { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin-top: 2.5rem; }
.stat-strip div { text-align: center; }
.stat-strip b { display: block; font-size: 1.9rem; color: var(--blue); font-weight: 800; }
.stat-strip span { color: var(--muted); font-size: .9rem; }

/* Footer */
footer { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); color: #fff; padding: 3.5rem 1.25rem 2rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
footer h5 { font-size: .95rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; }
footer p, footer li { font-size: .97rem; color: #fff; line-height: 1.9; }
footer ul { list-style: none; }
footer a { color: #fff; text-decoration: none; opacity: .92; transition: opacity .2s, color .2s; }
footer a:hover { opacity: 1; color: var(--blue-light); }
footer .logo-foot { display: inline-block; background: #fff; border-radius: 14px; padding: .6rem .9rem; margin-bottom: 1.1rem; }
footer .logo-foot img { height: 64px; width: auto; }
.review-btn { display: inline-flex; align-items: center; gap: .6rem; background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%); color: #fff; font-weight: 700; padding: .8rem 1.2rem; border-radius: 10px; box-shadow: 0 8px 20px rgba(2,119,184,0.35); opacity: 1 !important; }
.review-btn .stars { color: #ffd34d; letter-spacing: 1px; }
.review-btn:hover { color: #fff; transform: translateY(-2px); }
.socials { display: flex; gap: .7rem; margin-top: 1.25rem; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); }
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-bottom { max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: .88rem; color: #e2e8f0; text-align: center; }
.call-bar { display: none; }

@media (min-width: 901px) {
  .card .grid .field > label { min-height: 2.5rem; display: flex; align-items: flex-end; }
}
@media (max-width: 900px) {
  .mobile-menu-toggle { display: block; }
  nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; box-shadow: 0 15px 30px rgba(0,0,0,0.1); padding: 1rem 1.25rem 1.5rem; }
  nav.open { display: block; }
  nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  nav li a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .services-dropdown-content { position: static; transform: none; min-width: 0; box-shadow: none; padding: 0 0 .5rem 1rem; }
  .services-dropdown-grid { grid-template-columns: 1fr; }
  .services-dropdown-grid a { border: 0 !important; padding: .55rem 0 !important; white-space: normal; }
  .hero { padding: 3.5rem 1.25rem 4rem; }
  .card { padding: 1.4rem 1.1rem; border-radius: 16px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: .7rem .5rem; font-size: .88rem; }
  .result .val { font-size: 1.6rem; }
  .call-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; background: #fff; border-top: 1px solid var(--line); padding: .6rem .9rem; gap: .6rem; box-shadow: 0 -4px 16px rgba(0,0,0,0.08); }
  .call-bar a { flex: 1; padding: .8rem; font-size: .95rem; }
}

/* Gated results (residential) */
.gate { margin-top: 2rem; }
.gate-cta { text-align: center; }
.gate-cta .btn-blue { width: auto; min-width: 260px; }
.gate-form { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; }
.gate-form h3 { font-size: 1.15rem; margin-bottom: 1rem; text-align: center; }
.gate-form .field label { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.results.locked { display: none; }
.results.locked + .note, .results.locked ~ .next-step { display: none; }
.input textarea { width: 100%; padding: .9rem 1rem; border: 2px solid var(--line); border-radius: 10px; font-size: 1rem; font-family: inherit; color: var(--ink); resize: vertical; }
.input textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(2,119,184,0.12); }
.prefilled { font-size: .9rem; color: var(--muted); text-align: center; margin-bottom: 1rem; }

/* Hero style A: photo with blue overlay (matches home page) */
.hero.photo { background: linear-gradient(100deg, rgba(1,74,122,0.92) 0%, rgba(2,119,184,0.78) 55%, rgba(2,119,184,0.55) 100%), url('../images/hero-1800.webp') center/cover no-repeat; text-align: left; padding: 5.5rem 1.25rem 5.5rem; }
.hero.photo .wrap { max-width: 1200px; }
.hero.photo h1 { max-width: 680px; }
.hero.photo p { margin-left: 0; max-width: 600px; }
.hero.photo .hero-buttons { justify-content: flex-start; }
.hero .eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.25rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.chips span { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); padding: .45rem .85rem; border-radius: 999px; backdrop-filter: blur(6px); }
.chips span::before { content: '✓'; color: #7df0c0; font-weight: 800; }
.hero.photo .hero-buttons { justify-content: flex-start; }
@media (max-width: 600px) { .hero.photo { background-image: linear-gradient(160deg, rgba(1,74,122,0.94) 0%, rgba(2,119,184,0.8) 100%), url('../images/hero-900.webp'); padding: 3.5rem 1.25rem 4rem; } }

/* Hero style B: light split with floating result card */
.hero.light { background: radial-gradient(900px 500px at 85% 20%, rgba(2,119,184,0.16), transparent 60%), radial-gradient(600px 400px at 10% 90%, rgba(135,206,235,0.25), transparent 60%), #f6f9fc; color: var(--ink); text-align: left; padding: 5rem 1.25rem 4.5rem; }
.hero.light::after { display: none; }
.hero.light .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; max-width: 1200px; }
.hero.light h1 { text-shadow: none; color: var(--ink); }
.hero.light h1 em { font-style: normal; color: var(--blue); }
.hero.light p { color: var(--muted); margin-left: 0; max-width: 540px; }
.hero.light .eyebrow { background: rgba(2,119,184,0.1); border-color: rgba(2,119,184,0.25); color: var(--blue); }
.hero.light .chips span { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.hero.light .chips span::before { color: var(--green); }
.hero.light .hero-buttons { justify-content: flex-start; }
.hero.light .btn-white { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; border-color: transparent; box-shadow: 0 10px 30px rgba(2,119,184,0.35); }
.mock { position: relative; }
.mock .mcard { background: #fff; border-radius: 22px; box-shadow: 0 30px 60px rgba(2,60,100,0.18); padding: 1.6rem 1.7rem; border: 1px solid var(--line); transform: rotate(-2deg); }
.mock .mcard .lbl { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mock .mcard .big { font-size: 2.1rem; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; margin: .3rem 0 .6rem; }
.mock .mcard .row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--ink); padding: .5rem 0; border-top: 1px solid var(--line); }
.mock .mcard .row b { color: var(--blue-dark); }
.mock .badge { position: absolute; right: -10px; top: -26px; background: #fff; border-radius: 14px; padding: .6rem .9rem; box-shadow: 0 12px 30px rgba(0,0,0,0.12); font-size: .85rem; font-weight: 700; transform: rotate(3deg); border: 1px solid var(--line); }
.mock .badge .stars { color: #f5b400; letter-spacing: 1px; display: block; font-size: .95rem; }
@media (max-width: 900px) { .hero.light .wrap { grid-template-columns: 1fr; } .mock { margin-top: 1.5rem; } .mock .mcard { transform: none; } .mock .badge { top: -18px; right: 6px; } }
.hero.photo h1 em { font-style: normal; color: var(--blue-light); }
.mock .mcard { position: relative; z-index: 1; }
.mock .badge { z-index: 2; }
