/* ═══════════════════════════════════════════════
   DIRECT DEMOLITION — ACE Civil Style v1
   Clean white, blue accents, professional trades
   ═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #1e5fa8;
  --blue2:   #1a4f8f;
  --blue-lt: #2e7fd4;
  --cyan:    #00b4d8;
  --dark:    #1a1f2e;
  --grey:    #4a5568;
  --light:   #f6f8fb;
  --border:  #e2e8f0;
  --white:   #ffffff;
  --font:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius:  6px;
  --shadow:  0 2px 16px rgba(0,0,0,.09);
  --shadow-md: 0 6px 32px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--dark); line-height: 1.65; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-lt); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -.5px; color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,.5); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; color: var(--dark); }
h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); }
p  { color: var(--grey); margin-bottom: 1rem; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4.5rem 0; }
.bg-light { background: var(--light); }
.bg-blue  { background: var(--blue); }
.bg-dark  { background: var(--dark); }
.accent   { color: var(--blue); }

/* ── TOP BAR ── */
.topbar { background: var(--dark); padding: .45rem 1.5rem; display: flex; justify-content: flex-end; align-items: center; gap: 2rem; }
.topbar a { color: #9ca3af; font-size: .8rem; display: flex; align-items: center; gap: .35rem; }
.topbar a:hover { color: var(--white); }

/* ── HEADER ── */
header {
  background: var(--white);
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: .85rem 1.5rem;
}
.logo img { height: 58px; width: auto; object-fit: contain; }
.logo-fallback { font-size: 1.25rem; font-weight: 900; letter-spacing: .5px; color: var(--dark); }
.logo-fallback span { color: var(--blue); }

nav.desk { display: flex; gap: .15rem; align-items: center; }
nav.desk a { color: var(--dark); font-size: .88rem; font-weight: 600; padding: .5rem .9rem; border-radius: var(--radius); transition: all .2s; }
nav.desk a:hover { background: var(--light); color: var(--blue); }
.nav-cta-btn { background: var(--blue) !important; color: var(--white) !important; padding: .5rem 1.2rem !important; border-radius: var(--radius) !important; margin-left: .5rem; }
.nav-cta-btn:hover { background: var(--blue2) !important; color: var(--white) !important; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; }
.burger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .3s; }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Drawer */
.drawer { display: none; position: fixed; top: 0; right: -100%; width: min(85vw,300px); height: 100dvh; background: var(--white); z-index: 400; flex-direction: column; padding: 5rem 1.75rem 2rem; border-left: 1px solid var(--border); box-shadow: -8px 0 32px rgba(0,0,0,.15); transition: right .3s ease; }
.drawer.open { right: 0; }
.drawer a { display: block; color: var(--dark); font-size: 1rem; font-weight: 600; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.drawer a:hover { color: var(--blue); }
.drawer .d-cta { margin-top: 1.5rem; background: var(--blue); color: var(--white) !important; padding: .9rem; border-radius: var(--radius); text-align: center; border: none !important; font-size: 1rem; }
.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 350; }
.overlay.open { display: block; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: flex-end;
  padding-bottom: 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('/images/demo-steel-frame.jpg') center 40%/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 65%, transparent 100%);
}
.hero-body { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }
.hero h1 { max-width: 620px; margin-bottom: 1.25rem; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 480px; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: .85rem; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.9rem; border-radius: var(--radius); font-weight: 700; font-size: .95rem; transition: all .2s; cursor: pointer; border: none; white-space: nowrap; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue2); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(30,95,168,.35); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--light); color: var(--blue2); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: var(--white); }

/* ── BLUE BAND ── */
.blue-band { background: var(--blue); padding: 1.35rem 0; box-shadow: 0 2px 8px rgba(30,95,168,.25); }
.blue-band-inner { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.blue-band p { color: rgba(255,255,255,.9); margin: 0; font-size: .95rem; }
.blue-band strong { color: var(--white); }

/* ── INTRO / WHY CHOOSE US ── */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.intro-imgs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: .75rem; }
.intro-imgs img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.intro-imgs .img-tall { grid-row: span 2; }
.intro-text h2 { margin-bottom: 1rem; }
.intro-text p { margin-bottom: 1.25rem; }
.intro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.75rem; }
.i-stat { background: var(--light); border-radius: var(--radius); padding: 1.1rem; text-align: center; }
.i-stat-n { font-size: 1.8rem; font-weight: 900; color: var(--blue); display: block; }
.i-stat-l { font-size: .78rem; color: var(--grey); text-transform: uppercase; letter-spacing: .5px; }

/* ── SECTION HEADING ── */
.sh { text-align: center; margin-bottom: 3rem; }
.sh-pre { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--blue); display: block; margin-bottom: .5rem; }
.sh h2 { margin-bottom: .6rem; }
.sh p { color: var(--grey); max-width: 560px; margin: 0 auto; font-size: .96rem; }
.sh.left { text-align: left; }
.sh.left p { margin: 0; }

/* ── SERVICES ── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.75rem; transition: all .25s; }
.svc-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.svc-ico { width: 52px; height: 52px; background: var(--blue); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.25rem; flex-shrink: 0; }
.svc-card h3 { margin-bottom: .5rem; font-size: 1.05rem; }
.svc-card p { font-size: .88rem; color: var(--grey); line-height: 1.65; margin-bottom: 1rem; }
.svc-card a { font-size: .85rem; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: .3rem; }
.svc-card a:hover { gap: .55rem; }

/* ── STATS BAR ── */
.stats-bar { background: var(--dark); padding: 2.5rem 0; }
.stats-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.stat-item { text-align: center; }
.stat-n { font-size: 2.2rem; font-weight: 900; color: var(--blue); display: block; line-height: 1; }
.stat-l { font-size: .78rem; color: #9ca3af; text-transform: uppercase; letter-spacing: .7px; margin-top: .35rem; display: block; }

/* ── QUOTE SECTION ── */
.quote-section { background: var(--blue); padding: 5rem 0; }
.quote-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.quote-left h2 { color: var(--white); margin-bottom: .75rem; }
.quote-left p { color: rgba(255,255,255,.8); margin-bottom: 2rem; }
.trust-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2.5rem; }
.trust-item { display: flex; align-items: center; gap: .7rem; font-size: .9rem; color: rgba(255,255,255,.9); }
.trust-ico { color: #7de8f8; font-size: 1rem; flex-shrink: 0; }

.qform { background: var(--white); border-radius: 10px; padding: 2.25rem; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.qform h3 { font-size: 1.2rem; color: var(--dark); margin-bottom: 1.6rem; text-align: center; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.f-grp { margin-bottom: .85rem; }
.f-grp label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--grey); margin-bottom: .35rem; }
.f-grp input, .f-grp select, .f-grp textarea { width: 100%; padding: .72rem 1rem; background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); font-size: .93rem; font-family: var(--font); color: var(--dark); transition: border-color .2s; }
.f-grp input:focus, .f-grp select:focus, .f-grp textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,95,168,.12); background: var(--white); }
.f-grp textarea { min-height: 85px; resize: vertical; }
.qform .btn { width: 100%; justify-content: center; margin-top: .5rem; font-size: 1rem; padding: 1rem; }

/* ── PROJECT GRID ── */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.proj-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--light); }
.proj-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.proj-card:hover img { transform: scale(1.07); }
.proj-card-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,.82)); color: var(--white); padding: 2rem 1rem 1rem; font-weight: 700; font-size: .88rem; }
.proj-card-tag { font-size: .72rem; color: rgba(255,255,255,.65); display: block; margin-bottom: .2rem; font-weight: 400; }

/* ── CLIENTS ── */
.clients-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2rem 3rem; }
.client-logo { font-size: .88rem; font-weight: 700; color: #9ca3af; letter-spacing: .5px; text-transform: uppercase; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testi { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 2px 12px rgba(0,0,0,.05); transition: box-shadow .2s; }
.testi:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.testi-stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: .75rem; }
.testi p { font-size: .9rem; font-style: italic; color: var(--grey); margin-bottom: 1rem; line-height: 1.7; }
.testi-name { font-weight: 700; font-size: .85rem; color: var(--blue); }

/* ── SUBURBS ── */
.suburb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: .6rem; }
.suburb-pill { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: .7rem .9rem; text-align: center; font-weight: 600; font-size: .85rem; color: var(--grey); transition: all .2s; }
.suburb-pill:hover { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-1px); }

/* ── CTA STRIP ── */
.cta-strip { background: var(--dark); padding: 4rem 1.5rem; text-align: center; }
.cta-strip h2 { color: var(--white); margin-bottom: .75rem; }
.cta-strip p { color: #9ca3af; margin-bottom: 2rem; }
.cta-strip-num { font-size: 2rem; font-weight: 900; color: var(--blue); display: block; margin-bottom: 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO ── */
.page-hero { position: relative; padding: 4rem 1.5rem; background: var(--dark); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: url('/images/demo-steel-frame.jpg') center/cover; opacity: .15; }
.page-hero-inner { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin: 0; max-width: 640px; }
.breadcrumb { font-size: .78rem; color: rgba(255,255,255,.5); margin-bottom: .75rem; }
.breadcrumb a { color: rgba(100,180,255,.8); }
.breadcrumb span { margin: 0 .4rem; }

/* ── CONTENT ── */
.c-grid { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; }
.sidebar { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; position: sticky; top: 76px; }
.sidebar h3 { margin-bottom: 1rem; color: var(--dark); }
.sidebar-phone { font-size: 1.3rem; font-weight: 900; color: var(--blue); display: block; margin: .75rem 0; }
.sidebar-nav a { display: block; padding: .5rem 0; color: var(--grey); font-size: .88rem; border-bottom: 1px solid var(--border); transition: color .2s; }
.sidebar-nav a:hover { color: var(--blue); }
.c-body h2 { color: var(--dark); border-left: 4px solid var(--blue); padding-left: 1rem; margin: 2rem 0 .85rem; font-size: 1.5rem; }
.c-body h3 { color: var(--dark); margin: 1.5rem 0 .5rem; }
.c-body p { color: var(--grey); }
.c-body ul, .c-body ol { margin: 0 0 1rem 1.5rem; }
.c-body li { margin-bottom: .45rem; color: var(--grey); }

/* ── FOOTER ── */
footer { background: #0d1017; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.fc img { height: 44px; margin-bottom: 1rem; }
.fc-name { font-size: 1rem; font-weight: 900; color: var(--white); letter-spacing: .5px; margin-bottom: .75rem; display: block; }
.fc-name span { color: var(--blue); }
.fc p { font-size: .83rem; color: #6b7280; line-height: 1.75; }
.fc h4 { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #6b7280; margin-bottom: .9rem; }
.fc a { display: block; color: #6b7280; font-size: .84rem; margin-bottom: .5rem; transition: color .2s; }
.fc a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding-top: 1.5rem; text-align: center; font-size: .78rem; color: #374151; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.c-detail { display: flex; gap: .85rem; margin-bottom: 1.75rem; }
.c-ico { font-size: 1.4rem; color: var(--blue); flex-shrink: 0; margin-top: .1rem; }
.c-detail h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; color: var(--grey); margin-bottom: .3rem; }
.c-detail p, .c-detail a { color: var(--dark); font-size: .95rem; margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav.desk { display: none; }
  .burger { display: flex; }
  .drawer { display: flex; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-imgs { display: none; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .c-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 600px) {
  .hero { min-height: 82vh; padding-bottom: 3rem; }
  .section { padding: 3rem 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
}
