/* ============================================================
   GO2 Plumbing and Heating Ltd — home.css
   ============================================================ */

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #111d27 0%, #1e3447 50%, #2a6085 100%);
  min-height: 640px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 50%, rgba(82,142,176,0.22) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 2rem;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  max-width: 640px;
  margin-bottom: 0.75rem;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .hero-pricing {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 2.2rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero shimmer sweep */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255,255,255,0.04) 50%,
    transparent 80%
  );
  background-size: 250% 100%;
  animation: hero-shimmer 9s ease-in-out infinite;
  z-index: 0;
}
@keyframes hero-shimmer {
  0%   { background-position: 250% 0; }
  100% { background-position: -250% 0; }
}

/* ─── TRUST BAR ────────────────────────────────────────── */
.trust-bar { background: var(--blue); padding: 1rem 0; }
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.trust-item svg { fill: var(--amber); width: 17px; height: 17px; flex-shrink: 0; }

/* ─── HOW IT WORKS ─────────────────────────────────────── */
.how-section { background: var(--bg2); }
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 2.5rem;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: var(--light);
  z-index: 0;
}
.how-step { text-align: center; padding: 0 2rem; position: relative; z-index: 1; }
.step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.step-num { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.how-step:hover .step-num {
  transform: scale(1.12);
  box-shadow: 0 0 0 7px rgba(82,142,176,0.15);
}
.how-step h3 { font-weight: 700; color: var(--blue); font-size: 1rem; margin-bottom: 0.5rem; }
.how-step p  { font-size: 0.87rem; color: #666; }
.how-cta     { text-align: center; margin-top: 2.5rem; }

/* ─── SERVICES GRID ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border-bottom: 4px solid transparent;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(82,142,176,0.08), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.service-card:hover::after { left: 160%; }
.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(82,142,176,0.15);
}
.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(82,142,176,0.12), rgba(82,142,176,0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.service-icon svg { fill: var(--blue); width: 26px; height: 26px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.service-card p { font-size: 0.87rem; color: #666; line-height: 1.6; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.service-link svg { width: 12px; height: 12px; fill: var(--blue); }

/* ─── WHY CHOOSE US ────────────────────────────────────── */
.why-section { background: var(--bg2); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 8px 40px rgba(82,142,176,0.3); }
  50%       { box-shadow: 0 12px 60px rgba(82,142,176,0.55); }
}
.why-visual {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  animation: glow-pulse 4s ease-in-out infinite;
}
.why-visual::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.why-big-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.why-big-label {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
}
.why-divider { width: 60px; height: 2px; background: rgba(255,255,255,0.18); margin: 1.5rem auto; }
.why-stats { display: flex; justify-content: center; gap: 2.5rem; }
.why-stat span:first-child {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}
.why-stat span:last-child { font-size: 0.72rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.08em; }

.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-check {
  width: 30px; height: 30px;
  background: rgba(82,142,176,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.why-check svg { fill: var(--blue); width: 14px; height: 14px; }
.why-item h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.15rem; }
.why-item p  { font-size: 0.85rem; color: #666; }

/* ─── FINANCE SECTION ──────────────────────────────────── */
.finance-section { background: var(--blue); padding: 5rem 0; }
.finance-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.finance-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.1rem;
  line-height: 1.2;
}
.finance-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.finance-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.finance-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.finance-card-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
}
.finance-card-sub {
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.3rem;
}
.finance-card-provider {
  font-size: 0.72rem;
  color: #aaa;
  text-align: right;
  line-height: 1.5;
  white-space: nowrap;
}
.finance-card-provider strong { display: block; color: var(--dark); font-size: 0.88rem; }
.finance-card-divider { border: none; border-top: 1px solid var(--light); margin: 0; }
.finance-card .fc-btn {
  display: block;
  background: var(--amber);
  color: #fff;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}
.finance-card .fc-btn:hover { background: var(--amber-dark); }
.finance-card .fc-disclaimer {
  font-size: 0.67rem;
  color: #bbb;
  line-height: 1.6;
}

/* ─── REVIEWS ──────────────────────────────────────────── */
.reviews-section { background: var(--bg2); }
.reviews-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  margin-bottom: 2.5rem;
}
.reviews-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.reviews-arrow {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  color: var(--blue);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  z-index: 2;
}
.reviews-arrow:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(82,142,176,0.35);
}
.reviews-carousel {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.reviews-track {
  display: flex;
  gap: 1.25rem;
  animation: scroll-reviews 70s linear infinite;
  will-change: transform;
}
.reviews-track.paused { animation-play-state: paused; }
@keyframes scroll-reviews {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-card {
  flex: 0 0 290px;
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--light);
  transition: box-shadow 0.2s, transform 0.2s;
}
.review-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.11);
  transform: translateY(-2px);
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.review-name { font-weight: 700; font-size: 0.92rem; color: var(--dark); }
.review-date { font-size: 0.72rem; color: #aaa; margin-top: 0.15rem; }
.review-stars { color: #f5a623; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
.review-text { font-size: 0.84rem; color: #555; line-height: 1.65; }
.google-g { width: 22px; height: 22px; flex-shrink: 0; }

/* ─── OUR WORK GALLERY ─────────────────────────────────── */
.gallery-section { background: #fff; padding: 3.5rem 0; }
.gallery-section .section-sub { margin-bottom: 1.75rem; }

.gallery-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.gallery-arrow {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  color: var(--blue);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  z-index: 2;
}
.gallery-arrow:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(82,142,176,0.35);
}
.gallery-track {
  flex: 1;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem;
  margin: -0.25rem;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.gallery-slide {
  flex: 0 0 165px;
  scroll-snap-align: start;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background: var(--light);
  cursor: zoom-in;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-slide:hover {
  box-shadow: 0 8px 26px rgba(0,0,0,0.16);
  transform: translateY(-3px);
}
.gallery-slide:hover img { transform: scale(1.06); }
.gallery-slide:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}
.gallery-dot {
  width: 7px; height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--mid);
  cursor: pointer;
  transition: background 0.2s, width 0.2s, border-radius 0.2s;
}
.gallery-dot:hover { background: var(--blue-dark); }
.gallery-dot.active {
  background: var(--blue);
  width: 20px;
  border-radius: 4px;
}

/* ─── GALLERY LIGHTBOX ─────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 22, 28, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox-figure {
  margin: 0;
  max-width: min(92vw, 700px);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}
.lightbox-counter {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.lightbox-nav,
.lightbox-close {
  flex-shrink: 0;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-nav {
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.9rem;
  line-height: 1;
}
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}
.lightbox-nav:hover,
.lightbox-close:hover { background: var(--blue); }
.lightbox-nav:focus-visible,
.lightbox-close:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ─── CTA BAND ─────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--dark), #2c3e4f);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 0.75rem;
}
.cta-band p  { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 1rem; }
.cta-flex    { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ─── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-inner { padding: 4rem 2rem; }

  .how-steps { grid-template-columns: 1fr; gap: 2rem; }
  .how-steps::before { display: none; }

  .why-grid { grid-template-columns: 1fr; }
  .why-visual { order: -1; }

  .finance-section { padding: 3.5rem 0; }
  .finance-inner { grid-template-columns: 1fr; gap: 2rem; }

  .gallery-section { padding: 2.75rem 0; }
  .gallery-slide { flex: 0 0 150px; }
}

@media (max-width: 600px) {
  .hero-inner { padding: 3rem 1.25rem; }

  .why-big-num { font-size: 3.5rem; }
  .why-stats { gap: 1.25rem; }

  .cta-band { padding: 3rem 0; }

  .gallery-outer { gap: 0.5rem; }
  .gallery-arrow { width: 32px; height: 32px; font-size: 0.9rem; }
  .gallery-slide { flex: 0 0 42%; }
  .lightbox { padding: 4rem 0.75rem 2rem; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track { scroll-behavior: auto; }
  .gallery-slide,
  .gallery-slide img { transition: none; }
  .gallery-slide:hover { transform: none; }
  .gallery-slide:hover img { transform: none; }
}

