/* Location / suburb page */
.loc-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 5rem 0 3rem;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(17, 34, 64, 0.45) 0%, rgba(17, 34, 64, 0.88) 100%),
    url("../images/GUTTER-GUARD-Abbotsbury-scaled.webp") center / cover no-repeat;
}

.loc-hero.hero-install {
  background-image:
    linear-gradient(180deg, rgba(0, 20, 80, 0.45) 0%, rgba(10, 14, 26, 0.88) 100%),
    url("../images/GUTTER-GUARDS-installation.webp");
  background-size: cover;
  background-position: center;
}

.loc-hero.hero-bird {
  background-image:
    linear-gradient(180deg, rgba(0, 20, 80, 0.45) 0%, rgba(10, 14, 26, 0.88) 100%),
    url("../images/birdproofing.webp");
  background-size: cover;
  background-position: center;
}

.loc-hero.hero-services {
  background-image:
    linear-gradient(180deg, rgba(0, 20, 80, 0.45) 0%, rgba(10, 14, 26, 0.88) 100%),
    url("../images/GUTTER-GUARDS-installation.webp");
  background-size: cover;
  background-position: center;
}

.loc-hero.hero-install h1,
.loc-hero.hero-bird h1,
.loc-hero.hero-services h1 {
  max-width: 24ch;
}

.loc-hero .crumbs {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.loc-hero .crumbs a { color: #ffb199; }
.loc-hero .crumbs span { opacity: 0.7; margin: 0 0.2rem; }

.loc-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  margin-bottom: 0.65rem;
  max-width: 16ch;
}

.loc-hero .lead {
  max-width: 620px;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
}

.loc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.loc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 2.5rem;
  align-items: start;
  padding: 3.5rem 0 4rem;
}

.loc-content,
.loc-sidebar {
  min-width: 0;
  max-width: 100%;
}

.loc-content {
  overflow-x: clip;
}

.loc-content h2 {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 2.25rem 0 0.85rem;
}

.loc-content h2:first-child {
  margin-top: 0;
}

.loc-content h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin: 1.35rem 0 0.5rem;
  text-transform: none;
  letter-spacing: 0;
}

.loc-content h4 {
  color: var(--navy);
  font-size: 1.05rem;
  margin: 1rem 0 0.4rem;
  text-transform: none;
  letter-spacing: 0;
}

.loc-content p {
  color: var(--text);
  margin-bottom: 1rem;
}

.loc-content .intro-img {
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 1.5rem;
  box-shadow: var(--shadow);
}

.loc-content .intro-img img {
  width: 100%;
  height: auto;
  display: block;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin: 1.25rem 0 1.75rem;
}

.problem-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1rem;
}

.problem-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 60, 0, 0.1);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
}

.problem-card strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.problem-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
}

.feature-checks {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.feature-checks li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--text);
}

.feature-checks li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

.nearby-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 1.25rem;
}

.nearby-tags a,
.nearby-tags span {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.nearby-tags a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.gutter-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0 2rem;
}

.gutter-type {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gutter-type:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.gutter-type img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.gutter-type span {
  display: block;
  padding: 0.75rem 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.guard-cards {
  display: grid;
  gap: 1.15rem;
  margin: 1.25rem 0 2rem;
}

.guard-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.15rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  align-items: stretch;
}

.guard-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.guard-card .body {
  padding: 1.15rem 1.15rem 1.15rem 0;
}

.guard-card h3 {
  margin-top: 0.35rem;
}

.choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}

.choose-item {
  background: var(--cream);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  border: 1px solid var(--border);
}

.choose-item h4 {
  margin-top: 0;
  color: var(--orange);
}

.choose-item p { margin-bottom: 0; font-size: 15px; }

.steps {
  counter-reset: step;
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 2rem;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.9rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}

.step h4 { margin: 0.15rem 0 0.35rem; }
.step p { margin: 0; font-size: 15px; }

.why-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 1.25rem 0;
}

.why-item {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 0.9rem;
}

.why-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 0.75rem;
}

.why-item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.why-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.checklist {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.checklist li {
  position: relative;
  padding: 0.7rem 0.85rem 0.7rem 2.2rem;
  background: var(--cream);
  border-radius: 8px;
  font-size: 15px;
  color: var(--text);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0.75rem;
  color: var(--green);
  font-weight: 800;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin: 1.25rem 0;
}

.benefit {
  background: #fff;
  border-left: 4px solid var(--orange);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.1rem;
  box-shadow: 0 6px 18px rgba(17, 34, 64, 0.05);
}

.benefit h4 { margin-top: 0; }
.benefit p { margin: 0; font-size: 15px; }

.accreditations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
  margin: 1.25rem 0 2rem;
  background: #fff;
  border: 1px solid rgba(0, 20, 80, 0.06);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(0, 20, 80, 0.05);
}

.accreditations img {
  width: 100%;
  max-height: 80px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem;
}

.loc-testimonials {
  display: grid;
  gap: 0.9rem;
  margin: 1.25rem 0 2rem;
}

.loc-testimonial {
  background: var(--cream);
  border-radius: 12px;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--border);
}

.loc-testimonial p {
  font-style: italic;
  margin-bottom: 0.75rem;
}

.loc-testimonial .who {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.loc-testimonial .where {
  font-size: 14px;
  color: #788396;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
}

.portfolio-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

.cta-banner {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0 0;
}

.cta-banner h3 {
  color: #fff;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 42ch;
}

/* Sticky sidebar */
.loc-sidebar {
  position: sticky;
  top: 100px;
}

.loc-sidebar .quote-card {
  margin-bottom: 1rem;
}

.side-info {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem;
}

.side-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  color: var(--navy);
}

.side-info .row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  font-size: 14.5px;
  color: var(--text);
}

.side-info .row i { color: var(--orange); }
.side-info a { color: var(--navy); font-weight: 600; }
.side-info a:hover { color: var(--orange); }

.eyebrow {
  font-family: var(--font-display);
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.choose-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  margin: 1.25rem 0;
}

.choose-split img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .loc-layout { grid-template-columns: minmax(0, 1fr); }
  .loc-sidebar { position: static; }
  .why-strip { grid-template-columns: 1fr 1fr; }
  .accreditations { grid-template-columns: 1fr 1fr; }
  .choose-split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .problem-grid,
  .benefits-grid,
  .choose-grid,
  .gutter-types,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guard-card {
    grid-template-columns: 1fr;
  }

  .guard-card img {
    height: 180px;
  }

  .guard-card .body {
    padding: 0 1.15rem 1.15rem;
  }
}

.loc-content .product-grid-svc,
.loc-content .benefits-4,
.loc-content .why-strip,
.loc-content .accreditations,
.loc-content .portfolio-grid,
.loc-content .services-hub-grid,
.loc-content .t-carousel,
.loc-content .t-viewport,
.loc-content .cta-banner {
  max-width: 100%;
}

.loc-content .product-grid-svc {
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.loc-content .benefits-4,
.loc-content .why-strip,
.loc-content .services-hub-grid {
  grid-template-columns: 1fr;
}

.loc-content .accreditations {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.loc-content .portfolio-grid {
  grid-template-columns: 1fr 1fr;
}

.loc-content .t-carousel {
  padding-inline: 2.6rem;
}

.loc-content .testimonial-card {
  flex: 0 0 100%;
}

.loc-content .t-head {
  text-align: left;
}

.loc-content .t-head .accent-line {
  margin-inline: 0;
}

.loc-sidebar .quote-card,
.loc-sidebar .quote-card input,
.loc-sidebar .quote-card select,
.loc-sidebar .quote-card textarea {
  min-width: 0;
  max-width: 100%;
}

.loc-sidebar .form-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .loc-content .product-grid-svc,
  .loc-content .benefits-4,
  .loc-content .why-strip,
  .loc-content .services-hub-grid {
    grid-template-columns: 1fr 1fr;
  }

  .loc-content .testimonial-card {
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }

  .loc-content .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .problem-grid,
  .benefits-grid,
  .choose-grid,
  .gutter-types,
  .portfolio-grid,
  .why-strip {
    grid-template-columns: 1fr;
  }
}
