/* ==========================================================================
   Location pages (/equipment-hire-{suburb}/) — loaded after style.css.
   Only layout for the location template; all colours, fonts, radii, shadows
   and breakpoints come from the tokens in style.css.
   ========================================================================== */

.loc-hero { background-repeat: no-repeat; }
/* .hero__inner zeroes the container's side padding; restore it so hero text lines up with the sections below */
.loc-hero .hero__inner { padding: 30px var(--container-pad); }
/* lighter overlay than the shared hero so the photo shows through; text stays well above AA contrast */
.loc-hero::before { background: linear-gradient(100deg, rgba(3,25,58,0.84) 0%, rgba(3,25,58,0.70) 45%, rgba(3,25,58,0.34) 100%); }
.loc-hero .hero__content p + p { margin-top: 0; }

.loc-prose { max-width: 820px; margin: 0 auto; }
.loc-lead { font-size: 18px; color: var(--color-charcoal); }
.loc-lead-sm { font-size: 17px; color: var(--color-charcoal); }

/* ---------- Intro + depot card ---------- */
.loc-intro__grid { grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: center; }
.loc-intro__body p { color: var(--color-text-muted); margin-bottom: 22px; }
.loc-intro__body p:last-child { margin-bottom: 0; }
.loc-intro__body p.loc-lead { color: var(--color-charcoal); }
.loc-intro__media img,
.loc-extra__media img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }

.loc-depot {
  background: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-top: 4px solid var(--color-orange);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.loc-depot__label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-orange);
}
.loc-depot__address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-navy);
}
.loc-depot__address svg { flex-shrink: 0; margin-top: 4px; color: var(--color-orange); }
.loc-depot address {
  font-style: normal;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
.loc-depot__address:hover,
.loc-depot__address:focus-visible { color: var(--color-orange); }
.loc-depot__link {
  color: var(--color-charcoal);
  font-size: 14px;
  font-weight: 600;
}
.loc-depot__link:hover,
.loc-depot__link:focus-visible { color: var(--color-orange); text-decoration: underline; }

/* Links inside body copy (the CTA band keeps its own white text) */
.loc-intro p a,
.loc-equip__body p a,
.loc-card p a,
.loc-extra p a,
.loc-step p a,
.loc-faq__a p a {
  color: var(--color-blue);
  font-weight: 600;
  text-decoration: underline;
}
.loc-intro p a:hover,
.loc-equip__body p a:hover,
.loc-card p a:hover,
.loc-extra p a:hover,
.loc-step p a:hover,
.loc-faq__a p a:hover,
.loc-areas__body p a:hover { color: var(--color-orange); }

/* ---------- Equipment rows ---------- */
.loc-equipment .section-title { margin-bottom: 50px; }
.loc-equip { grid-template-columns: 1fr 1fr; gap: 64px; }
.loc-equip + .loc-equip { margin-top: 88px; }
/* image column is ~12% narrower than the previous layout; outer edges stay on the container edges */
.loc-equip__media { width: 85%; justify-self: start; }
.loc-equip--flip .loc-equip__media { order: 2; justify-self: end; }
.loc-equip__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.loc-equip__body p { color: var(--color-text-muted); }
.loc-equip__body p.loc-lead-sm { color: var(--color-charcoal); }
.loc-equip__body .btn { margin-top: 12px; }

/* ---------- Why hire ---------- */
.loc-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.loc-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-md);
  padding: 32px 30px;
}
.loc-card h3 { font-size: 20px; margin-bottom: 12px; }
.loc-card p { color: var(--color-text-muted); font-size: 15px; }

/* ---------- Optional photo gallery under the benefit cards ---------- */
.loc-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.loc-gallery picture { display: block; }
.loc-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2; /* reserves the space before the photo loads, whatever the source file's shape */
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ---------- Areas ---------- */
.loc-areas__grid { align-items: start; }
.loc-areas__body p { color: var(--color-text-muted); }
.loc-areas__body p.loc-lead-sm { color: var(--color-charcoal); }
.loc-areas__closing { margin-top: 24px; }
.loc-areas__closing p { margin-bottom: 8px; }
.loc-areas__body > p a,
.loc-areas__closing a { color: var(--color-blue); font-weight: 600; text-decoration: underline; }
.loc-suburbs {
  background: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-md);
  padding: 30px;
}
.loc-suburbs__intro { font-weight: 600; color: var(--color-charcoal); margin-bottom: 18px; }
.loc-suburbs .tag-list { gap: 10px; }
.loc-suburbs .tag-list li { font-size: 14px; padding: 8px 16px; background: var(--color-grey-bg-alt); border: 1px solid var(--color-grey-border); }

/* ---------- Process ---------- */
.loc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: loc-step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.loc-step {
  counter-increment: loc-step;
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-md);
  padding: 30px 24px 26px;
}
.loc-step::before {
  content: counter(loc-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}
.loc-step h3 { font-size: 19px; margin-bottom: 10px; }
.loc-step p { color: var(--color-text-muted); font-size: 15px; }

.loc-process__cta { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- FAQ accordion (native <details>, no JS) ---------- */
.loc-faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.loc-faq {
  background: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-md);
}
.loc-faq[open] { border-color: var(--color-orange); box-shadow: var(--shadow-card); }
.loc-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-charcoal);
}
.loc-faq summary::-webkit-details-marker { display: none; }
.loc-faq summary::after {
  content: '+';
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 89, 41, 0.1);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}
.loc-faq[open] summary::after { content: '\2212'; }
.loc-faq summary:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 2px; border-radius: var(--radius-md); }
.loc-faq__a { padding: 0 22px 20px; }
.loc-faq__a p { color: var(--color-text-muted); }

/* ---------- Optional extra sections / related links ---------- */
.loc-extra__grid { align-items: center; }
.loc-extra--flip .loc-extra__media { order: -1; }
.loc-extra__body p { color: var(--color-text-muted); }
.loc-more { padding: 0 0 40px; }
.loc-more ul { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }
.loc-more a { color: var(--color-blue); font-weight: 600; text-decoration: underline; }

/* ---------- Final CTA: reuse .cta-band, allow multi-paragraph copy ---------- */
.loc-cta p { margin-bottom: 10px; }
.loc-cta p:last-child { margin-bottom: 0; }

/* ---------- Breakpoints (match style.css) ---------- */
@media only screen and (max-width: 1199px) {
  .loc-steps { grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (max-width: 991px) {
  .loc-equip { gap: 40px; }
  .loc-intro__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media only screen and (max-width: 767px) {
  .loc-hero .hero__inner { padding: 40px var(--container-pad); }
  .loc-intro__grid,
  .loc-equip { grid-template-columns: 1fr; }
  .loc-equip + .loc-equip { margin-top: 56px; }
  .loc-equip__media,
  .loc-equip--flip .loc-equip__media { width: 100%; order: 0; }
  .loc-extra--flip .loc-extra__media { order: 0; }
  .loc-equipment .section-title { margin-bottom: 32px; }
  .loc-benefits { grid-template-columns: 1fr; gap: 20px; }
  .loc-card { padding: 26px 22px; }
  .loc-lead { font-size: 17px; }
  .loc-faq summary { font-size: 16px; padding: 16px 18px; }
  .loc-faq__a { padding: 0 18px 18px; }
  .loc-suburbs { padding: 22px; }
}
@media only screen and (max-width: 575px) {
  .loc-gallery { grid-template-columns: 1fr; gap: 12px; }
  .loc-steps { grid-template-columns: 1fr; }
  .loc-depot { padding: 22px; }
  .loc-depot address { font-size: 20px; }
}
