/* Melbourne Crane Solutions — shared styles (used by every page) */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f6f2;
  --bg-warm: #fff8dc;
  --ink: #16181d;
  --ink-2: #2b2f37;
  --muted: #5d6471;
  --border: #e7e4dc;
  --accent: #FFD200;
  --accent-hover: #f5c800;
  --accent-ink: #7a5d00;      /* readable "yellow" for text on white */
  --accent-tint: #fff3bf;
  --green: #1f9d55;
  --green-tint: #e8f6ee;
  --dark: #15171c;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(22, 24, 29, .06), 0 2px 8px rgba(22, 24, 29, .05);
  --shadow: 0 10px 30px rgba(22, 24, 29, .08), 0 2px 6px rgba(22, 24, 29, .05);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-label: 'Montserrat', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.6;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-main { font-family: var(--font-display); font-weight: 900; font-size: 16px; letter-spacing: .4px; text-transform: uppercase; color: var(--ink); }
.logo-sub { font-family: var(--font-label); font-weight: 600; font-size: 8.5px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.main-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-call { display: none; font-size: 14.5px; font-weight: 700; color: var(--ink); padding: 8px 12px; }
.header-call:hover { color: var(--accent-ink); }
@media (min-width: 960px) { .main-nav { display: block; } }
@media (min-width: 560px) { .header-call { display: inline-block; } }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15.5px; line-height: 1.2;
  padding: 14px 24px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 196, 0, .35); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline { border-color: #cfcabd; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { font-size: 14px; padding: 10px 16px; box-shadow: none; }

/* ── Hero ───────────────────────────────────────── */
.hero {
  padding: 48px 0 56px;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, #ffeea0 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-warm) 0%, #fffdf5 70%, var(--bg) 100%);
  overflow: hidden;
}
@media (min-width: 900px) { .hero { padding: 72px 0 80px; } }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  padding: 6px 14px 6px 8px; border-radius: 999px; margin-bottom: 20px;
}
.pill-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.hero h1 { font-size: clamp(34px, 6.2vw, 60px); font-weight: 800; letter-spacing: -1.6px; line-height: 1.05; margin-bottom: 18px; }
.h1-kicker {
  display: block; font-family: var(--font-label);
  font-size: 13px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 14px;
}
.hl { background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%); padding: 0 2px; }
.hero-sub { font-size: clamp(16.5px, 2vw, 19px); color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.trust li { display: flex; align-items: center; gap: 8px; }
.tick { width: 20px; height: 20px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }

.hero-art { position: relative; max-width: 520px; margin: 0 auto; width: 100%; }
.hero-art-card {
  background: #e9e6dd; border: 6px solid #fff; border-radius: 28px;
  box-shadow: var(--shadow); overflow: hidden;
}
.hero-art-card img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 62% center; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow); padding: 10px 14px; font-size: 13px; line-height: 1.25;
}
.float-chip strong { display: block; font-size: 14px; }
.float-chip span { color: var(--muted); }
.float-chip .chip-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.chip-a { right: -14px; bottom: 22px; }
.chip-a .chip-icon { background: var(--accent-tint); color: var(--accent-ink); }
.chip-b { left: -14px; top: 22px; }
.chip-b .chip-icon { background: var(--green-tint); color: var(--green); }
@media (max-width: 640px) {
  .hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-art-card { grid-column: 1 / -1; }
  .float-chip { position: static; box-shadow: var(--shadow-sm); padding: 10px 12px; }
}

/* ── Size scale ─────────────────────────────────── */
.sizes { padding: 28px 0 8px; }
.sizes-card {
  background: var(--dark); color: #fff; border-radius: var(--radius-lg);
  padding: 26px 22px; display: grid; gap: 18px; align-items: center;
}
@media (min-width: 900px) { .sizes-card { grid-template-columns: .9fr 1.6fr; padding: 30px 36px; } }
.sizes-card h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -.5px; line-height: 1.15; }
.sizes-card p { color: #b9bdc6; font-size: 15px; margin-top: 6px; }
.scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.scale li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px 12px; }
.scale b { display: block; font-size: clamp(18px, 2.6vw, 24px); color: var(--accent); letter-spacing: -.3px; }
.scale small { display: block; font-size: 12.5px; color: #c7cad1; margin-top: 2px; line-height: 1.35; }
.scale li.scale-bar { grid-column: 1 / -1; height: 6px; padding: 0; border: 0; border-radius: 99px; background: linear-gradient(90deg, #6b5a00, var(--accent) 60%, #fff4b0); }
@media (max-width: 640px) {
  .scale { grid-template-columns: 1fr; }
  .scale li:not(.scale-bar) { display: flex; align-items: baseline; gap: 12px; }
  .scale b { min-width: 92px; }
  .scale li.scale-bar { order: -1; }
}

/* ── Sections ───────────────────────────────────── */
section { padding: 64px 0; }
@media (min-width: 768px) { section { padding: 88px 0; } }
.section-soft { background: var(--bg-soft); }
.eyebrow { font-family: var(--font-label); font-size: 12.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.section-head { max-width: 700px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-title { font-size: clamp(28px, 4.3vw, 42px); font-weight: 800; letter-spacing: -1px; line-height: 1.12; margin-bottom: 14px; }
.section-sub { font-size: 17px; color: var(--muted); }
.grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.2px; margin-bottom: 6px; }
.card p { font-size: 15px; color: var(--muted); }
.icon-box { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); color: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon-box svg { width: 30px; height: 30px; }

/* Steps */
.steps { counter-reset: s; }
.step { position: relative; }
.step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }

/* Crane types */
.crane-card { display: flex; flex-direction: column; border-top: 4px solid var(--accent); }
.crane-card.card-cta { border-top: 1.5px dashed #e4cf73; }
.crane-size { display: inline-block; align-self: flex-start; margin-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px; }
.card-cta { background: var(--bg-warm); border: 1.5px dashed #e4cf73; justify-content: center; }
.card-cta .btn { margin-top: 16px; align-self: flex-start; }
.note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Jobs */
.job-tile { display: flex; gap: 14px; align-items: flex-start; }
.job-tile .icon-box { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
.job-tile .icon-box svg { width: 24px; height: 24px; }
.job-tile h3 { font-size: 16.5px; margin-bottom: 2px; }
.job-tile p { font-size: 14.5px; }
.example {
  display: grid; margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
@media (min-width: 800px) { .example { grid-template-columns: 1fr 1.2fr; } }
.example img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.example-body { padding: 26px 24px; align-self: center; }
.example-body h3 { font-size: 21px; letter-spacing: -.3px; margin-bottom: 8px; }
.example-body p { color: var(--muted); }
.example-body .btn { margin-top: 18px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-tint); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }

/* Why us */
.why-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .why-wrap { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }
.why-list { display: grid; gap: 14px; }
.why-item { display: flex; gap: 14px; }
.why-item .icon-box { width: 46px; height: 46px; margin: 0; flex-shrink: 0; }
.why-item .icon-box svg { width: 24px; height: 24px; }
.why-item h3 { font-size: 17px; margin-bottom: 2px; }
.why-item p { font-size: 15px; color: var(--muted); }
.notice { display: flex; gap: 14px; margin-top: 26px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--green-tint); border: 1px solid #bfe5cd; font-size: 15px; color: #1d4d33; }
.notice strong { color: #133824; }
.notice .tick { width: 26px; height: 26px; font-size: 13px; background: #fff; }

/* ── Quote form ─────────────────────────────────── */
.quote { background: linear-gradient(180deg, var(--bg-warm), #fffdf6); border-top: 1px solid #f2e6b4; border-bottom: 1px solid #f2e6b4; }
.quote-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .quote-wrap { grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; } }
.quote-points { margin-top: 22px; display: grid; gap: 12px; }
.quote-points li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; color: var(--ink-2); }
.quote-call { margin-top: 26px; padding: 18px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 15px; color: var(--muted); }
.quote-call a { display: block; margin-top: 2px; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.5px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 18px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.form-title { font-size: 22px; font-weight: 800; margin-bottom: 2px; }
.form-intro { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.form-row { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.form-group label span { color: var(--muted); font-weight: 500; }
.form-group input, .form-group textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fbfaf7; border: 1.5px solid #dcd8cd; border-radius: var(--radius-sm);
  padding: 12px 14px; outline: none; transition: border-color .15s, background .15s;
  -webkit-appearance: none; appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #9a9fa8; }
.form-group input:focus, .form-group textarea:focus { border-color: #d9b100; background: #fff; }
.form-group textarea { min-height: 92px; resize: vertical; }
.btn-submit { width: 100%; margin-top: 6px; font-size: 16.5px; padding: 16px; }
.btn-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ── Service area ───────────────────────────────── */
.area-list li { font-size: 15px; color: var(--muted); padding: 9px 0; border-bottom: 1px solid var(--border); }
.area-list li:last-child { border-bottom: 0; }
.area-list strong { color: var(--ink); }

/* ── FAQ ────────────────────────────────────────── */
.faq { margin: 36px auto 0; max-width: 820px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0 20px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative; font-size: 16.5px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--accent-tint); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 15.5px; }

/* ── CTA band ───────────────────────────────────── */
.cta-band { padding: 56px 0 72px; }
.cta-card { background: var(--accent); border-radius: 28px; padding: 40px 24px; text-align: center; }
.cta-card h2 { font-size: clamp(28px, 4.5vw, 42px); font-weight: 800; letter-spacing: -1px; margin-bottom: 10px; }
.cta-card p { font-size: 17px; color: #3b3200; max-width: 560px; margin: 0 auto 24px; }
.cta-card .hero-ctas { justify-content: center; }
.cta-card .btn-dark { background: var(--ink); color: #fff; }
.cta-card .btn-dark:hover { background: #000; }
.cta-card .btn-outline { background: transparent; border-color: rgba(22,24,29,.35); }

/* ── Footer ─────────────────────────────────────── */
.site-footer { background: var(--dark); color: #c9ccd3; padding: 52px 0 32px; font-size: 14.5px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .logo-main { color: #fff; }
.site-footer .logo-sub { color: #9298a3; }
.footer-grid p { margin-top: 14px; max-width: 340px; color: #a6abb5; }
.footer-grid h2 { font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:hover { color: #fff; }
.footer-contact a { color: var(--accent); font-weight: 600; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid #2b2e35; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 12.5px; color: #8b909b; }

/* ── Mobile sticky call/quote bar ───────────────── */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(22, 24, 29, .06);
}
.mobile-bar .btn { padding: 12px; font-size: 15px; box-shadow: none; }
@media (min-width: 768px) { .mobile-bar { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 74px; } }

/* ── Thank-you page ─────────────────────────────── */
.ty-main { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 48px 16px; background: linear-gradient(180deg, var(--bg-warm), var(--bg)); }
.ty-card { max-width: 540px; width: 100%; padding: 40px 24px; text-align: center; box-shadow: var(--shadow); }
@media (min-width: 640px) { .ty-card { padding: 52px 44px; } }
.ty-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green-tint); color: var(--green); font-size: 30px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.ty-card h1 { font-size: clamp(28px, 5vw, 36px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 12px; }
.ty-card > p { color: var(--muted); margin-bottom: 22px; }
.ty-steps { text-align: left; margin: 0 0 28px; display: grid; gap: 10px; }
.ty-steps li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--ink-2); background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
.ty-steps b { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.ty-divider { height: 1px; background: var(--border); margin: 28px 0 20px; }
.ty-contact { font-size: 14px; color: var(--muted); }
.ty-contact a { color: var(--ink); font-weight: 700; }
