:root {
  --bg: #f5f5f7;
  --text: #17181c;
  --muted: #5f6470;
  --line: #e6e7eb;
  --dark: #171a20;
  --brand: #a8a3bb;
  --brand-deep: #3b354d;
  --accent: #d8ae36;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(15, 18, 28, 0.10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 78px 0; }
.eyebrow {
  display: inline-flex;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 12px;
}
.section-heading { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2,
.contact h2,
.hero h1 {
  margin: 0 0 14px;
  line-height: 1.06;
}
.section-heading h2,
.contact h2 { font-size: clamp(2rem, 3vw, 3rem); }
.section-heading p,
.contact p { color: var(--muted); margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230,231,235,0.85);
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 0 auto;
}
.brand img,
.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: #f0eef5;
}
.brand img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  background: transparent;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  font-weight: 800;
  color: var(--text);
}
.brand-text span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.footer-brand strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.footer-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.93rem;
}
.desktop-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.desktop-nav a { color: #353944; font-weight: 500; }
.call-btn,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}
.call-btn,
.primary-btn {
  background: var(--accent);
  color: #1b1b1b;
  box-shadow: 0 10px 24px rgba(216, 174, 54, 0.28);
}
.secondary-btn {
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.primary-btn:hover,
.call-btn:hover,
.secondary-btn:hover { transform: translateY(-1px); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #17181c;
  margin: 4px auto;
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0 16px 18px;
  background: rgba(255,255,255,0.97);
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
}
.mobile-call { margin-top: 8px; }

.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(17,20,26,0.92) 0%, rgba(17,20,26,0.84) 44%, rgba(17,20,26,0.40) 100%),
    url('assets/hero-working-new.jpg') center/cover no-repeat;
  color: var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
  position: relative;
  z-index: 1;
  padding: 90px 0;
}
.hero-copy h1 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  max-width: 760px;
}
.hero-copy p {
  color: rgba(255,255,255,0.82);
  max-width: 680px;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}
.hero-points span {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.95rem;
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.hero-card {
  display: flex;
  justify-content: flex-end;
}
.mini-card {
  width: min(100%, 400px);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.mini-card h3 { margin-top: 0; font-size: 1.35rem; }
.mini-card ul { padding-left: 18px; margin: 12px 0 18px; color: rgba(255,255,255,0.86); }
.mini-card a { color: var(--white); font-weight: 700; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service-card,
.review-panel,
.area-panel,
.contact-card,
.trust-item {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.service-card {
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card img { height: 230px; width: 100%; object-fit: cover; }
.service-body { padding: 22px; }
.service-body h3 { margin: 0 0 10px; font-size: 1.25rem; }
.service-body p { margin: 0; color: var(--muted); }

.trust {
  background: linear-gradient(180deg, #efedf4 0%, #f7f7f9 100%);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: start;
}
.trust-list {
  display: grid;
  gap: 16px;
}
.trust-item {
  border-radius: 20px;
  padding: 22px;
}
.trust-item strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.trust-item p { margin: 0; color: var(--muted); }
.review-panel {
  border-radius: 24px;
  overflow: hidden;
}
.review-panel img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center center;
}
.review-copy { padding: 20px 22px 26px; }
.review-copy h3 { margin: 0 0 8px; }
.review-copy p { margin: 0; color: var(--muted); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.contact-card,
.area-panel {
  border-radius: 22px;
  padding: 24px;
}
.contact-card .label { display: block; color: var(--muted); font-size: 0.92rem; margin-bottom: 8px; }
.contact-card strong { font-size: 1.1rem; }
.area-panel {
  background: linear-gradient(145deg, var(--dark), #242936);
  color: var(--white);
}
.area-panel p { color: rgba(255,255,255,0.78); }
.full { width: 100%; margin-top: 24px; }

.site-footer {
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-footer p { margin: 0; color: var(--muted); }

@media (max-width: 1024px) {
  .desktop-nav, .desktop-call { display: none; }
  .brand-text { display: flex; }
  .brand-text span { display: none; }
  .brand-text strong { font-size: 0.98rem; }
  .menu-toggle { display: block; }
  .hero-grid,
  .trust-grid,
  .contact-grid,
  .service-grid,
  .gallery-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .hero-card { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .section { padding: 58px 0; }
  .nav-wrap { min-height: 74px; gap: 14px; }
  .brand { gap: 10px; }
  .brand img, .footer-brand img { width: 50px; height: 50px; }
  .brand-text strong { font-size: 0.9rem; }
  .brand-text span { display: none; }
  .hero-grid { padding: 72px 0 54px; }
  .hero-copy h1 { font-size: 2.45rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .primary-btn, .secondary-btn, .call-btn { width: 100%; }
  .service-card img { height: 200px; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}


.trust-item strong a { text-decoration: underline; text-underline-offset: 3px; }
.contact-cards.four-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 680px) { .contact-cards.four-up { grid-template-columns: 1fr; } }


.area-panel ul{
padding-left:18px;
margin:14px 0 0;
line-height:1.8;
}


@media (max-width: 680px) {
  .review-panel img {
    height: 360px;
    object-fit: cover;
    object-position: center center;
  }
}




.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(0,0,0,0.24);
  transition: transform 0.2s ease;
}

.floating-whatsapp img {
  width: 34px;
  height: 34px;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
}

@media (max-width: 680px) {
  .floating-whatsapp {
    width: 58px;
    height: 58px;
    right: 18px;
    bottom: 18px;
  }

  .floating-whatsapp img {
    width: 30px;
    height: 30px;
  }
}


.legal-footer{
  display:flex;
  justify-content:center;
  gap:28px;
  padding:18px 20px 28px;
  border-top:1px solid #e6e7eb;
  margin-top:18px;
  flex-wrap:wrap;
}

.legal-footer a{
  color:#5f6470;
  font-size:0.92rem;
  text-decoration:none;
}

.legal-footer a:hover{
  text-decoration:underline;
}

@media (max-width:680px){
  .legal-footer{
    gap:16px;
    padding-bottom:22px;
  }

  .legal-footer a{
    font-size:0.85rem;
  }
}


.review-panel {
  overflow: hidden;
}

.review-panel img {
  width: 100%;
  height: 420px !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block;
}

.review-copy {
  padding: 24px;
  background: #fff;
}

@media (max-width: 680px) {
  .review-panel img {
    height: 340px !important;
    object-position: center top !important;
  }
}


/* Final trust/review panel correction */
.trust-grid {
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr !important;
  gap: 30px !important;
  align-items: start !important;
}

.review-panel {
  border-radius: 24px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow) !important;
}

.review-panel img {
  width: 100% !important;
  height: 420px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

.review-copy {
  padding: 24px !important;
  background: #fff !important;
}

.review-copy h3 {
  margin: 0 0 10px !important;
}

.review-copy p {
  margin: 0 !important;
  color: var(--muted) !important;
}

@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 680px) {
  .review-panel img {
    height: 330px !important;
    object-position: center center !important;
  }
}


/* Final photo position tweaks from client notes */
.service-card img {
  object-fit: cover;
}

/* Consumer unit tile: move image down slightly so bottom-right socket/board area shows better */
.service-card:nth-child(1) img {
  object-position: center 60%;
}

/* EV charger tile: move image down slightly so full charger box is in frame */
.service-card:nth-child(2) img {
  object-position: center 58%;
}

/* Socket tile: straighten/centralise visually */
.service-card:nth-child(3) img {
  object-position: center center;
}

/* Lighting tile: move up slightly so all pendant lights are visible */
.service-card:nth-child(4) img {
  object-position: center 38%;
}

/* Bathroom/kitchen tile: move down slightly */
.service-card:nth-child(5) img {
  object-position: center 58%;
}

/* Why choose photo: move up so hoodie logo and company name are clearer */
.review-panel img {
  width: 100% !important;
  height: 420px !important;
  object-fit: cover !important;
  object-position: center 35% !important;
  display: block !important;
}


/* Correct hoodie crop */
.review-panel img{
  object-position:center 78% !important;
}


/* Final service image crop polish */
.service-card img {
  height: 240px;
  object-fit: cover;
}

/* Desktop crop positions */
.service-card:nth-child(1) img { object-position: center 58% !important; }
.service-card:nth-child(2) img { object-position: center 54% !important; }
.service-card:nth-child(3) img { object-position: center 50% !important; }
.service-card:nth-child(4) img { object-position: center 64% !important; }
.service-card:nth-child(5) img { object-position: center 56% !important; }
.service-card:nth-child(6) img { object-position: center 52% !important; }
.service-card:nth-child(7) img { object-position: center 58% !important; }

@media (max-width: 680px) {
  .service-card img {
    height: 230px !important;
  }

  .service-card:nth-child(1) img { object-position: center 62% !important; }
  .service-card:nth-child(2) img { object-position: center 58% !important; }
  .service-card:nth-child(3) img { object-position: center 50% !important; }
  .service-card:nth-child(4) img { object-position: center 70% !important; }
  .service-card:nth-child(5) img { object-position: center 60% !important; }
  .service-card:nth-child(6) img { object-position: center 54% !important; }
  .service-card:nth-child(7) img { object-position: center 60% !important; }
}


/* Extra crop refinements */
.service-card:nth-child(1) img { object-position: center 68% !important; }
.service-card:nth-child(2) img { object-position: center 64% !important; }
.service-card:nth-child(4) img { object-position: center 78% !important; }
.service-card:nth-child(5) img { object-position: center 66% !important; }

@media (max-width: 680px) {
  .service-card:nth-child(1) img { object-position: center 72% !important; }
  .service-card:nth-child(2) img { object-position: center 66% !important; }
  .service-card:nth-child(4) img { object-position: center 82% !important; }
  .service-card:nth-child(5) img { object-position: center 70% !important; }
}


/* Correct socket image orientation + central crop */
.service-card:nth-child(3) img {
  object-position: center 50% !important;
}
@media (max-width: 680px) {
  .service-card:nth-child(3) img {
    object-position: center 50% !important;
  }
}


/* Specific socket card fix - target actual socket tile directly */
.socket-card img {
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}
@media (max-width: 680px) {
  .socket-card img {
    object-position: center center !important;
    transform: none !important;
  }
}


/* Final socket tile image fix */
.socket-card img,
.service-card:nth-child(3) img {
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}
