/* National Cladding & Roofing Canberra – Reviews page */

:root {
  --ink: #1c1f22;
  --charcoal: #23272b;
  --charcoal-2: #2f3439;
  --ground: #f6f5f1;
  --surface: #ffffff;
  --line: #e3e1da;
  --line-soft: #eeece6;
  --muted: #5a5f64;
  --body-2: #3d4247;
  --light-muted: #d4d6d8;
  --accent: #f2a93b;
  --star: #c97a10;
  --open: #1f8a4c;
  --radius: 12px;
  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }
p { margin: 0; }
a { color: var(--ink); }
a:hover { color: #000; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Stars & small bits ---------- */
.stars { color: var(--star); letter-spacing: 2px; }
.stars-md { font-size: 22px; letter-spacing: 3px; }
.stars-lg { font-size: 22px; display: block; color: var(--accent); }
.stars-xl { font-size: 28px; letter-spacing: 4px; }
.muted { color: var(--muted); font-size: 14px; }
.muted-light { color: var(--light-muted); font-size: 14px; }
.text-link { font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 24px; border-radius: 8px;
  font-weight: 700; font-size: 17px; text-decoration: none; line-height: 1.2;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; }
.btn-outline-light { border: 2px solid #fff; color: #fff; padding: 12px 22px; font-weight: 600; }
.btn-outline-light:hover { color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row-center { justify-content: center; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.logo { height: 56px; width: auto; max-width: 220px; object-fit: contain; }
.rating-pill {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  background: var(--ground); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--ink);
}
.header-call { margin-left: auto; font-size: 15px; padding: 12px 18px; }

/* ---------- Hero ---------- */
.hero { background: var(--charcoal); color: #fff; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.lead { font-size: 19px; line-height: 1.55; color: var(--light-muted); }
.hero-rating { display: flex; align-items: center; gap: 12px; }
.big-score { font-family: var(--display); font-size: 40px; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-size: 14px; border: 1px solid #4a4f55; border-radius: 999px; padding: 6px 14px; color: #e6e7e8; }
.hero-media { flex: 1 1 420px; min-width: 0; }
.hero-media img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); }

/* ---------- Featured review ---------- */
.section-featured { padding-top: 72px; padding-bottom: 24px; }
.featured-review {
  margin: 0; background: var(--surface); border: 6px solid var(--ink); border-radius: 16px;
  padding: 48px; display: flex; flex-direction: column; gap: 22px;
  box-shadow: 12px 12px 0 var(--accent);
}
.featured-review blockquote { margin: 0; }
.featured-review blockquote p { font-family: var(--display); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.5; font-weight: 500; }
.eyebrow-dark { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.review-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--charcoal); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 auto;
}

/* ---------- Review grid ---------- */
.section-reviews { padding-top: 56px; padding-bottom: 72px; scroll-margin-top: 90px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; }
.review-card {
  background: var(--surface); border: 4px solid var(--ink); border-radius: 14px;
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 8px 8px 0 var(--accent);
}
.tag { font-size: 12px; font-weight: 600; background: #f0eee8; border-radius: 999px; padding: 4px 10px; }
.review-text { font-size: 17px; line-height: 1.6; display: flex; flex-direction: column; gap: 10px; }
.review-text.is-clamped { max-height: calc(1.6em * 7); overflow: hidden; position: relative; }
.review-text.is-clamped::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}
.read-more {
  align-self: flex-start; background: none; border: 0; padding: 4px 0; font: inherit;
  font-weight: 600; font-size: 15px; text-decoration: underline; cursor: pointer; color: var(--ink);
}
.reviewer-name { font-weight: 700; font-size: 17px; margin-top: auto; }

/* ---------- Themes ---------- */
.section-themes { padding-bottom: 64px; }
.section-themes h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.section-sub { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.theme { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.theme h3 { font-size: 19px; }
.theme p { font-size: 15px; color: var(--body-2); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--charcoal); color: #fff; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: stretch; padding-left: 0; padding-right: 0; }
.cta-band-media { flex: 1 1 420px; min-width: 0; min-height: 300px; }
.cta-band-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.cta-band-copy { flex: 1 1 460px; min-width: 0; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.cta-band-copy h2 { font-size: clamp(28px, 3.5vw, 36px); font-weight: 800; }
.cta-band-copy p { font-size: 18px; color: var(--light-muted); line-height: 1.55; }

/* ---------- Services & owner ---------- */
.section-services { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.services { flex: 1 1 460px; min-width: 0; }
.services h2, .owner h2 { font-size: 28px; font-weight: 800; margin-bottom: 20px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.service-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; font-weight: 600; }
.owner { flex: 1 1 380px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.owner h2 { margin-bottom: 0; }
.owner p { font-size: 16px; line-height: 1.6; color: var(--body-2); }

/* ---------- Location ---------- */
.section-location { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.location-inner { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.map-wrap { flex: 1 1 520px; min-width: 0; min-height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.location-info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.location-info h2 { font-size: 30px; font-weight: 800; }
address { font-style: normal; font-size: 16px; line-height: 1.7; }
.contact-list { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.open-status { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.open-status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--open); }
.open-status.is-closed .dot { background: #b3261e; }
.hours { border-collapse: collapse; font-size: 15px; width: 100%; max-width: 360px; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-weight: 400; text-align: left; }
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }

/* ---------- Final CTA ---------- */
.section-final { padding-top: 72px; padding-bottom: 72px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.section-final h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; }
.section-final p { font-size: 18px; color: var(--muted); max-width: 560px; line-height: 1.55; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c3c6c9; font-size: 14px; line-height: 1.6; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 16px; }
.footer-inner p { max-width: 640px; }
.footer-inner nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: #fff; }
.copyright { padding-bottom: 32px; color: #9da1a5; }

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

@media (max-width: 720px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .header-call { display: none; }
  .rating-pill { margin-left: auto; }
  .logo { height: 44px; max-width: 160px; }

  .hero-inner { padding-top: 32px; padding-bottom: 40px; gap: 28px; flex-direction: column-reverse; align-items: stretch; }
  .hero-copy { flex-basis: auto; }
  .hero-media { flex-basis: auto; }
  .hero-media img { height: 220px; }
  .lead { font-size: 17px; }
  .hero .btn-row .btn { flex: 1 1 100%; }

  .section-featured { padding-top: 40px; }
  .featured-review { padding: 26px 22px; border-width: 4px; box-shadow: 6px 6px 0 var(--accent); margin-right: 6px; }
  .review-grid { gap: 24px; }
  .review-card { padding: 22px; box-shadow: 6px 6px 0 var(--accent); margin-right: 6px; }
  .review-text { font-size: 16px; }

  .cta-band-copy { padding: 36px 16px; }
  .cta-band-media, .cta-band-media img { min-height: 220px; }
  .map-wrap, .map-wrap iframe { min-height: 300px; }
  .location-inner, .section-services, .section-final { padding-top: 48px; padding-bottom: 48px; }

  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--surface); border-top: 1px solid var(--line);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  }
  .mobile-bar .btn { flex: 1 1 0; min-height: 52px; font-size: 16px; border-radius: 10px; }
  body { padding-bottom: 84px; }
}
