/* Core Screw Piling - site stylesheet
   Palette from brand logo: crimson #B8263D, near-black ink, steel greys */

:root {
  --red: #b8263d;
  --red-dark: #961f32;
  --red-tint: #faeef0;
  --ink: #17171b;
  --charcoal: #232329;
  --steel: #55555e;
  --mist: #8b8b95;
  --stone: #f5f4f2;
  --line: #e6e4e1;
  --paper: #ffffff;
  --max: 1140px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(23, 23, 27, 0.08);
  /* Montserrat (headings) + Poppins (body): the same Google Fonts pairing used on
     refurbplus.co.nz, a strong geometric sans that reads modern rather than industrial. */
  --font-head: "Montserrat", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* selective bold emphasis inside headings, e.g. "Screw Piling <strong>Contractors</strong>
   for the <strong>Sunshine Coast</strong>", matching the mixed-weight headline style
   on refurbplus.co.nz rather than bolding the whole line uniformly */
h1 strong, h2 strong, h3 strong { font-weight: 800; }

h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 0.6em; }
h3 { font-size: 1.35rem; margin-bottom: 0.35em; }

p + p { margin-top: 1em; }

a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  color: var(--red);
  margin-bottom: 0.9em;
}

.lead { font-size: 1.2rem; color: var(--steel); }

section { padding: 72px 0; }

/* ---------- header ---------- */

.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  padding: 7px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #f0c9d0; }
.topbar .lic { color: #b9b9c2; }

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 56px; width: auto; }
.brand-words { font-family: var(--font-head); text-transform: uppercase; line-height: 1; }
.brand-words strong { display: block; font-size: 1.5rem; color: var(--red); letter-spacing: 0.06em; }
.brand-words span { font-size: 0.82rem; letter-spacing: 0.34em; color: var(--ink); font-weight: 600; }

nav.main { display: flex; align-items: center; gap: 26px; }
nav.main a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--red); }

/* dropdown sub-menu, e.g. Residential > Granny Flat Foundations / Underpinning & Repair */
/* padding-bottom + negative margin extends the hoverable hitbox down to meet the
   dropdown with no gap, so moving the mouse from the link to the panel doesn't
   cross a "dead zone" that closes the menu; visual position is unaffected because
   the negative margin cancels the padding's effect on surrounding layout. */
nav.main .nav-item { position: relative; padding-bottom: 16px; margin-bottom: -16px; }
nav.main .nav-parent { display: inline-flex; align-items: center; gap: 4px; }
nav.main .nav-parent .chevron { width: 10px; height: 10px; flex: none; transition: transform 0.15s ease; }
nav.main .nav-parent.in-section { color: var(--red); }
nav.main .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 10px;
  min-width: 240px;
  z-index: 60;
}
nav.main .nav-item:hover .dropdown,
nav.main .nav-item:focus-within .dropdown { display: block; }
nav.main .nav-item:hover .chevron,
nav.main .nav-item:focus-within .chevron { transform: rotate(180deg); }
nav.main .dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
nav.main .dropdown a:hover { background: var(--stone); color: var(--red); }
nav.main .dropdown a[aria-current="page"] { color: var(--red); font-weight: 700; }

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  padding: 13px 26px;
  border: 0;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--red-dark); }
.btn.ghost {
  background: transparent;
  color: #fff !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}
.btn.ghost:hover { box-shadow: inset 0 0 0 2px #fff; background: rgba(255, 255, 255, 0.08); }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: #000; }

nav.main .nav-cta { display: flex; align-items: center; gap: 10px; }
nav.main .btn.outline {
  background: transparent;
  color: var(--red) !important;
  box-shadow: inset 0 0 0 2px var(--red);
  padding: 11px 22px;
}
nav.main .btn.outline:hover { background: var(--red); color: #fff !important; }
nav.main .btn.phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 11px 20px;
}
nav.main .btn.phone svg { flex: none; }

/* mobile nav */
.nav-toggle { display: none; }
label.burger {
  display: none;
  cursor: pointer;
  width: 34px;
  height: 26px;
  position: relative;
}
label.burger span, label.burger span::before, label.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
label.burger span { top: 11px; }
label.burger span::before { top: -9px; }
label.burger span::after { top: 9px; }

/* ---------- hero ---------- */

.hero {
  background:
    linear-gradient(115deg, rgba(23, 23, 27, 0.96) 0%, rgba(35, 35, 41, 0.9) 55%, rgba(184, 38, 61, 0.28) 100%),
    repeating-linear-gradient(-55deg, #1d1d22 0px, #1d1d22 22px, #202027 22px, #202027 44px);
  color: #fff;
  padding: 96px 0 88px;
}
.hero .kicker { color: #e88a9a; }
.hero h1 { color: #fff; max-width: 21ch; }
.hero p.sub { font-size: 1.25rem; color: #cfcfd6; max-width: 56ch; margin: 22px 0 34px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 26px; font-size: 0.95rem; color: #a7a7b1; }

/* Google review rating badge: two stacked star rows (grey background, gold foreground
   clipped to the rating share) plus the Google "G" mark, linking to the Business Profile. */
.google-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; max-width: 100%; }
.google-rating a { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; text-decoration: none; color: inherit; }
.google-rating .g-icon, .google-rating .stars { flex: none; }
.google-rating .stars {
  position: relative;
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 2px;
  white-space: nowrap;
}
.google-rating .stars-bg { color: rgba(255, 255, 255, 0.28); }
.google-rating .stars-fg {
  position: absolute;
  top: 0;
  left: 0;
  width: 96%;
  overflow: hidden;
  white-space: nowrap;
  color: #fbbc04;
}
.google-rating .rating-text { font-size: 0.92rem; color: #cfcfd6; }
.google-rating .rating-text strong { color: #fff; font-weight: 800; }

.page-hero {
  background:
    linear-gradient(115deg, rgba(23, 23, 27, 0.97) 0%, rgba(35, 35, 41, 0.92) 60%, rgba(184, 38, 61, 0.25) 100%),
    repeating-linear-gradient(-55deg, #1d1d22 0px, #1d1d22 22px, #202027 22px, #202027 44px);
  color: #fff;
  padding: 64px 0 56px;
}

/* photo hero variants: real job photos under a dark brand overlay */
.hero.photo-home {
  background:
    linear-gradient(105deg, rgba(18, 18, 22, 0.93) 0%, rgba(22, 22, 28, 0.80) 48%, rgba(90, 17, 30, 0.55) 100%),
    url("img/hero-home-screw-pile-installation.jpg") center 38% / cover no-repeat;
}
.page-hero.photo-guide {
  background:
    linear-gradient(105deg, rgba(18, 18, 22, 0.94) 0%, rgba(22, 22, 28, 0.82) 52%, rgba(90, 17, 30, 0.55) 100%),
    url("img/hero-guide-helical-screw-piles.jpg") center 55% / cover no-repeat;
}
.page-hero.photo-residential {
  background:
    linear-gradient(105deg, rgba(18, 18, 22, 0.94) 0%, rgba(22, 22, 28, 0.82) 52%, rgba(90, 17, 30, 0.55) 100%),
    url("img/hero-residential-screw-piling.jpg") center 45% / cover no-repeat;
}
.page-hero.photo-commercial {
  background:
    linear-gradient(105deg, rgba(18, 18, 22, 0.94) 0%, rgba(22, 22, 28, 0.82) 52%, rgba(90, 17, 30, 0.55) 100%),
    url("img/hero-commercial-industrial-piling.jpg") center 30% / cover no-repeat;
}
.page-hero.photo-contact {
  background:
    linear-gradient(105deg, rgba(18, 18, 22, 0.94) 0%, rgba(22, 22, 28, 0.82) 52%, rgba(90, 17, 30, 0.55) 100%),
    url("img/screw-pile-delivery-truck-1200.jpg") center 60% / cover no-repeat;
}
.page-hero h1 { color: #fff; max-width: 24ch; }
.page-hero .crumbs { font-size: 0.9rem; color: #a7a7b1; margin-bottom: 18px; }
.page-hero .crumbs a { color: #d8d8de; text-decoration: none; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero p.sub { font-size: 1.15rem; color: #cfcfd6; max-width: 62ch; margin-top: 18px; }

/* ---------- trust bar ---------- */

.trustbar { background: var(--ink); color: #fff; padding: 20px 0; }
.trustbar ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
}
.trustbar li strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.trustbar li span { font-size: 0.88rem; color: #b9b9c2; }

/* ---------- cards ---------- */

.grid { display: grid; gap: 26px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--ink); }
.card p { color: var(--steel); font-size: 1rem; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; }
.card-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--red);
  margin-bottom: 10px;
}
.card.accent { border-top: 4px solid var(--red); }

.icon-chip {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  background: var(--red-tint);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-chip svg { width: 26px; height: 26px; }

/* ---------- sections ---------- */

.section-stone { background: var(--stone); }
.section-dark { background: var(--charcoal); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #c9c9d0; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }

/* on-site photography used inside content sections, not just hero banners */
.inline-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
  position: relative;
}
.inline-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inline-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(0deg, rgba(23, 23, 27, 0.82) 0%, rgba(23, 23, 27, 0) 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 0;
}
.inline-photo figcaption span { line-height: 1.3; display: block; }

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.photo-strip .inline-photo { aspect-ratio: 4 / 3; }
.photo-strip figcaption { font-size: 0.82rem; }

/* full-width photo dropped into a prose column, e.g. mid-article */
.prose-photo { margin: 1.8em 0; aspect-ratio: 4 / 3; }
.prose-photo img { object-fit: cover; }

.checklist { list-style: none; margin-top: 18px; }
.checklist li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 13px;
  color: var(--steel);
}
.checklist li strong { color: var(--ink); }
.section-dark .checklist li { color: #c9c9d0; }
.section-dark .checklist li strong { color: #fff; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.4-4-4 1.7-1.7 2.3 2.3 5-5 1.7 1.7-6.7 6.7z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.4-4-4 1.7-1.7 2.3 2.3 5-5 1.7 1.7-6.7 6.7z"/></svg>') center / contain no-repeat;
}

/* numbered process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.steps.cols-5 { grid-template-columns: repeat(5, 1fr); }
.step { counter-increment: step; }
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.2rem; }
.step p { font-size: 0.98rem; color: var(--steel); }
.section-dark .step p { color: #c9c9d0; }

/* ---------- article / pillar ---------- */

.article { padding: 64px 0; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; }
.toc {
  position: sticky;
  top: 110px;
  align-self: start;
  border-left: 3px solid var(--red);
  padding-left: 18px;
  font-size: 0.95rem;
}
.toc strong {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.toc ol { list-style: none; }
.toc li { margin-bottom: 9px; }
.toc a { color: var(--steel); text-decoration: none; }
.toc a:hover { color: var(--red); }

.prose h2 { margin-top: 1.8em; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { margin: 1em 0 1em 1.4em; }
.prose li { margin-bottom: 0.5em; }
.prose .lead { margin-bottom: 1em; }

.answer-box {
  background: var(--red-tint);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin: 0 0 2em;
}
.answer-box p { color: var(--ink); }

.note-box {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 1.5em 0;
  font-size: 0.98rem;
  color: var(--steel);
}
.note-box strong { color: var(--ink); }

.meta-line {
  font-size: 0.9rem;
  color: var(--mist);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 26px;
}

/* comparison table */
.table-scroll { overflow-x: auto; margin: 1.5em 0; }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.97rem; }
table.compare th, table.compare td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
table.compare thead th {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.02rem;
}
table.compare tbody th { background: var(--stone); font-weight: 600; width: 22%; }
table.compare td.good { background: #f2f8f2; }

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--paper);
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--red);
}
.faq details[open] summary::after { content: "-"; }
.faq .faq-body { padding: 0 20px 18px; color: var(--steel); }

/* diagram */
.diagram-card {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 26px;
  margin: 1.5em 0;
}
.diagram-card figcaption { font-size: 0.9rem; color: var(--mist); margin-top: 12px; text-align: center; }
.diagram-card svg { width: 100%; height: auto; max-width: 640px; margin: 0 auto; display: block; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(115deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  padding: 64px 0;
}
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: #f3d3d9; margin-top: 8px; }
.cta-band .btn { background: #fff; color: var(--red) !important; }
.cta-band .btn:hover { background: var(--stone); }

/* ---------- forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label.field { display: block; font-weight: 600; font-size: 0.95rem; }
label.field span { display: block; margin-bottom: 6px; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
textarea { min-height: 130px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-weight: 600; display: none; }
.form-status.ok { display: block; color: #1a7f37; }
.form-status.err { display: block; color: var(--red-dark); }

.contact-panel {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 32px;
}
.contact-panel h3 { color: #fff; }
.contact-panel p, .contact-panel li { color: #c9c9d0; }
.contact-panel a { color: #fff; }
.contact-panel ul { list-style: none; margin-top: 8px; }
.contact-panel li { margin-bottom: 10px; }
.contact-panel .big {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

/* ---------- map ---------- */

.map-frame { line-height: 0; }
.map-frame iframe {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
  filter: saturate(0.85);
}

@media (max-width: 760px) {
  .map-frame iframe { height: 340px; }
}

/* ---------- footer ---------- */

footer.site {
  background: var(--ink);
  color: #b9b9c2;
  padding: 60px 0 30px;
  font-size: 0.95rem;
}
footer.site .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid #33333b;
}
footer.site .cols > div { min-width: 0; }
footer.site h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; }
footer.site a { color: #b9b9c2; text-decoration: none; }
footer.site li a[href^="mailto"] { overflow-wrap: anywhere; }
footer.site a:hover { color: #fff; }
footer.site .fine { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 0.85rem; color: #82828c; }
.foot-brand { font-family: var(--font-head); text-transform: uppercase; color: #fff; font-size: 1.4rem; letter-spacing: 0.05em; }
.foot-brand em { color: var(--red); font-style: normal; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; margin-bottom: 10px; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  section { padding: 52px 0; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar .lic { display: none; }
  .photo-strip { grid-template-columns: 1fr 1fr; gap: 12px; }

  label.burger { display: block; }
  nav.main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ nav.main { display: flex; }
  header.site .wrap { position: relative; }
  .brand img { height: 46px; }

  nav.main .nav-item { width: 100%; padding-bottom: 0; margin-bottom: 0; }
  nav.main .nav-parent .chevron { display: none; }
  nav.main .nav-cta { width: 100%; flex-wrap: wrap; }
  nav.main .nav-cta .btn { flex: 1 1 auto; text-align: center; justify-content: center; }
  nav.main .dropdown {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 4px 0 4px 16px;
    margin: 6px 0 0;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .steps.cols-5 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 60px; }
}
