/* Industria Constructions — real website build. Mobile-first; desktop
   breakpoints layered on top. Uses the design system's tokens (styles.css)
   for all colour/type/spacing/radius/shadow values — this file only adds
   page layout (grids, breakpoints, nav toggle) that tokens alone can't. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-family-body);
  color: var(--color-fg-primary);
  background: var(--color-bg-page);
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ind-charcoal);
  height: 76px;
  display: flex;
  align-items: center;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header .logo { display: flex; align-items: center; }
.site-header .logo img { height: 46px; }
@media (min-width: 480px) { .site-header .logo img { height: 54px; } }
@media (min-width: 900px) { .site-header { height: 100px; } .site-header .logo img { height: 78px; } }
.nav-links {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ind-charcoal);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 20px;
  transform: translateX(100%);
  transition: transform var(--duration-base) var(--ease-out);
}
.nav-links.open { transform: translateX(0); }
.nav-links a {
  text-decoration: none;
  color: #fff;
  font-family: var(--font-family-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-toggle {
  background: none;
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-cta { display: inline-flex; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-links {
    position: static;
    top: auto;
    transform: none;
    flex-direction: row;
    align-items: center;
    background: none;
    padding: 0;
    gap: 32px;
    width: auto;
  }
  .nav-links a { border-bottom: none; padding: 0; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
@media (min-width: 640px) { .hero { min-height: 560px; } }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11,15,23,0.35) 0%, rgba(11,15,23,0.5) 40%, rgba(11,15,23,0.78) 75%, rgba(11,15,23,0.94) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 48px 20px 56px; max-width: 720px; }
.hero-content h1 {
  font-family: var(--font-family-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.6rem + 3vw, 3.5rem);
  line-height: 1.06;
  color: #fff;
  margin: 0 0 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.5);
}
.hero-content p { font: var(--type-body-lg); color: #fff; margin: 0 0 28px; max-width: 480px; text-shadow: 0 1px 12px rgba(0,0,0,0.55); }

/* ---- Sections ---- */
section.block { padding: 64px 0; }
#services, #why-us, #projects { scroll-margin-top: 96px; }
@media (min-width: 900px) { #services, #why-us, #projects { scroll-margin-top: 116px; } }
.section-eyebrow { font: var(--type-caption); letter-spacing: 0.16em; color: var(--ind-blue-700); margin-bottom: 10px; }
.section-heading { font-family: var(--font-family-display); font-weight: 800; font-size: clamp(1.6rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.12; margin: 0 0 14px; }
.section-sub { font: var(--type-body-lg); color: var(--color-fg-secondary); max-width: 640px; margin: 0; }

.intro-copy { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.intro-copy p { font: var(--type-body-lg); color: var(--color-fg-secondary); margin: 0; }

.about-layout { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.about-image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.about-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 900px) {
  .about-layout { grid-template-columns: 1fr 1fr; gap: 56px; }
  .about-image img { aspect-ratio: auto; height: 100%; }
}

/* ---- About, editorial treatment ---- */
.about-section { overflow: hidden; }
.about-creative { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.about-media { position: relative; }
.about-media .img-main { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.about-media .img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-copy .lede { font: var(--type-body-lg); font-weight: 700; color: var(--color-fg-primary); margin: 0 0 18px; font-size: 20px; line-height: 1.4; }
.about-copy p { font: var(--type-body-md); color: var(--color-fg-secondary); margin: 0 0 16px; }
.about-rule { width: 56px; height: 3px; background: var(--ind-blue); border: none; margin: 0 0 18px; }
@media (min-width: 900px) {
  .about-creative { grid-template-columns: 1fr 1fr; gap: 64px; }
  .about-media .img-main { aspect-ratio: 3/4; }
}

/* ---- Services grid ---- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }

.service-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.service-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-card .content { padding: var(--space-card-padding-md); }
.service-card .num { font-family: var(--font-family-display); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; color: var(--ind-blue-700); }
.service-card .top-row { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.service-card .icon { width: 24px; height: 24px; stroke: var(--ind-blue); stroke-width: 1.75; }
.service-card h3 { font-family: var(--font-family-display); font-weight: 700; font-size: 20px; margin: 0 0 10px; }
.service-card p { font: var(--type-body-sm); color: var(--color-fg-secondary); margin: 0; }

.services-dark { background: var(--ind-charcoal); }
.services-dark .section-heading { color: #fff; }
.services-dark .section-sub { color: rgba(255,255,255,0.72); }

/* ---- Services detail page ---- */
.service-detail-row { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--color-border-subtle); }
.service-detail-row:first-child { padding-top: 0; }
.service-detail-row:last-child { border-bottom: none; }
.service-detail-image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.service-detail-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-detail-text .num { font-family: var(--font-family-display); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; color: var(--ind-blue-700); display: block; margin-bottom: 10px; }
.service-detail-text h3 { font-family: var(--font-family-display); font-weight: 800; font-size: 26px; margin: 0 0 14px; }
.service-detail-text p { font: var(--type-body-lg); color: var(--color-fg-secondary); margin: 0 0 20px; }
@media (min-width: 900px) {
  .service-detail-row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .service-detail-row.reverse .service-detail-image { order: 2; }
}

/* ---- Why choose us ---- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.why-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ind-blue-50); display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 22px; height: 22px; stroke: var(--ind-blue-700); stroke-width: 1.75; }
.why-card h3 { font-family: var(--font-family-display); font-weight: 700; font-size: 16px; margin: 0 0 6px; color: var(--color-fg-primary); }
.why-card p { font: var(--type-body-sm); color: var(--color-fg-secondary); margin: 0; }

/* ---- Projects ---- */
.projects-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
@media (min-width: 900px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.project-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.project-card .video-link { margin-top: auto; padding-top: 14px; }
.project-carousel { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--ind-neutral-100); }
.project-carousel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-carousel .nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(11,15,23,0.55); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background var(--duration-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.project-carousel .nav-btn:hover { background: rgba(11,15,23,0.8); }
.project-carousel .nav-prev { left: 12px; }
.project-carousel .nav-next { right: 12px; }
.project-carousel .dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.project-carousel .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; padding: 0; }
.project-carousel .dot.active { background: #fff; width: 18px; border-radius: 3px; }
.project-card .tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--ind-blue-50); color: var(--ind-blue-700); font-family: var(--font-family-display); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.project-card h3 { font-family: var(--font-family-display); font-weight: 700; font-size: 18px; margin: 0 0 4px; }
.project-card .loc { font: var(--type-body-sm); color: var(--color-fg-secondary); margin: 0 0 14px; }

.placeholder-photo {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, var(--ind-neutral-100), var(--ind-neutral-100) 10px, var(--ind-neutral-150) 10px, var(--ind-neutral-150) 20px);
  border-bottom: 1px dashed var(--color-border-strong);
  color: var(--color-fg-tertiary);
  font: var(--type-caption);
  letter-spacing: 0;
  text-align: center;
  padding: 20px;
}

/* ---- CTA banner ---- */
.cta-banner { background: var(--ind-charcoal); color: #fff; text-align: center; padding: 72px 20px; }
.cta-banner h2 { font-family: var(--font-family-display); font-weight: 800; font-size: clamp(1.6rem, 1.4rem + 1.6vw, 2.5rem); margin: 0 0 16px; }
.cta-banner p { font: var(--type-body-lg); color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 32px; }

/* ---- Footer ---- */
.site-footer { background: var(--ind-neutral-950); color: #fff; padding: 56px 0 28px; }
.footer-top { display: flex; flex-direction: column; gap: 36px; margin-bottom: 36px; }
.footer-tagline { font: var(--type-body-sm); color: var(--color-fg-on-inverse-muted); margin-top: 16px; white-space: nowrap; }
.footer-cols { display: flex; flex-direction: column; gap: 32px; }
.footer-col-label { font: var(--type-caption); letter-spacing: 0.12em; color: var(--color-fg-on-inverse-muted); margin-bottom: 14px; }
.footer-line { font: var(--type-body-sm); color: var(--color-fg-on-inverse-muted); margin-bottom: 8px; }
.footer-line a { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; font: var(--type-caption); color: var(--color-fg-on-inverse-muted); letter-spacing: 0; }

@media (min-width: 700px) {
  .footer-top { flex-direction: row; justify-content: space-between; }
  .footer-cols { flex-direction: row; gap: 64px; }
}

/* ---- Contact page ---- */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 48px; margin-top: 40px; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.2fr 1fr; } }
.contact-details { background: var(--ind-charcoal); color: #fff; border-radius: var(--radius-lg); padding: var(--space-card-padding-lg); display: flex; flex-direction: column; justify-content: center; }
.contact-details h3 { font-family: var(--font-family-display); font-weight: 700; font-size: 18px; margin: 0 0 20px; }
.contact-details .row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 26px; }
.contact-details .row:last-child { margin-bottom: 0; }
.contact-details .row .icon { width: 20px; height: 20px; stroke: var(--ind-blue); flex-shrink: 0; margin-top: 2px; }
.contact-details .row div { font: var(--type-body-sm); color: rgba(255,255,255,0.85); }
.contact-details .row a { color: #fff; text-decoration: none; font-weight: 600; }
.suburb-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  section.block { padding: 48px 0; }
  .cta-banner { padding: 56px 16px; }
}
.suburb-chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }
