/* home.css - cleaner home page. Everything is scoped to body.page-home so other pages are unaffected. */

.page-home {
  --pb-red: #C4242C;
  --pb-red-dark: #a51d24;
  --pb-ink: #2b2b2b;
  --pb-muted: #666;
  --pb-soft: #f6f5f3;
  -webkit-font-smoothing: antialiased;
}

/* ================= HERO ================= */

/* Whole hero fades in on page load (pure CSS, so it still shows if JS fails) */
@keyframes pb-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pb-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pb-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.page-home .slider {
  clear: both;
  overflow: hidden;
  background: #1d1d1d;
  animation: pb-fade-in 1.2s ease-out both;
}

/* Before slick starts, show only the first slide (no stacked-image flash) */
.page-home .home-slider:not(.slick-initialized) > li + li { display: none; }
.page-home .home-slider { margin: 0; list-style: none; }

.page-home .slider li {
  position: relative;
  overflow: hidden;
}

.page-home .slider li img {
  display: block;
  width: 100%;
  height: clamp(440px, 41vw, 720px);
  object-fit: cover;
}

/* Gentle zoom-out on the visible slide */
.page-home .slider li.slick-active img { animation: pb-zoom 7s ease-out both; }

/* Dark gradient so text is readable without the old red blocks */
.page-home .slider li::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15,15,15,.72) 0%, rgba(15,15,15,.45) 45%, rgba(15,15,15,0) 80%);
  pointer-events: none;
}

.page-home .slider li > .row {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

.page-home .slider-caption {
  position: absolute;
  top: 50%;
  left: 0;
  right: auto;
  transform: translateY(-50%);
  max-width: 640px;
  padding: 0 30px;
}

.page-home .slider-caption span,
.page-home .slider-caption h2 span {
  background: none;
  padding: 0;
  display: inline;
}

.page-home .slider-caption span.heading-sub {
  display: block;
  margin: 0 0 18px;
  padding-left: 52px;
  position: relative;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
}
.page-home .slider-caption span.heading-sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 2px;
  background: var(--pb-red);
}

.page-home .slider-caption h2 {
  margin: 0 0 32px;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}

.page-home .slider-caption .button {
  margin: 0;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
  white-space: normal;
  color: #fff;
  background: var(--pb-red);
  border: 0;
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(196,36,44,.35);
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.page-home .slider-caption .button:hover,
.page-home .slider-caption .button:focus {
  background: var(--pb-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(196,36,44,.45);
}

/* Caption fades up, staggered, each time a slide becomes active */
.page-home .slider-caption > * { opacity: 0; }
.page-home .slider li.slick-active .slider-caption > * { animation: pb-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.page-home .slider li.slick-active .slider-caption > :nth-child(1) { animation-delay: .35s; }
.page-home .slider li.slick-active .slider-caption > :nth-child(2) { animation-delay: .55s; }
.page-home .slider li.slick-active .slider-caption > :nth-child(3) { animation-delay: .8s; }
/* No-JS fallback: first caption still appears */
.page-home .home-slider:not(.slick-initialized) > li:first-child .slider-caption > * { animation: pb-rise .9s .4s ease-out both; }

/* Arrows and dots: quieter */
.page-home .slider .slick-prev,
.page-home .slider .slick-next { z-index: 3; opacity: 0; transition: opacity .3s ease; }
.page-home .slider:hover .slick-prev,
.page-home .slider:hover .slick-next { opacity: 1; }
.page-home .slider .slick-prev { left: 20px; }
.page-home .slider .slick-next { right: 20px; }
.page-home .slider .slick-prev:before,
.page-home .slider .slick-next:before { font-size: 34px; }

.page-home .slider .slick-dots { z-index: 3; bottom: 26px; margin: 0; }
.page-home .slider .slick-dots li { width: 28px; height: 4px; margin: 0 4px; }
.page-home .slider .slick-dots li button { width: 28px; height: 4px; padding: 0; background: rgba(255,255,255,.4); border-radius: 2px; transition: background-color .3s ease; }
.page-home .slider .slick-dots li button:before { content: none; }
.page-home .slider .slick-dots li.slick-active button { background: #fff; }

/* ================= SHARED SECTION BITS ================= */

.page-home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pb-red);
}
.page-home .eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.page-home .eyebrow-light { color: #ff7a80; }

.page-home .section-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--pb-ink);
}
.page-home .section-title em {
  font-style: normal;
  color: var(--pb-red);
  background: linear-gradient(transparent 64%, rgba(196,36,44,.13) 64%);
  padding: 0 .08em;
}
.page-home .section-lead { margin: 0; font-size: 17px; line-height: 1.7; color: var(--pb-muted); }

/* Reveal on scroll (only when JS adds .reveal-on to <html>) */
.reveal-on .page-home [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal-on .page-home [data-reveal].is-in { opacity: 1; transform: none; }

/* ================= SERVICES ================= */

.page-home .services {
  position: relative;
  float: none;
  clear: both;
  overflow: hidden;
  padding: 110px 0 100px;
  background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
}
.page-home .services::before {          /* soft red glow, top right */
  content: "";
  position: absolute;
  top: -180px; right: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,36,44,.10) 0%, rgba(196,36,44,0) 70%);
  pointer-events: none;
}
.page-home .services .row { position: relative; }

.page-home .section-head { max-width: 660px; margin: 0 auto 60px; padding: 0 15px; text-align: center; }
.page-home .section-head .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; }

.page-home .svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0 15px;
}

.page-home .svc-card {
  --d: 0s;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 42px 34px 34px;
  background: #fff;
  border: 1px solid #eeeae5;
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(20,22,28,.03);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1), translate .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease, border-color .3s ease;
  transition-delay: var(--d), var(--d), 0s, 0s, 0s;
}
.page-home .svc-card:nth-child(2) { --d: .12s; }
.page-home .svc-card:nth-child(3) { --d: .24s; }

.page-home .svc-card::before {          /* tint that blooms from the corner on hover */
  content: "";
  position: absolute;
  z-index: -1;
  top: -40%; right: -40%;
  width: 90%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,36,44,.09) 0%, rgba(196,36,44,0) 70%);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .5s ease, transform .6s ease;
}
.page-home .svc-card::after {           /* red bar that draws across the bottom */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pb-red), #e8545b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.page-home .svc-card:hover {
  translate: 0 -10px;
  border-color: transparent;
  box-shadow: 0 30px 60px rgba(20,22,28,.12);
}
.page-home .svc-card:hover::before { opacity: 1; transform: none; }
.page-home .svc-card:hover::after { transform: scaleX(1); }

.page-home .svc-num {
  position: absolute;
  top: 24px; right: 30px;
  font-size: 68px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px #e7e2db;
  transition: -webkit-text-stroke-color .4s ease, transform .5s ease;
}
.page-home .svc-card:hover .svc-num { -webkit-text-stroke-color: rgba(196,36,44,.45); transform: translateY(-4px); }

.page-home .services figure {
  position: relative;
  width: 96px; height: 96px;
  margin: 0 0 28px;
  float: none;
}
.page-home .services figure a { display: block; line-height: 0; }
.page-home .services figure img {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(20,22,28,.14);
}
.page-home .services figure::after {    /* dashed orbit that spins on hover */
  content: "";
  position: absolute;
  inset: -8px;
  border: 1.5px dashed rgba(196,36,44,.35);
  border-radius: 50%;
  transition: border-color .3s ease;
}
@keyframes pb-spin { to { transform: rotate(360deg); } }
.page-home .svc-card:hover figure::after { border-color: var(--pb-red); animation: pb-spin 8s linear infinite; }

.page-home .services h3 { margin: 0 0 12px; font-size: 23px; font-weight: 700; letter-spacing: -.01em; text-align: left; }
.page-home .services h3 a { color: var(--pb-ink); }
.page-home .services h3 a:hover { color: var(--pb-red); }
.page-home .services p { flex: 1; margin: 0 0 26px; font-size: 15px; line-height: 1.75; color: var(--pb-muted); text-align: left; }

.page-home .svc-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(196,36,44,.07);
  color: var(--pb-red);
  font-size: 14px;
  font-weight: 700;
  transition: background-color .3s ease, color .3s ease, gap .3s ease;
}
.page-home .svc-card:hover .svc-link { background: var(--pb-red); color: #fff; gap: 14px; }

/* ================= ABOUT ================= */

.page-home .about {
  position: relative;
  float: none;
  clear: both;
  overflow: hidden;
  padding: 130px 0;
  background-position: center !important;
  background-attachment: fixed !important;
}
.page-home .about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(16,17,21,.97) 0%, rgba(20,21,26,.9) 55%, rgba(110,16,22,.88) 100%);
}
.page-home .about::after {              /* faint giant word in the background */
  content: "Sunshine Coast";
  position: absolute;
  left: 50%; bottom: -0.18em;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: clamp(80px, 13vw, 210px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.06);
  pointer-events: none;
}

.page-home .about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 84px;
  align-items: center;
  padding: 0 15px;
}
.page-home .about-grid::before, .page-home .about-grid::after { content: none; }

.page-home .about-media { position: relative; padding: 0 26px 26px 0; }
.page-home .about-media::before {       /* offset red frame */
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 88%; height: 88%;
  border: 2px solid var(--pb-red);
  border-radius: 22px;
}
.page-home .about-media::after {        /* dot grid */
  content: "";
  position: absolute;
  left: -34px; top: -34px;
  width: 130px; height: 130px;
  background-image: radial-gradient(rgba(255,255,255,.35) 1.6px, transparent 1.8px);
  background-size: 14px 14px;
}
.page-home .about-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 34px 70px rgba(0,0,0,.5);
}
.page-home .about-photo img { display: block; width: 100%; height: auto; border-radius: 0; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.page-home .about-media:hover .about-photo img { transform: scale(1.05); }

@keyframes pb-bob { 50% { transform: translateY(-8px); } }
.page-home .about-badge {
  position: absolute;
  z-index: 2;
  left: -22px; bottom: -6px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 270px;
  padding: 16px 22px 16px 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 22px 44px rgba(0,0,0,.35);
  animation: pb-bob 5s ease-in-out infinite;
}
.page-home .about-badge strong {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--pb-red);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.page-home .about-badge span { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--pb-ink); }

.page-home .about-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.015em;
}
.page-home .about p { margin: 0 0 14px; font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.72); }
.page-home .about p.about-lead { margin-bottom: 18px; font-size: 19px; font-weight: 300; line-height: 1.6; color: #fff; }

.page-home .about-press {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 26px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.page-home .about-press-label { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.page-home .about-press ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.page-home .about-press li {
  margin: 0;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.04);
}

.page-home .about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.page-home .about .get-touch {
  display: inline-flex;
  align-items: center;
  height: 52px;
  margin: 0;
  padding: 0 30px;
  border: 0;
  border-radius: 8px;
  background: var(--pb-red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(196,36,44,.4);
  transition: background-color .25s ease, transform .25s ease;
}
.page-home .about .get-touch:hover { background: var(--pb-red-dark); color: #fff; transform: translateY(-2px); }
.page-home .about-call { color: #fff; font-size: 16px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; transition: border-color .25s ease; }
.page-home .about-call span { font-weight: 400; color: rgba(255,255,255,.6); margin-right: 4px; }
.page-home .about-call:hover { color: #fff; border-color: #fff; }

/* ================= TESTIMONIALS ================= */

.page-home .testimonials {
  position: relative;
  float: none;
  clear: both;
  overflow: hidden;
  padding: 110px 0 90px;
  background: #f6f4f1;
}
.page-home .testimonials::before {      /* oversized quote mark */
  content: "\201C";
  position: absolute;
  top: -70px; left: 2%;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 460px;
  line-height: 1;
  color: rgba(196,36,44,.06);
  pointer-events: none;
}
.page-home .testimonials .row { position: relative; }

.page-home .t-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
  padding: 0 15px;
}
.page-home .t-head .section-title { margin: 0; }

.page-home .t-arrows { display: flex; flex: none; gap: 10px; }
.page-home .t-arrows .t-arrow {
  position: static;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0;
  padding: 0;
  border: 1px solid #d9d3cb;
  border-radius: 50%;
  background: #fff;
  color: var(--pb-ink);
  box-shadow: none;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.page-home .t-arrows .t-next { background: var(--pb-ink); border-color: var(--pb-ink); color: #fff; }
.page-home .t-arrows .t-arrow:hover,
.page-home .t-arrows .t-arrow:focus-visible { background: var(--pb-red); border-color: var(--pb-red); color: #fff; }
.page-home .t-arrows .t-prev:hover { transform: translateX(-3px); }
.page-home .t-arrows .t-next:hover { transform: translateX(3px); }
.page-home .t-arrows .t-arrow:focus { outline: none; }
.page-home .t-arrows .t-arrow:focus-visible { outline: 2px solid var(--pb-red); outline-offset: 3px; }
.page-home .t-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.page-home .testimonal { padding: 0 1px; }
.page-home .testimonal .slick-list { padding: 6px 0 40px; }
.page-home .testimonal .slick-track { display: flex; }
.page-home .testimonal .slick-slide { float: none; height: auto; display: flex; padding: 0 14px; }
.page-home .testimonal:not(.slick-initialized) { display: grid; grid-template-columns: 1fr 1fr; }
.page-home .testimonal:not(.slick-initialized) .slide:nth-child(n+3) { display: none; }

.page-home .t-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(20,22,28,.04), 0 22px 44px rgba(20,22,28,.07);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}
.page-home .t-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(20,22,28,.12); }

.page-home .t-photo { position: relative; height: 210px; overflow: hidden; }
.page-home .t-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.page-home .t-card:hover .t-photo img { transform: scale(1.07); }
.page-home .t-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.25) 100%);
}

.page-home .t-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin: -29px 0 0 34px;
  padding-top: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--pb-red);
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 46px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(196,36,44,.35);
}

.page-home .t-card blockquote { margin: 0; padding: 18px 34px 6px; border: 0; }
.page-home .t-card blockquote p {
  margin: 0;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  color: #34363c;
}
.page-home .t-who {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
  padding: 20px 34px 30px;
}
.page-home .t-who strong { font-size: 16px; color: var(--pb-ink); }
.page-home .t-who span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pb-red); }

/* ================= RESPONSIVE ================= */

@media (max-width: 979px) {
  .page-home .slider li img { height: 460px; }
  .page-home .slider li::before { background: linear-gradient(0deg, rgba(15,15,15,.75) 0%, rgba(15,15,15,.45) 60%, rgba(15,15,15,.25) 100%); }
  .page-home .slider-caption { left: 0; right: 0; top: 50%; padding: 0 28px; max-width: none; }
}

@media (max-width: 641px) {
  .page-home .slider li img { height: 420px; }
  .page-home .slider-caption { padding: 0 20px; }
  .page-home .slider-caption span.heading-sub { font-size: 12px; padding-left: 40px; margin-bottom: 14px; }
  .page-home .slider-caption span.heading-sub::before { width: 28px; }
  .page-home .slider-caption h2 { font-size: 28px; margin-bottom: 24px; }
  .page-home .slider-caption .button { font-size: 12px; padding: 12px 20px; }
  .page-home .slider .slick-prev, .page-home .slider .slick-next { display: none !important; }
  .page-home .slider ul.slick-dots { display: block !important; bottom: 18px; }
}

@media (max-width: 1023px) {
  .page-home .about { background-attachment: scroll !important; }
  .page-home .svc-grid { gap: 20px; }
  .page-home .svc-card { padding: 36px 26px 28px; }
  .page-home .about-grid { gap: 56px; }
}

@media (max-width: 899px) {
  .page-home .services, .page-home .testimonials { padding: 80px 0 70px; }
  .page-home .about { padding: 90px 0 100px; }
  .page-home .about-grid { grid-template-columns: 1fr; }
  .page-home .about-media { max-width: 560px; width: 100%; margin: 0 auto; }
  .page-home .testimonal:not(.slick-initialized) { grid-template-columns: 1fr; }
  .page-home .testimonal:not(.slick-initialized) .slide:nth-child(n+2) { display: none; }
}

/* Services become a swipeable row on tablet/phone */
@media (max-width: 899px) {
  .page-home .section-head { margin-bottom: 40px; }
  .page-home .svc-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78%, 360px);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 15px;
    padding: 6px 15px 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .page-home .svc-grid::-webkit-scrollbar { display: none; }
  .page-home .svc-card { scroll-snap-align: start; }
  .page-home .svc-card:hover { translate: none; }
}

@media (max-width: 641px) {
  .page-home .services, .page-home .testimonials { padding: 64px 0 56px; }
  .page-home .about { padding: 72px 0 84px; }
  .page-home .svc-grid { grid-auto-columns: 84%; }
  .page-home .svc-num { font-size: 54px; right: 22px; }
  .page-home .about-media { padding: 0 16px 16px 0; }
  .page-home .about-media::after { left: -14px; top: -14px; width: 90px; height: 90px; }
  .page-home .about-badge { left: 10px; bottom: -14px; padding: 12px 16px 12px 12px; max-width: 230px; }
  .page-home .about-badge strong { width: 44px; height: 44px; font-size: 24px; }
  .page-home .about p.about-lead { font-size: 17px; }
  .page-home .t-head { align-items: center; margin-bottom: 28px; }
  .page-home .t-head .section-title { font-size: 25px; }
  .page-home .t-arrows { gap: 8px; }
  .page-home .t-arrows .t-arrow { width: 44px; height: 44px; }
  .page-home .testimonal .slick-slide { padding: 0 8px; }
  .page-home .testimonal .slick-list { margin: 0 -8px; }
  .page-home .t-photo { height: 170px; }
  .page-home .t-card blockquote { padding: 16px 24px 4px; }
  .page-home .t-card blockquote p { font-size: 16px; }
  .page-home .t-who { padding: 18px 24px 24px; }
  .page-home .t-mark { margin-left: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .about-badge,
  .page-home .svc-card:hover figure::after { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .slider,
  .page-home .slider li.slick-active img,
  .page-home .slider li.slick-active .slider-caption > *,
  .page-home .home-slider:not(.slick-initialized) > li:first-child .slider-caption > * { animation: none; }
  .page-home .slider-caption > * { opacity: 1; }
}

/* ---- Testimonial card fixes ----
   The theme sets *{margin:0 auto}; in a flex column that stops children stretching,
   so photos shrank to their natural size and text centred. Reset it. */
.page-home .t-card > * { margin-left: 0; margin-right: 0; }
.page-home .t-photo,
.page-home .t-card blockquote,
.page-home .t-who { width: 100%; align-self: stretch; }
.page-home .t-photo { margin: 0; height: 230px; background: #e9e5df; }
.page-home .t-photo img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: center; }
.page-home .t-who { margin-top: auto; text-align: left; align-items: flex-start; }
.page-home .t-card blockquote { text-align: left; }

/* Slick clips anything outside the slide strip, which cut the big shadow into a grey box.
   Use a tight shadow + hairline border that fits inside the slide gutter instead. */
.page-home .t-card { border: 1px solid #ebe6df; box-shadow: 0 8px 14px -10px rgba(20,22,28,.18); }
.page-home .t-card:hover { transform: translateY(-4px); box-shadow: 0 12px 16px -10px rgba(20,22,28,.22); }
.page-home .testimonal .slick-list { padding: 8px 0 24px; }
@media (max-width: 641px) { .page-home .t-photo { height: 190px; } }

/* ---- Testimonials v3: source photos are only 140x140, so show them small and sharp ----
   Layout: quote badge top, quote, then a footer row of round photo + name. */
.page-home .t-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-areas: "mark mark" "quote quote" "photo who";
  align-content: start;
  column-gap: 16px;
  padding: 34px 34px 30px;
}
.page-home .t-mark  { grid-area: mark; margin: 0 0 18px; border: 0; width: 52px; height: 52px; font-size: 42px; padding-top: 16px; box-shadow: 0 8px 18px -6px rgba(196,36,44,.45); }
.page-home .t-card blockquote { grid-area: quote; padding: 0 0 26px; margin: 0; }
.page-home .t-photo {
  grid-area: photo;
  align-self: end;
  width: 64px !important;
  height: 64px !important;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #e8e3dc;
}
.page-home .t-photo::after { content: none; }
.page-home .t-photo img { border-radius: 50%; image-rendering: auto; }
.page-home .t-card:hover .t-photo img { transform: scale(1.08); }
.page-home .t-who {
  grid-area: who;
  align-self: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: auto;
}
.page-home .t-card blockquote,
.page-home .t-who { position: relative; }
/* hairline divider above the footer row */
.page-home .t-card blockquote::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: #efebe5;
}
.page-home .t-card blockquote { margin-bottom: 20px; }

@media (max-width: 641px) {
  .page-home .t-card { padding: 26px 22px 24px; grid-template-columns: 56px 1fr; column-gap: 14px; }
  .page-home .t-photo { width: 56px !important; height: 56px !important; }
  .page-home .t-card blockquote { padding: 0 0 20px; }
}

/* ---- 3 testimonials per row on desktop ---- */
.page-home .testimonal:not(.slick-initialized) { grid-template-columns: repeat(3, 1fr); }
.page-home .testimonal:not(.slick-initialized) .slide:nth-child(n+3) { display: block; }
.page-home .t-card { padding: 30px 28px 26px; }
.page-home .t-card blockquote p { font-size: 16.5px; }
/* arrows always shown (testimonials are duplicated in JS so the carousel can scroll) */
@media (max-width: 1023px) {
  .page-home .testimonal:not(.slick-initialized) { grid-template-columns: 1fr 1fr; }
  .page-home .testimonal:not(.slick-initialized) .slide:nth-child(n+3) { display: none; }
}

/* ---- Services: card children left-aligned (theme margin:auto was centring the button) ---- */
.page-home .svc-card > * { margin-left: 0; margin-right: 0; }
.page-home .svc-link { align-self: flex-start; }

/* ---- Services carousel arrows (tablet/phone only) ---- */
.page-home .svc-arrows { display: none; }
.page-home .t-arrows .t-arrow:disabled { opacity: .35; cursor: default; transform: none; background: #fff; border-color: #d9d3cb; color: var(--pb-ink); }
@media (max-width: 899px) {
  .page-home .services .section-head { text-align: left; margin-bottom: 22px; }
  .page-home .svc-arrows { display: flex; justify-content: flex-end; padding: 0 15px 16px; }
  .page-home .svc-grid { grid-auto-columns: min(86%, 380px); }
}
@media (max-width: 641px) {
  .page-home .svc-arrows .t-arrow { width: 44px; height: 44px; }
}
@media (max-width: 899px) { .page-home .section-head .eyebrow::after { content: none; } }

/* ---- Hero: white rule beside the small heading ---- */
.page-home .slider-caption span.heading-sub::before { background: #fff; }

/* ---- Hero arrows: glass circles with drawn chevrons ---- */
.page-home .slider .slick-prev,
.page-home .slider .slick-next,
.page-home .slider .slick-prev:hover,
.page-home .slider .slick-next:hover,
.page-home .slider .slick-prev:focus,
.page-home .slider .slick-next:focus {
  top: 50%;
  width: 56px;
  height: 56px;
  margin-top: -28px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0;
  color: transparent;
  box-shadow: none;
  opacity: 1;
  transition: background-color .3s ease, border-color .3s ease, transform .3s ease;
}
.page-home .slider .slick-prev { left: 28px; }
.page-home .slider .slick-next { right: 28px; }
.page-home .slider .slick-prev:hover,
.page-home .slider .slick-next:hover { background: #fff; border-color: #fff; }
.page-home .slider .slick-prev:hover { transform: translateX(-3px); }
.page-home .slider .slick-next:hover { transform: translateX(3px); }
.page-home .slider .slick-prev:before,
.page-home .slider .slick-next:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  opacity: 1;
  font-size: 0;
  transition: border-color .3s ease;
}
.page-home .slider .slick-prev:before { transform: translate(-30%, -50%) rotate(-135deg); }
.page-home .slider .slick-next:before { transform: translate(-70%, -50%) rotate(45deg); }
.page-home .slider .slick-prev:hover:before,
.page-home .slider .slick-next:hover:before { border-color: var(--pb-ink); }
.page-home .slider .slick-prev:focus-visible,
.page-home .slider .slick-next:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 979px) {
  .page-home .slider .slick-prev, .page-home .slider .slick-next { width: 46px; height: 46px; margin-top: -23px; }
  .page-home .slider .slick-prev { left: 14px; }
  .page-home .slider .slick-next { right: 14px; }
}

/* ---- Hero: bright photo, dark glow only behind the text ---- */
.page-home .slider li::before { background: none !important; }
.page-home .slider-caption { isolation: isolate; }
.page-home .slider-caption::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -90px -140px -90px -160px;
  background: radial-gradient(ellipse at 42% 50%, rgba(10,11,14,.72) 0%, rgba(10,11,14,.5) 38%, rgba(10,11,14,.18) 62%, rgba(10,11,14,0) 75%);
  pointer-events: none;
}
.page-home .slider-caption h2,
.page-home .slider-caption span.heading-sub { text-shadow: 0 2px 20px rgba(0,0,0,.35); }
@media (max-width: 979px) {
  .page-home .slider-caption::before {
    inset: -70px -10px;
    background: radial-gradient(ellipse at 50% 50%, rgba(10,11,14,.7) 0%, rgba(10,11,14,.45) 45%, rgba(10,11,14,0) 75%);
  }
}

/* ---- Hero fills the screen under the header on laptop / desktop ---- */
.page-home .slider .slick-slide { overflow: hidden; }
@media (min-width: 1024px) {
  .page-home .slider li img { height: max(520px, calc(100svh - 68px)); height: max(520px, calc(100vh - 68px)); height: max(520px, calc(100svh - 68px)); }
}
@media (min-width: 1200px) {
  .page-home .slider li img { height: max(560px, calc(100vh - 84px)); height: max(560px, calc(100svh - 84px)); }
  .page-home .slider-caption { top: 50%; }
}

/* ---- Hero fade: stack every slide in the same full-width cell ----
   Slick's fade mode offsets each slide with an inline "left: -Npx" based on the
   width it measured; if that was off by the scrollbar, a dark strip showed on the
   left. A one-cell grid makes the layout independent of that measurement. */
.page-home .home-slider .slick-list { width: 100%; }
.page-home .home-slider .slick-track {
  display: grid !important;
  width: 100% !important;
  transform: none !important;
}
.page-home .home-slider .slick-track::before,
.page-home .home-slider .slick-track::after { content: none !important; }
.page-home .home-slider .slick-slide {
  grid-area: 1 / 1;
  position: relative !important;
  left: 0 !important;
  width: 100% !important;
  float: none !important;
}

/* ---- Hero text glow v2: sized to its own box so it fades out before every edge ---- */
.page-home .slider-caption::before {
  inset: -140px -220px -140px -240px;
  background: radial-gradient(closest-side, rgba(10,11,14,.62) 0%, rgba(10,11,14,.48) 35%, rgba(10,11,14,.24) 65%, rgba(10,11,14,.08) 85%, rgba(10,11,14,0) 100%);
}
@media (max-width: 979px) {
  .page-home .slider-caption::before {
    inset: -110px -40px;
    background: radial-gradient(closest-side, rgba(10,11,14,.66) 0%, rgba(10,11,14,.45) 45%, rgba(10,11,14,.15) 80%, rgba(10,11,14,0) 100%);
  }
}

/* ---- Hero overlay v3: one smooth fade across the full slide ----
   Dark behind the text on the left, fading to fully clear on the right. */
.page-home .slider-caption::before { content: none !important; }
.page-home .slider li::before {
  background: linear-gradient(90deg,
    rgba(10,11,14,.72) 0%,
    rgba(10,11,14,.62) 22%,
    rgba(10,11,14,.42) 40%,
    rgba(10,11,14,.18) 56%,
    rgba(10,11,14,.05) 68%,
    rgba(10,11,14,0) 78%) !important;
}
/* Phones/tablets: text sits centred, so fade from the bottom and middle instead */
@media (max-width: 979px) {
  .page-home .slider li::before {
    background:
      linear-gradient(0deg, rgba(10,11,14,.55) 0%, rgba(10,11,14,.25) 45%, rgba(10,11,14,.1) 100%),
      linear-gradient(90deg, rgba(10,11,14,.35) 0%, rgba(10,11,14,.1) 100%) !important;
  }
}

/* ---- Hero overlay v4: even tint over the whole photo + darker fade behind the text ---- */
.page-home .slider li::before {
  background:
    linear-gradient(90deg,
      rgba(10,11,14,.55) 0%,
      rgba(10,11,14,.45) 25%,
      rgba(10,11,14,.25) 45%,
      rgba(10,11,14,.08) 62%,
      rgba(10,11,14,0) 75%),
    rgba(10,11,14,.30) !important;
}
@media (max-width: 979px) {
  .page-home .slider li::before {
    background:
      linear-gradient(0deg, rgba(10,11,14,.45) 0%, rgba(10,11,14,.15) 50%, rgba(10,11,14,0) 100%),
      rgba(10,11,14,.35) !important;
  }
}
