/* SEO pages (emergency, services and Dublin areas) and the footer's Dublin column. */

/* Page head: copy on the left, an "at a glance" panel on the right */
.lp-head { padding-bottom: clamp(3rem, 7vw, 5rem); }
.lp-head::before { mask-image: radial-gradient(80% 90% at 85% 20%, #000 15%, transparent 75%); -webkit-mask-image: radial-gradient(80% 90% at 85% 20%, #000 15%, transparent 75%); }
.lp-head__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lp-head h1 { max-width: 13em; font-size: clamp(2.3rem, 5.2vw, 4.1rem); margin-bottom: 1.25rem; }
.lp-head .lede { max-width: 38em; }
.lp-head .pill { margin-bottom: 1.25rem; }
.lp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font: 500 0.875rem/1.3 var(--display); color: var(--mute-d); margin-bottom: 1.5rem; }
.lp-crumbs a { color: var(--mute-d); text-decoration: none; }
.lp-crumbs a:hover { color: var(--fuse); }
.lp-crumbs span[aria-hidden] { opacity: 0.45; }
.lp-crumbs [aria-current] { color: var(--paper); }
.lp-act { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 1.4rem; }
.lp-head .btn--ink { background: var(--fuse); border-color: var(--fuse); color: var(--ink); }
.lp-head .btn--ink:hover { box-shadow: 0 14px 34px -12px rgba(255, 242, 122, 0.75); }
.lp-head .btn--ink svg { fill: currentColor; stroke-width: 0; }
.lp-head .btn--line { border-color: rgba(255, 255, 255, 0.45); color: var(--paper); }
.lp-head .btn--line:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.lp-head .hero__reg { margin: 0; }

.lp-glance { position: relative; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-top: 3px solid var(--fuse); border-radius: 28px 28px 28px 90px; padding: clamp(1.5rem, 3vw, 2.25rem); backdrop-filter: blur(8px); box-shadow: 0 40px 80px -50px #000; }
.lp-glance__label { font: 700 0.8125rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fuse); margin-bottom: 1.1rem; }
.lp-glance ul { display: grid; gap: 0.7rem; margin-bottom: 1.5rem; }
.lp-glance li { position: relative; padding-left: 1.75rem; font-weight: 500; line-height: 1.4; color: var(--paper); }
.lp-glance li::before { content: ""; position: absolute; left: 0; top: 0.12rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--fuse) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0e14' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
.lp-glance__call { display: grid; gap: 0.2rem; text-decoration: none; background: var(--fuse); color: var(--ink) !important; border-radius: 18px; padding: 1rem 1.25rem; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.lp-glance__call span { font: 600 0.8125rem/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.7; }
.lp-glance__call strong { font: 800 clamp(1.5rem, 2.6vw, 1.9rem)/1 var(--display); letter-spacing: -0.03em; }
.lp-glance__call:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -14px rgba(255, 242, 122, 0.8); }

/* Areas hub: a pulsing coverage map */
.lp-map { width: 100%; max-width: 22rem; justify-self: center; overflow: visible; }
.lp-map__ring { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1.5; stroke-dasharray: 4 7; transform-origin: 160px 170px; animation: lp-spin 60s linear infinite; }
.lp-map__ring:nth-child(2) { animation-direction: reverse; animation-duration: 45s; }
.lp-map__base { fill: var(--glow); filter: drop-shadow(0 0 8px var(--glow)); }
.lp-map__pulse { fill: none; stroke: var(--glow); stroke-width: 2; transform-origin: 160px 170px; animation: lp-pulse 2.4s ease-out infinite; }
.lp-map__dot { fill: var(--fuse); opacity: 0.85; transform-box: fill-box; transform-origin: center; animation: lp-blink 3s ease-in-out infinite; animation-delay: calc(var(--i) * 0.3s); }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(3.4); opacity: 0; } }
@keyframes lp-blink { 50% { opacity: 0.25; transform: scale(0.7); } }

/* Page-load sequence */
.js .lp-head .lp-crumbs, .js .lp-head .pill, .js .lp-head h1, .js .lp-head .lede, .js .lp-act, .js .lp-head .hero__reg { opacity: 0; transform: translateY(16px); animation: rise 0.75s var(--ease) forwards; }
.js .lp-head .pill { animation-delay: 0.08s; }
.js .lp-head h1 { animation-delay: 0.16s; }
.js .lp-head .lede { animation-delay: 0.3s; }
.js .lp-act { animation-delay: 0.44s; }
.js .lp-head .hero__reg { animation-delay: 0.56s; }
.js .lp-glance, .js .lp-map { opacity: 0; animation: pop 0.8s 0.35s var(--ease) forwards; }

/* Safety steps */
.lp-steps { background: var(--paper); }
.lp-steps .steps__list { margin-bottom: 0; }

/* Numbered sections */
.lp-groups { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.lp-groups .group:first-child { margin-top: 0; }
.lp-groups .group:nth-child(even) { background: var(--night); color: var(--paper); }
.lp-groups .group:nth-child(even) .prose { color: var(--mute-d); }
.lp-groups .group:nth-child(even) .schedule li { border-bottom-color: rgba(255, 255, 255, 0.12); color: var(--paper); }
.lp-groups .prose { font-size: 1.0625rem; }
.lp-groups .prose .schedule { margin: 0.25rem 0 1.25rem; }
.lp-groups .prose .schedule:last-child { margin-bottom: 0; }
.lp-no { display: inline-block; font: 800 0.9375rem/1 var(--display); color: var(--ink); background: var(--fuse); border-radius: 999px; padding: 0.45rem 0.8rem; margin-bottom: 1rem; }
.lp-updated { margin: 1.75rem 0 0; font-size: 0.9375rem; color: var(--mute); }

/* Linked page cards */
a.lp-card { display: block; text-decoration: none; color: inherit; padding-bottom: 3.25rem; }
.lp-card__go { position: absolute !important; left: 1.5rem; bottom: 1.35rem; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--ink); transition: transform 0.35s var(--ease), background-color 0.3s; }
.lp-card__go::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.5rem; height: 0.5rem; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: translate(-65%, -50%) rotate(45deg); }
a.lp-card:hover .lp-card__go { transform: translateX(6px); background: var(--fuse); }
a.lp-card:focus-visible { outline-offset: 4px; }
.strands .svcs__grid { margin-bottom: 0; }

.lp-sub { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 2.5rem 0 1rem; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.lp-chips a { display: inline-block; font: 600 0.9375rem/1 var(--display); text-decoration: none; background: var(--paper); border: 1px solid var(--edge); border-radius: 999px; padding: 0.7rem 1.05rem; transition: transform 0.3s var(--ease), background-color 0.25s, border-color 0.25s; }
.lp-chips a:hover { background: var(--ink); border-color: var(--ink); color: var(--fuse); transform: translateY(-3px) rotate(-1.5deg); }

/* Footer gains a "Dublin electricians" column */
@media (min-width: 64.01rem) {
  .foot__in { grid-template-columns: 1.3fr 1fr 1fr 1.05fr 0.75fr; }
}

@media (max-width: 64rem) {
  .lp-head__in { grid-template-columns: minmax(0, 1fr); }
  .lp-glance { max-width: 32rem; }
  .lp-map { max-width: 16rem; justify-self: start; }
}
@media (max-width: 40rem) {
  .lp-act .btn { flex: 1 1 100%; }
  .lp-glance { border-radius: 22px 22px 22px 60px; }
  .lp-map { display: none; }
  .lp-groups .group { padding: 1.5rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .js .lp-head .lp-crumbs, .js .lp-head .pill, .js .lp-head h1, .js .lp-head .lede, .js .lp-act, .js .lp-head .hero__reg, .js .lp-glance, .js .lp-map { opacity: 1; transform: none; }
}
