/* Site footer (src/components/SiteFooter.astro). Prefixed ef- so the ported theme CSS can't reach it. */
.ef { --ef-plum: #462667; --ef-plum-deep: #2c1645; --ef-night: #1d0f2e; --ef-lav-soft: #d3c5e6; --ef-lav: #a98fd0; --ef-sky: #64a7dc;
	--ef-display: "DM Serif Display", "Playfair Display", Georgia, serif; --ef-body: Lato, "Helvetica Neue", Arial, sans-serif; --ef-ease: cubic-bezier(0.16, 1, 0.3, 1);
	position: relative; overflow: hidden; background: var(--ef-night); color: #fff; font: 400 16px/1.6 var(--ef-body); text-align: left; -webkit-font-smoothing: antialiased; }
html.wp-dark-mode-active .ef { --ef-plum: #2e1a46; --ef-plum-deep: #1a0e2a; --ef-night: #110820; }
.ef *, .ef *::before, .ef *::after { box-sizing: border-box; }
.ef ul { list-style: none; margin: 0; padding: 0; }
.ef p { margin: 0; }
.ef a { text-decoration: none; }
.ef :focus-visible { outline: 3px solid var(--ef-sky); outline-offset: 3px; }
.ef-wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* the old GeneratePress footer widgets and floating back-to-top this replaces */
.site-footer, a.scroll-to-top { display: none !important; }

.ef-finale { position: relative; isolation: isolate; background: linear-gradient(180deg, var(--ef-plum) 0%, var(--ef-plum-deep) 100%); }
.ef-finale::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 44px; background: var(--ef-pagebg, #fff); clip-path: ellipse(60% 100% at 50% 0%); z-index: 1; }
.ef-eq { position: absolute; inset: auto 0 0 0; height: 78%; display: flex; align-items: flex-end; gap: 6px; padding: 0 6px; z-index: -1; opacity: .5; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.ef-eq i { flex: 1; min-width: 6px; height: 30%; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, rgba(100,167,220,.9), rgba(117,84,156,.35)); transform-origin: bottom; animation: ef-eq var(--d, 1.6s) ease-in-out var(--o, 0s) infinite alternate; }
@keyframes ef-eq { 0% { transform: scaleY(.25); } 40% { transform: scaleY(1.1); } 70% { transform: scaleY(.55); } 100% { transform: scaleY(1.6); } }
.ef-finale-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; padding-block: 84px 56px; }
.ef-finale h2 { font: 400 clamp(34px, 5vw, 58px)/1.04 var(--ef-display) !important; margin: 0 !important; letter-spacing: -.015em; text-wrap: balance; max-width: 15ch; color: #fff !important; }
.ef-finale h2 em { color: #b3d4ef; }
.ef-finale p { margin-top: 12px; color: var(--ef-lav-soft); font-size: 18px; max-width: 44ch; }
.ef-do { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.ef-btn { display: inline-flex; align-items: center; height: 50px; padding: 0 22px; border-radius: 6px; background: var(--ef-sky); color: #1a0e2a !important; font: 900 16px/1 var(--ef-body); box-shadow: 0 10px 24px -12px rgba(0,0,0,.7); transition: transform .2s var(--ef-ease), background-color .2s; }
.ef-btn:hover { background: #8cc0e8; transform: translateY(-1px); }
.ef-tel { color: #fff !important; font-weight: 700; font-size: 18px; text-decoration: underline !important; text-decoration-color: var(--ef-sky) !important; text-underline-offset: 5px; text-decoration-thickness: 2px !important; }

.ef-marquee { border-block: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.ef-marquee ul { display: flex; flex-wrap: wrap; justify-content: center; padding: 18px 20px; gap: 6px 0; }
.ef-marquee ul.is-rolling { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding-inline: 0; animation: ef-roll 60s linear infinite; }
.ef-marquee:hover ul, .ef-marquee:focus-within ul { animation-play-state: paused; }
.ef-marquee li { display: flex; align-items: center; }
.ef-marquee li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ef-sky); margin: 0 26px; opacity: .8; }
.ef-marquee a { font: 400 clamp(26px, 3.4vw, 40px)/1.15 var(--ef-display); color: transparent !important; -webkit-text-stroke: 1px rgba(211,197,230,.8); white-space: nowrap; transition: color .25s, -webkit-text-stroke-color .25s; }
.ef-marquee a:hover, .ef-marquee a:focus-visible { color: #fff !important; -webkit-text-stroke-color: #fff; }
@supports not (-webkit-text-stroke: 1px #000) { .ef-marquee a { color: var(--ef-lav-soft) !important; } }
@keyframes ef-roll { to { transform: translateX(-50%); } }

.ef-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; padding-block: 44px 28px; }
.ef-brand img { width: 150px; height: auto; display: block; }
.ef-brand p { color: var(--ef-lav-soft); font-size: 15px; margin: 14px 0 18px; max-width: 30ch; }
.ef-social { display: flex; flex-wrap: wrap; gap: 8px; }
.ef-social a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 22px; border: 1px solid rgba(255,255,255,.25); color: #fff !important; font-size: 13.5px; font-weight: 700; transition: background-color .2s, border-color .2s, transform .2s var(--ef-ease); }
.ef-social a:hover { background: rgba(255,255,255,.1); border-color: var(--ef-sky); transform: translateY(-2px); }
.ef-social svg { width: 18px; height: 18px; }
.ef-col h3 { font: 700 12.5px/1.2 var(--ef-body) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--ef-lav) !important; margin: 6px 0 14px !important; }
.ef-col ul { display: grid; gap: 9px; }
.ef-col a { color: #fff !important; font-size: 15.5px; }
.ef-col a:hover { text-decoration: underline !important; text-decoration-color: var(--ef-sky) !important; text-underline-offset: 4px; }
.ef-cities { border-top: 1px solid rgba(255,255,255,.1); }
.ef-cities .ef-wrap { padding-block: 16px; font-size: 14px; color: var(--ef-lav-soft); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.ef-cities b { color: #fff; }
.ef-cities a { color: var(--ef-lav-soft) !important; }
.ef-cities a:hover { color: #fff !important; text-decoration: underline !important; }
.ef-legal .ef-wrap { padding-block: 14px calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13.5px; color: var(--ef-lav-soft); border-top: 1px solid rgba(255,255,255,.1); }
.ef-legal a { color: #fff !important; text-decoration: underline !important; text-decoration-color: var(--ef-sky) !important; text-underline-offset: 3px; }

@media (max-width: 960px) { .ef-finale-in { grid-template-columns: 1fr; padding-block: 70px 44px; } .ef-grid { grid-template-columns: 1fr 1fr; } .ef-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ef-grid { gap: 26px 18px; } .ef-eq { gap: 4px; } }
/* Reduced motion: still bars, still names (the script also skips the duplicate loop) */
@media (prefers-reduced-motion: reduce) {
	.ef-eq i { animation: none !important; transform: scaleY(var(--s, 1)); }
	.ef-marquee ul, .ef-marquee ul.is-rolling { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; padding-inline: 20px; }
	.ef-btn, .ef-social a, .ef-marquee a { transition: none; }
	.ef-btn:hover, .ef-social a:hover { transform: none; }
}
