/* Plumb Power Pro additions on top of the London Gas 23 Sep stylesheet. */
.brand img { width: auto; height: 62px; }
footer img { width: auto; height: 54px; }
.pp-alt { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }
.contact-details { align-self: start; }
@media (max-width: 650px) { .brand img { height: 46px; } footer img { height: 44px; } }

/* Hero: the two videos fill the whole hero, text sits on top */
.hero { position: relative; display: flex; align-items: center; grid-template-columns: none; min-height: calc(100svh - 113px); overflow: hidden; background: var(--ink); }
.hero-image { position: absolute; inset: 0; z-index: 0; }
.hero-image::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(20, 14, 38, .82) 0%, rgba(20, 14, 38, .55) 45%, rgba(20, 14, 38, .1) 80%); }
.hero-copy { position: relative; z-index: 2; max-width: 760px; color: #fff; }
.hero-copy .eyebrow { color: #6dccf7; }
.hero h1 { color: #fff; }
.hero h1 em { color: #6dccf7; }
.hero .intro { color: #e4e0ee; }
.hero .button { background: #fff; color: var(--ink); }
.hero .button:hover { background: var(--blue); color: #fff; }
.hero .hero-note p { color: #fff; }
.hero .line { background: #6dccf7; }
.hero #motion-toggle, .hero .image-caption { z-index: 3; }
@media (max-width: 650px) {
  .hero { min-height: 640px; align-items: flex-end; }
  .hero-image { height: auto; }
  .hero-image::before { background: linear-gradient(180deg, rgba(20, 14, 38, .25) 0%, rgba(20, 14, 38, .55) 35%, rgba(20, 14, 38, .88) 100%); }
  .hero-copy { padding-bottom: 70px; }
}

/* Full range, styled like the live London Gas site (in this site's colours) */
.also-row { margin-top: 64px; }
.also-row h3 { text-align: center; font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 24px; }
.also-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.also-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid #dce0e5; border-radius: 12px; transition: border-color .3s, transform .3s, box-shadow .3s; }
.also-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 25, 63, .08); }
.also-card i { color: var(--blue); font-size: 19px; width: 24px; text-align: center; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.also-card:hover i { transform: scale(1.25) rotate(-10deg); }
.also-card strong { display: block; font-size: 15px; font-weight: 600; }
.also-card span { font-size: 13px; color: var(--muted); }

.all-services-toggle { margin-top: 56px; border-top: 0; }
.all-services-toggle > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; width: max-content; max-width: 100%; margin: 0 auto; padding: 14px 30px; border-radius: 9999px; border: 2px solid var(--blue); color: var(--blue); font-weight: 600; transition: background .3s, color .3s; }
.all-services-toggle > summary::-webkit-details-marker { display: none; }
.all-services-toggle > summary:hover { background: var(--blue); color: #fff; }
.all-services-toggle > summary i { transition: transform .3s; }
.all-services-toggle[open] > summary i { transform: rotate(180deg); }
.all-services-toggle[open] > summary span { font-size: 0; }
.all-services-toggle[open] > summary span::after { content: "Hide the full list"; font-size: 16px; }
.all-services-toggle .service-directory { margin-top: 50px; border-top: 0; padding-top: 0; }

.directory-intro { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.directory-intro .eyebrow { display: inline-block; padding: 6px 14px; border-radius: 9999px; background: var(--light); }
.directory-intro h3 { margin: 4px 0 12px; }
.directory-intro > p:last-child { margin: 0 auto; max-width: 560px; }

.service-group-title > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; padding: 0; border: 0; background: var(--light); color: var(--blue); font-weight: 700; }
.service-detail-grid { gap: 20px; align-items: start; }
.service-detail { background: #fff; border: 1px solid #dce0e5; border-radius: 20px; padding: 26px; box-shadow: 0 1px 3px rgba(37, 25, 63, .06); transition: box-shadow .3s, border-color .3s; }
.service-detail:hover { box-shadow: 0 8px 28px rgba(37, 25, 63, .09); border-color: #b9d7ea; }
.service-detail h4 { font-size: 20px; margin-bottom: 8px; }
.service-detail > p { margin: 0; font-size: 15px; flex: none; }
.service-actions { align-items: flex-start; gap: 12px; margin-top: 18px; }
.service-actions > a.pp-quote { display: inline-flex; padding: 9px 18px; border-radius: 9999px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; }
.service-actions > a.pp-quote:hover { background: var(--ink); color: #fff; }
.service-more { text-decoration: none; }
.service-actions details.service-more[open] { flex-basis: 100%; order: 2; }
.service-more summary { cursor: pointer; list-style: none; padding: 9px 4px; font-size: 14px; font-weight: 600; color: var(--blue); }
.service-more summary::-webkit-details-marker { display: none; }
.service-more summary::after { content: " +"; }
.service-more[open] summary::after { content: " −"; }
.service-more ul { margin: 8px 0 0; padding: 16px 18px 16px 34px; background: #f4f7f9; border-radius: 12px; display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); }
.service-more ul a { color: var(--blue); font-weight: 600; }
@media (max-width: 950px) { .also-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 650px) { .also-grid { grid-template-columns: 1fr; } }

/* Team photo in the family section */
.approach { grid-template-columns: 1fr 2.1fr 1.3fr; align-items: center; }
.approach > .eyebrow { align-self: start; }
.pp-team { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #dae1e5; }
.pp-team img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pp-team figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 20px 18px; background: linear-gradient(transparent, rgba(18, 14, 34, .78)); color: #fff; font-size: 15px; }
.pp-team figcaption span { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: #6dccf7; }
@media (max-width: 950px) { .approach { grid-template-columns: 1fr 2fr; } .pp-team { grid-column: 2; max-width: 380px; } }
@media (max-width: 650px) { .pp-team { margin-top: 36px; max-width: none; } }

/* Buttons next to each other */
.pp-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.pp-ghost { font-size: 15px; font-weight: 600; color: #fff; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.pp-ghost:hover { color: #6dccf7; }
.button.pp-dark { background: var(--ink); color: #fff; }
.enquiry .pp-hero-actions .button:first-child { background: var(--blue); color: #fff; }
.enquiry .pp-hero-actions .button:first-child:hover { background: var(--ink); }

/* Instant quote */
dialog.pq { border: 0; padding: 0; width: min(640px, calc(100vw - 24px)); max-height: calc(100svh - 24px); background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(18, 14, 34, .35); overflow: auto; }
dialog.pq::backdrop { background: rgba(22, 16, 31, .7); backdrop-filter: blur(3px); }
.pq-box { padding: 26px 30px 30px; }
.pq-top { display: flex; justify-content: space-between; align-items: center; }
.pq-step { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.pq-close { border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }
.pq-close:hover { color: var(--ink); }
.pq-bar { height: 4px; background: var(--light); margin: 14px 0 26px; }
.pq-bar i { display: block; height: 100%; background: var(--blue); transition: width .4s ease; }
.pq h3 { font-size: clamp(24px, 3vw, 30px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; margin: 0 0 10px; }
.pq-sub { color: var(--muted); margin: 0 0 22px; }
.pq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.pq-three { grid-template-columns: repeat(3, 1fr); }
.pq-list { grid-template-columns: 1fr; }
.pq-opt { display: flex; align-items: center; gap: 14px; padding: 18px; text-align: left; background: #fff; border: 1px solid #dce0e5; border-radius: 12px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--ink); transition: border-color .2s, background .2s, transform .2s; }
.pq-opt i { width: 24px; text-align: center; font-size: 19px; color: var(--blue); }
.pq-opt:hover { border-color: var(--blue); transform: translateY(-1px); }
.pq-opt.on { border-color: var(--blue); background: var(--light); box-shadow: inset 0 0 0 1px var(--blue); }
.pq-three .pq-opt { flex-direction: column; justify-content: center; padding: 22px 12px; }
.pq-note { margin: 18px 0 0; padding: 14px 16px; background: #fff6e6; font-size: 14px; }
.pq-note a { font-weight: 700; color: var(--blue); }
.pq-chosen { margin: 0 0 20px; color: var(--blue); font-size: 14px; font-weight: 600; }
.pq-price { margin: 0 0 20px; padding: 16px 18px; background: var(--light); font-size: 26px; font-weight: 600; }
.pq-price small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--muted); }
.pq-form label { font-size: 14px; }
.pq-form label small { color: var(--muted); }
.pq-form input, .pq-form textarea { margin-top: 6px; margin-bottom: 16px; }
.pq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pq-trap { position: absolute; left: -9999px; }
.pq-status { min-height: 1em; font-size: 14px; color: #b42318; margin: 0 0 10px; }
.pq-send { width: 100%; }
.pq-back { margin-top: 20px; border: 0; background: none; padding: 6px 0; cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; }
.pq-back:hover { color: var(--ink); }
.pq-done { text-align: center; padding: 8px 0; }
.pq-done > i { font-size: 52px; color: var(--blue); margin-bottom: 16px; }
.pq-done p { color: var(--muted); margin: 0 0 12px; }
.pq-wa { background: #25d366 !important; color: #fff !important; gap: 12px; margin-top: 8px; }
.pq-wa i { font-size: 20px; }
@media (max-width: 560px) { .pq-box { padding: 20px 18px 22px; } .pq-grid, .pq-row { grid-template-columns: 1fr; } .pq-three { grid-template-columns: repeat(3, 1fr); } .pq-three .pq-opt { font-size: 14px; padding: 16px 6px; } }
