/* ============================================================
   Dublin 24/7 Urgent Home Services — futuristic funnel styles
   ============================================================ */

:root {
  --bg: #05060e;
  --bg-panel: rgba(15, 20, 40, 0.65);
  --neon: #00f0ff;
  --neon-2: #ff2ec4;
  --neon-3: #a3ff12;
  --text: #eef2ff;
  --text-muted: #b8c0d8;
  --border: rgba(0, 240, 255, 0.18);
  --radius: 18px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- ambient background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -3;
  background-image:
    linear-gradient(rgba(0,240,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
}
.bg-glow {
  position: fixed; z-index: -2; border-radius: 50%;
  filter: blur(120px); opacity: 0.35; pointer-events: none;
}
.bg-glow--1 { width: 55vw; height: 55vw; top: -20vw; left: -15vw; background: #003a5e; }
.bg-glow--2 { width: 45vw; height: 45vw; bottom: -15vw; right: -12vw; background: #4e003e; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  max-width: 1100px; margin: 0 auto; padding: 0.6rem 1rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; letter-spacing: 0.08em; color: var(--neon-3);
}
.pulse-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--neon-3); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(163, 255, 18, 0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(163,255,18,0.7); }
  70%  { box-shadow: 0 0 0 12px rgba(163,255,18,0); }
  100% { box-shadow: 0 0 0 0 rgba(163,255,18,0); }
}
.topbar__status { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__cta {
  color: var(--bg); background: var(--neon-3); text-decoration: none;
  font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 999px;
  white-space: nowrap;
}

/* ---------- nav ---------- */
.nav {
  max-width: 1100px; margin: 0 auto; padding: 0.7rem 1rem;
  display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap;
}
.nav a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.9rem; letter-spacing: 0.06em; font-weight: 600;
}
.nav a:hover { color: var(--neon); }

/* ---------- hero ---------- */
.hero {
  max-width: 1100px; margin: 0 auto;
  padding: clamp(3rem, 8vw, 6.5rem) 1rem 3rem;
  text-align: center;
}
.hero__kicker {
  letter-spacing: 0.3em; font-size: 0.78rem; color: var(--neon);
  margin-bottom: 1.2rem;
}
.hero__title {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.08; font-weight: 800;
}
.hero__neon {
  background: linear-gradient(92deg, var(--neon), var(--neon-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(0,240,255,0.35));
}
.hero__sub {
  max-width: 640px; margin: 1.4rem auto 2rem;
  color: var(--text-muted); font-size: 1.08rem;
}
.hero__sub strong { color: var(--text); }

.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.95rem 1.8rem; border-radius: 999px; border: none;
  font-size: 1rem; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn--primary {
  color: #02131a;
  background: linear-gradient(92deg, var(--neon), #5ff5ff);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.45);
}
.btn--primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 44px rgba(0,240,255,0.65); }
.btn--ghost {
  color: var(--text); border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.btn--ghost:hover { border-color: var(--neon); }
.btn--full { width: 100%; justify-content: center; }
.btn--xl { font-size: 1.2rem; padding: 1.2rem 2.6rem; }

.hero__badges {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center; margin-top: 2.2rem;
}
.hero__badges li {
  font-size: 0.85rem; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.35rem 0.9rem; background: rgba(255,255,255,0.02);
}

/* ---------- ticker ---------- */
.ticker {
  overflow: hidden; border-block: 1px solid var(--border);
  background: rgba(0, 240, 255, 0.04); padding: 0.55rem 0;
}
.ticker__track {
  display: flex; gap: 1.6rem; width: max-content;
  white-space: nowrap; font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.14em; color: var(--neon);
  animation: scroll 28s linear infinite;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { max-width: 1100px; margin: 0 auto; padding: 3.5rem 1rem 1rem; }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800;
  text-align: center; margin-bottom: 2rem;
}
.section-title__accent { color: var(--neon); }

.section-intro {
  max-width: 720px; margin: -1rem auto 2rem;
  text-align: center; color: var(--text-muted);
}

/* ---------- services ---------- */
.services__grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--neon);
  box-shadow: 0 8px 40px rgba(0, 240, 255, 0.12);
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.9rem; }
.card ul { list-style: none; }
.card li {
  color: var(--text-muted); font-size: 0.95rem;
  padding: 0.28rem 0 0.28rem 1.3rem; position: relative;
}
.card li::before {
  content: "▸"; color: var(--neon);
  position: absolute; left: 0.2rem;
}
.card p { color: var(--text-muted); }
.card--urgent { border-color: rgba(255, 46, 196, 0.4); }
.card--urgent h3 { color: var(--neon-2); }
.card__cta {
  display: inline-block; margin-top: 1rem;
  color: var(--neon); font-weight: 700; text-decoration: none; font-size: 0.95rem;
}
.card__cta:hover { text-decoration: underline; }

/* ---------- dispatch form ---------- */
.dispatch__panel {
  max-width: 620px; margin: 0 auto;
  background: var(--bg-panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.08);
}
.dispatch__sub { text-align: center; color: var(--text-muted); margin: -1rem 0 1.8rem; }
.dispatch__form { display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.95rem; }
.field__opt { color: var(--text-muted); font-weight: 400; }
.field select,
.field textarea {
  width: 100%; padding: 0.8rem 1rem;
  background: rgba(5, 6, 14, 0.8); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  font: inherit;
}
.field select:focus,
.field textarea:focus {
  outline: none; border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}
.dispatch__note { text-align: center; font-size: 0.82rem; color: var(--text-muted); }

/* ---------- how it works ---------- */
.how__steps {
  list-style: none; display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.how__steps li {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; background: var(--bg-panel);
}
.how__num {
  font-size: 2rem; font-weight: 800; color: transparent;
  -webkit-text-stroke: 1px var(--neon);
  display: block; margin-bottom: 0.6rem;
}
.how__steps h3 { margin-bottom: 0.4rem; }
.how__steps p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- area ---------- */
.area { text-align: center; }
.area__chips { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.chip {
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.6rem 1.3rem; font-weight: 600;
  background: rgba(255,255,255,0.03);
}
a.chip { color: var(--text); text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; display: inline-block; }
a.chip:hover { border-color: var(--neon); transform: translateY(-2px); }
.area__note { margin-top: 1.2rem; color: var(--text-muted); }

/* ---------- faq ---------- */
.faq { max-width: 760px; }
.faq__item {
  border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 0.8rem; background: var(--bg-panel);
  padding: 1rem 1.3rem;
}
.faq__item summary {
  cursor: pointer; font-weight: 600; list-style: none; position: relative;
  padding-right: 1.8rem;
}
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 0;
  color: var(--neon); font-size: 1.3rem; font-weight: 400;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin-top: 0.7rem; color: var(--text-muted); }

/* ---------- final CTA ---------- */
.final { text-align: center; padding-block: 4rem 5rem; }
.final__title { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; margin-bottom: 1.8rem; line-height: 1.15; }
.final__note { margin-top: 1.4rem; color: var(--text-muted); font-size: 0.9rem; }
.final__call { color: var(--neon); font-weight: 700; text-decoration: none; }
.final__call:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1rem 6rem; text-align: center;
  color: var(--text-muted); font-size: 0.9rem;
}
.footer a { color: var(--neon); }
.footer__links { margin-top: 0.6rem; }
.footer__links a { color: var(--text-muted); text-decoration: none; }
.footer__links a:hover { color: var(--neon); }

/* ---------- floating action button ---------- */
.fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  display: none; align-items: center; gap: 0.4rem;
  background: linear-gradient(92deg, var(--neon), #5ff5ff);
  color: #02131a; font-weight: 800; text-decoration: none;
  padding: 0.9rem 1.4rem; border-radius: 999px;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
  animation: fab-pulse 2.2s infinite;
}
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,240,255,0.4); }
  50%      { box-shadow: 0 0 42px rgba(0,240,255,0.75); }
}

@media (max-width: 760px) {
  .fab { display: inline-flex; }
  .topbar__status { font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track, .pulse-dot, .fab { animation: none; }
  html { scroll-behavior: auto; }
}
