/* /assets/css/local-199.css
   Liberty4U — Local Business Website £199 (SW London / Surrey)
   Cleaned + deduped + tuned for landing HTML structure
*/

/* =========================
   THEME + BASE
========================= */
:root{
  --bg:#0a0f1f;
  --panel:#11162b;
  --text:#e6ecff;
  --muted:#9aa7cc;

  --primary:#7c3aed;
  --accent:#06b6d4;
  --hot:#f43f5e;

  --radius:16px;
  --shadow:0 10px 30px rgba(3,10,38,.6);

  --glow-primary:0 0 24px rgba(124,58,237,.55);
  --glow-accent:0 0 24px rgba(6,182,212,.55);

  --nav-h:64px;
  color-scheme: dark;
}

:where([hidden]){display:none!important;pointer-events:none!important}
*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font:500 16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu;
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 110% -10%, rgba(124,58,237,.15), transparent 60%),
    radial-gradient(900px 700px at -10% 120%, rgba(6,182,212,.12), transparent 55%),
    var(--bg);
  background-attachment:fixed;
  overflow-x:hidden;
}

a{color:var(--text)}
.container{max-width:min(1200px,94vw);margin:0 auto;padding:0 clamp(14px,3.2vw,24px)}
.muted{color:var(--muted)}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip: rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}

/* Focus (keyboard friendly) */
:where(a,button,input,textarea,select,summary):focus-visible{
  outline:2px solid rgba(6,182,212,.9);
  outline-offset:2px;
  border-radius:10px;
}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  padding:.78rem 1rem;border-radius:12px;
  text-decoration:none;border:none;cursor:pointer;
  color:#0a0f1f;
  background:linear-gradient(90deg,var(--accent),var(--primary));
  box-shadow:var(--glow-accent);
  transition:transform .18s, box-shadow .18s, filter .18s;
  font-weight:700;letter-spacing:.2px;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px);box-shadow:var(--glow-primary)}
.btn--ghost{background:transparent;color:var(--text);border:1px solid rgba(230,236,255,.18);box-shadow:none}
.btn--outline{background:transparent;border:1px solid rgba(255,255,255,.6);color:#fff}
.btn--primary{background:#2b6cff;color:#fff;border:1px solid #1f56cc}
.btn--xs{padding:.5rem .7rem;font-size:.85rem}
.btn--sm{padding:.55rem .95rem;font-size:.95rem}

/* CTA row */
.cta{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.cta--center{justify-content:center}
.cta .btn{min-width:220px;text-align:center}
@media (max-width:520px){ .cta .btn{width:100%} }

/* =========================
   BADGES / SMALL UI
========================= */
.badge{
  display:inline-block;
  padding:.35rem .6rem;border-radius:999px;
  background:linear-gradient(90deg,rgba(124,58,237,.25),rgba(6,182,212,.25));
  border:1px solid rgba(255,255,255,.12);
  color:var(--text);
  font-size:.75rem;
  white-space:nowrap;
}

/* =========================
   HEADER / NAVBAR
========================= */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(10,15,31,.7);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(255,255,255,.06);
}

/* Landing-specific: more solid header behind logo */
.lp-199 header{
  background:rgba(10,15,31,.92);
  backdrop-filter:blur(10px);
}

.navbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:.5rem 0;
  min-height:var(--nav-h);
}

.nav-center{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  grid-template-areas:"left logo right";
  align-items:center;gap:.8rem;width:100%;
}

@media (min-width:881px){
  .navbar{font-size:1.08rem}
}

.nav-left,.nav-right{
  list-style:none;padding:0;margin:0;
  display:flex;gap:1rem;align-items:center;
}
.nav-left{grid-area:left;justify-self:start}
.nav-right{grid-area:right;justify-self:end}

/* No wrap in menu items */
.navbar .nav-left a,
.navbar .nav-right a{white-space:nowrap;text-decoration:none}
.navbar a:hover{filter:brightness(1.08)}

.logo{
  grid-area:logo;justify-self:center;
  display:flex;align-items:center;
  text-decoration:none;
}

/* Landing-specific plate under logo (helps unify colours) */
.lp-199 .logo{
  padding:6px 10px;
}

.logo img{
  height:134px;width:auto;display:block;
  filter:drop-shadow(0 0 6px rgba(124,58,237,.6));
}
.lp-199 .logo img{height:132px}

.hamburger{
  display:none;
  background:transparent;color:var(--text);
  border:1px solid rgba(255,255,255,.15);
  padding:.45rem .7rem;border-radius:10px;
  transition:transform .2s, box-shadow .2s, border-color .2s;
}
.hamburger:hover{transform:translateY(-1px);box-shadow:var(--glow-accent);border-color:rgba(124,58,237,.45)}
.hamburger[aria-expanded="true"]{animation:pulseGlow 2.2s ease-in-out infinite;transform:rotate(2deg)}
@keyframes pulseGlow{
  0%{box-shadow:0 0 0 0 rgba(124,58,237,.35)}
  70%{box-shadow:0 0 0 10px rgba(124,58,237,0)}
  100%{box-shadow:0 0 0 0 rgba(124,58,237,0)}
}
@media (prefers-reduced-motion:reduce){
  .hamburger[aria-expanded="true"]{animation:none}
}

.hide-mobile{display:block}

@media (max-width:880px){
  .nav-left,.nav-right{display:none}
  .hide-mobile{display:none}
  .hamburger{display:inline-flex;grid-area:right;justify-self:end}
  .logo{justify-self:center}
}

/* Promo strip */
.promo-badge{
  display:flex;justify-content:center;align-items:center;
  padding:.45rem 0;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
  background:rgba(10,15,31,.55);
}
.promo-badge a{display:flex;gap:.6rem;align-items:center;color:var(--text);text-decoration:none}
.promo-badge .sep{opacity:.5}
.promo-link{
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-thickness:2px;
}

/* Hide promo strip on mobile (optional) */
@media (max-width:880px){
  .promo-badge{display:none}
}

/* NAV drawer */
.container.navbar{position:relative}
.nav-drawer{
  display:flex;flex-direction:column;gap:.4rem;
  padding:12px;border-radius:14px;
  background:rgba(10,15,31,.97);
  border:1px solid rgba(255,255,255,.08);
  position:absolute;left:0;right:0;top:64px;
  max-width:min(620px,94vw);
  margin:0 auto;z-index:70;
}
.nav-drawer a{
  color:var(--text);text-decoration:none;
  padding:.7rem .9rem;border-radius:10px;
}
.nav-drawer a:hover{background:rgba(255,255,255,.06)}

@media (max-width:880px){
  .nav-drawer{
    position:fixed;left:0;right:0;top:var(--nav-h);
    max-width:none;margin:0;
    border-left:none;border-right:none;
    border-radius:0 0 14px 14px;
    padding:12px clamp(14px,4vw,22px);
    background:rgba(10,15,31,.98);
    box-shadow:0 12px 30px rgba(0,0,0,.55);
  }
  .nav-drawer:not([hidden]){animation:navDrop .16s ease-out both}
  @keyframes navDrop{from{transform:translateY(-8px);opacity:0}to{transform:translateY(0);opacity:1}}
}

/* =========================
   HERO
========================= */
.hero{
  position:relative;isolation:isolate;
  min-height:36vh;
  display:grid;place-items:center;
  text-align:center;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.06);
  padding-top:20px;
  padding-bottom:20px;
}

.hero__wave{
  position:absolute;inset:auto 0 0 0;height:55%;
  background:
    radial-gradient(60% 50% at 40% 60%, rgba(124,58,237,.35), transparent 60%),
    radial-gradient(50% 40% at 60% 70%, rgba(6,182,212,.32), transparent 60%);
  filter:blur(40px);
  opacity:.9;
  z-index:-1;
  animation:float 9s ease-in-out infinite alternate;
}
@keyframes float{from{transform:translateY(6%)}to{transform:translateY(-6%)}}
@media (prefers-reduced-motion:reduce){.hero__wave{animation:none}}

.hero h1{
  font-size:clamp(2rem,5vw,3.2rem);
  line-height:1.1;
  margin:0 0 .8rem 0;
  text-shadow:0 0 18px rgba(124,58,237,.35);
}
.hero h2{
  margin:.2rem auto .2rem;
  max-width:900px;
  font-size:clamp(1.05rem,2.4vw,1.35rem);
  color:rgba(230,236,255,.92);
}
.hero p{
  max-width:840px;
  margin:.3rem auto 1.0rem;
  color:var(--muted);
}

/* Neon pulse (used on H1) */
.neon-pulse{
  text-shadow:
    0 0 8px rgba(124,58,237,.65),
    0 0 14px rgba(6,182,212,.55),
    0 0 22px rgba(124,58,237,.45);
  animation:neonPulse 1.5s ease-in-out infinite;
}
@keyframes neonPulse{
  0%{
    text-shadow:
      0 0 4px rgba(124,58,237,.5),
      0 0 10px rgba(6,182,212,.4),
      0 0 18px rgba(124,58,237,.35);
  }
  50%{
    text-shadow:
      0 0 12px rgba(124,58,237,.85),
      0 0 20px rgba(6,182,212,.75),
      0 0 36px rgba(124,58,237,.65);
  }
  100%{
    text-shadow:
      0 0 4px rgba(124,58,237,.5),
      0 0 10px rgba(6,182,212,.4),
      0 0 18px rgba(124,58,237,.35);
  }
}
@media (prefers-reduced-motion:reduce){
  .neon-pulse{animation:none}
}

/* =========================
   SECTIONS / CARDS / GRIDS
========================= */
.section{
  padding:clamp(42px,6vw,64px) 0;
  border-top:1px solid rgba(255,255,255,.06);
}

.section--soft{
  background:rgba(255,255,255,.02);
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.grid{display:grid;gap:22px}
.grid--2{grid-template-columns:repeat(2,1fr)}
@media (max-width:900px){.grid--2{grid-template-columns:1fr}}

.card{
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius);
  padding:clamp(16px,2.4vw,22px);
  box-shadow:var(--shadow);
}
.card h3{margin:0 0 .35rem;font-size:clamp(1rem,2.4vw,1.15rem)}
.card p{color:var(--muted);margin:0}
.card:hover{box-shadow:0 0 0 1px rgba(124,58,237,.3), var(--shadow)}

/* Checklist used in landing */
.checklist{
  list-style:none;
  padding:0;margin:0;
  display:grid;gap:10px;
}
.checklist li{
  display:flex;gap:10px;align-items:flex-start;
  color:rgba(230,236,255,.95);
}
.checklist li::before{
  content:"✓";
  width:22px;height:22px;
  display:inline-grid;place-items:center;
  border-radius:6px;
  background:rgba(16,185,129,.15);
  border:1px solid rgba(16,185,129,.35);
  color:#34d399;
  font-weight:900;
  flex:0 0 22px;
}

/* =========================
   FORMS
========================= */
form{display:grid;gap:12px}
label{font-size:.94rem}

input,textarea,select{
  width:100%;
  padding:.9rem;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);
}
input::placeholder,textarea::placeholder{color:#aab3d1}

.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:640px){.form-row{grid-template-columns:1fr}}

select{
  background-color:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.16);
}
select option,select optgroup{background-color:#0b1022;color:var(--text)}
select:focus{
  outline:none;
  border-color:rgba(124,58,237,.6);
  box-shadow:0 0 0 3px rgba(124,58,237,.25), var(--glow-accent);
}

/* Checkbox alignment (your form uses label > input) */
label:has(> input[type="checkbox"]){
  display:inline-flex;
  align-items:flex-start;
  gap:.55rem;
  line-height:1.35;
}
label > input[type="checkbox"]{
  width:18px;height:18px;margin:0;
  transform:translateY(2px);
  accent-color:var(--accent);
}
@media (max-width:480px){
  label > input[type="checkbox"]{width:20px;height:20px}
}

/* =========================
   FAQ (ACCORDION)
========================= */
.faq-accordion details{
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:rgba(255,255,255,.04);
  margin:.5rem 0;
  overflow:hidden;
}
.faq-accordion details[open]{background:rgba(255,255,255,.06)}
.faq-accordion summary{
  cursor:pointer;
  padding:.9rem 1rem;
  list-style:none;
  position:relative;
  font-weight:650;
  color:rgba(230,236,255,.95);
}
.faq-accordion summary::-webkit-details-marker{display:none}
.faq-accordion summary::after{
  content:"▸";
  position:absolute;right:1rem;
  transform:rotate(0deg);
  transition:transform .2s ease;
  opacity:.9;
}
.faq-accordion details[open] > summary::after{transform:rotate(90deg)}
.faq-accordion details > div{
  padding:.75rem 1rem 1rem;
  border-top:1px solid rgba(255,255,255,.10);
  color:rgba(203,213,225,.95);
}

/* =========================
   SLIDES (bf-slides)
========================= */
.bf-slides{
  margin-top:18px;
  position:relative;
  max-width:760px;
}
.bf-slide{
  display:none;
  animation:bfSlideIn .36s ease-out;
}
.bf-slide.is-active{display:block}
@keyframes bfSlideIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}

.bf-slides__controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:14px;
}
.bf-slides__prev,.bf-slides__next{min-width:120px}

.bf-slides__dots{
  display:flex;gap:6px;
  justify-content:center;
  flex:1;
}
.bf-slides__dots button{
  width:10px;height:10px;
  border-radius:999px;
  border:0;
  background:rgba(148,163,184,.5);
  cursor:pointer;
  padding:0;
  transition:background .18s, transform .18s, width .18s;
}
.bf-slides__dots button.is-active{
  background:linear-gradient(90deg,var(--accent),var(--primary));
  transform:scale(1.2);
  width:18px;
}

@media (max-width:640px){
  .bf-slides{max-width:100%}
  .bf-slides__controls{
    flex-direction:column-reverse;
    align-items:stretch;
  }
  .bf-slides__prev,.bf-slides__next{width:100%}
}

/* =========================
   CTA BAND
========================= */
.cta-band{
  border-top:1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(60% 50% at 40% 60%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(50% 40% at 60% 70%, rgba(6,182,212,.18), transparent 60%),
    rgba(10,15,31,.4);
  padding:clamp(28px,4vw,42px) 0;
}
.cta-band .inner{display:grid;gap:12px;align-items:center}
@media (min-width:900px){
  .cta-band .inner{grid-template-columns:1.4fr .6fr}
}

/* =========================
   STICKY CTA (MOBILE)
========================= */
.sticky-cta{
  position:fixed;
  bottom:0;left:0;right:0;
  padding:10px;
  background:rgba(10,15,31,0);
  z-index:999;
  display:flex;
  justify-content:center;
}
@media (min-width:900px){ .sticky-cta{display:none} }

/* =========================
   FOOTER
========================= */
footer{
  border-top:1px solid rgba(255,255,255,.06);
  padding:clamp(14px,3.2vw,20px) 0;
  color:var(--muted);
}
footer a{text-decoration:none}

.foot-grid{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:2rem;
  text-align:left;
}

.foot-left{
  display:flex;
  flex-direction:column;
  gap:.45rem;
}

.foot-links{
  display:block;
  line-height:1.7;
}

.foot-rating{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.35rem;
  font-size:.85rem;
  opacity:.9;
}
.foot-rating__stars{
  color:#ffdd55;
  letter-spacing:.08em;
  font-size:.95rem;
}
.foot-rating__label{font-weight:400}

.foot-social{
  display:flex;
  gap:1rem;
  align-items:center;
}
.foot-social a svg{
  width:26px;height:26px;
  opacity:.75;
  color:#fff;
  transition:opacity .2s ease, transform .2s ease;
}
.foot-social a:hover svg{
  opacity:1;
  transform:translateY(-2px);
}

@media (max-width:768px){
  .foot-grid{
    flex-direction:column;
   
  }
  .foot-social{
    margin-top:.5rem;
    justify-content:center;
  }
}

/* =========================
   COOKIE BANNER + MODAL
========================= */
#cookie-banner{
  position:fixed;
  inset-inline:0;
  bottom:0;
  z-index:9999;
  padding:.9rem .75rem;
  background: radial-gradient(circle at top left,#1d2b64 0,#0b1020 55%,#050816 100%);
  color:#fff;
  box-shadow:0 -6px 24px rgba(0,0,0,.35);
  border-top:1px solid rgba(255,255,255,.12);
  font-size:clamp(14px,3.6vw,16px);
  line-height:1.45;
}

#cookie-banner .cookie-inner{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  gap:10px;
  grid-template-columns:1fr;
  align-items:start;
}
#cookie-banner .cookie-text{
  margin:0;
  white-space:normal!important;
  overflow-wrap:break-word;
  hyphens:auto;
  opacity:.92;
}
#cookie-banner .cookie-actions{
  display:grid;
  gap:8px;
  grid-template-columns:1fr 1fr;
}
#cookie-banner .cookie-actions .btn{
  width:100%;
  border-radius:999px;
  font-weight:600;
}
#cookie-banner .cookie-actions .btn:first-child{
  background:linear-gradient(120deg,#2563EB,#3B82F6);
  border:none;
  color:#fff;
  box-shadow:0 6px 18px rgba(37,99,235,.45);
}
#cookie-banner .cookie-actions .btn:not(:first-child){
  background:transparent;
  border:1px solid rgba(255,255,255,.45);
  color:#e5edff;
}
#cookie-banner .cookie-actions .btn:not(:first-child):hover{
  background:rgba(255,255,255,.06);
}
#cookie-banner .btn--xs{
  padding:12px 14px;
  font-size:1rem;
}

@media (max-width:420px){
  #cookie-banner .cookie-actions{grid-template-columns:1fr}
}
@media (min-width:540px){
  #cookie-banner .cookie-inner{
    grid-template-columns:1fr auto;
    align-items:center;
    gap:12px;
  }
  #cookie-banner .cookie-actions{
    display:flex;
    flex-wrap:nowrap;
    gap:.5rem;
  }
}

/* Modal */
.cookie-modal[hidden]{display:none!important}
.cookie-modal__backdrop{
  position:fixed;inset:0;
  background:rgba(0,0,0,.45);
  z-index:10000;
}
.cookie-modal__dialog{
  position:fixed;
  inset-inline:0;
  top:10vh;
  margin:0 auto;
  width:min(680px,92vw);
  background:#fff;
  color:#111827;
  border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.3);
  display:flex;
  flex-direction:column;
  max-height:80vh;
  overflow:hidden;
  z-index:10001;
  overscroll-behavior:contain;
}
.cookie-modal__header,.cookie-modal__footer{padding:1rem 1.25rem}
.cookie-modal__header{
  border-bottom:1px solid #e5e7f4;
  display:flex;justify-content:space-between;align-items:center;
  background:rgba(148,163,184,.5);
  color:#111827;
}
.cookie-modal__header h2{font-size:1.1rem;font-weight:700;margin:0}
.cookie-modal__content{padding:1rem 1.25rem;overflow:auto}
.cookie-group{
  border:1px solid #ececf3;
  border-radius:10px;
  padding:.9rem 1rem;
  margin-bottom:.8rem;
  background:#f9fafc;
}
.cookie-group__head{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:.35rem;
}
.cookie-modal__close{
  background:none;border:0;
  font-size:1.5rem;line-height:1;
  cursor:pointer;color:#6b7280;
}

/* Footer buttons */
.cookie-modal__footer .btn{
  border-radius:999px;
  font-weight:600;
}
.cookie-modal__footer .btn:first-child{
  background:linear-gradient(120deg,#2563EB,#3B82F6);
  border:none;color:#fff;
  box-shadow:0 6px 18px rgba(37,99,235,.35);
}
.cookie-modal__footer .btn:not(:first-child){
  background:transparent;border:1px solid #d1d5db;color:#374151;
}

/* Switch */
.switch{position:relative;display:inline-block;width:46px;height:26px}
.switch input{opacity:0;width:0;height:0}
.slider{
  position:absolute;cursor:pointer;inset:0;
  background:#c8c8d0;border-radius:999px;
  transition:.2s;
}
.slider:before{
  content:"";
  position:absolute;
  height:20px;width:20px;
  left:3px;top:3px;
  background:#fff;border-radius:50%;
  transition:.2s;
}
.switch input:checked + .slider{background:linear-gradient(120deg,#2563EB,#3B82F6)}
.switch input:checked + .slider:before{transform:translateX(20px)}
.switch input:disabled + .slider{background:#9aa2b2;cursor:not-allowed}

/* Reopen */
.cookie-reopen{
  position:relative;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  padding:.5rem;
  padding-bottom:calc(.5rem + env(safe-area-inset-bottom));
  z-index:1000;
  pointer-events:none;
}
.cookie-reopen__btn{
  pointer-events:auto;
  font-size:11px;line-height:1;
  padding:.5rem .85rem;
  border-radius:9999px;
  border:1px solid rgba(255,255,255,.25);
  background:#0a0f1f;
  color:#fff;
  box-shadow:0 4px 16px rgba(0,0,0,.25);
  text-decoration:none;
}
.cookie-reopen__btn:hover{opacity:.95}

/* =========================
   OPTIONAL: reduce motion globally
========================= */
@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important}
}

.visually-hidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border:0 !important;
  left:-9999px !important;
}