/*
Theme Name: Fenland IT
Theme URI: https://www.fenland-it.co.uk/
Author: Fenland IT
Description: One-page theme for Fenland IT — mobile IT support, networking and PC builds in Chatteris, PE16. Includes a coverage map, local SEO structured data and a built-in contact form.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fenland-it
*/

:root {
  --bg: #0a0f1e;
  --bg-2: #0f1629;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --text: #e6ecff;
  --muted: #94a0c0;
  --cyan: #00e5ff;
  --violet: #8b5cf6;
  --green: #22e39b;
  --grad: linear-gradient(120deg, var(--cyan), var(--violet));
  --radius: 18px;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { width: min(820px, 92%); }

.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent { color: var(--cyan); }
.fine { color: var(--muted); font-size: 0.85rem; margin-top: 1rem; }
.center { text-align: center; }

/* ---------- Accessibility ---------- */
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 100; background: var(--cyan); color: #050814; padding: .6rem 1rem; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  padding: .9rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn-primary { background: var(--grad); color: #050814; box-shadow: 0 8px 30px rgba(0, 229, 255, .25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(139, 92, 246, .4); }
.btn-ghost { border-color: var(--border); background: rgba(255,255,255,.03); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-small { padding: .55rem 1.1rem; background: var(--grad); color: #050814 !important; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10, 15, 30, .82); backdrop-filter: blur(14px); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-weight: 700; font-size: 1.35rem; display: flex; align-items: center; gap: .55rem; letter-spacing: -.02em; }
.logo-mark { font-family: var(--mono); background: var(--grad); color: #050814; padding: .1rem .45rem; border-radius: 8px; font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active:not(.btn) { color: var(--cyan); }
.nav-phone { font-family: var(--mono); font-size: .92rem; color: var(--text) !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 12px; margin-right: -12px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; overflow: hidden;
  background: radial-gradient(1000px 600px at 80% 10%, rgba(139,92,246,.18), transparent 60%),
              radial-gradient(800px 500px at 0% 90%, rgba(0,229,255,.12), transparent 60%), var(--bg); }
#netCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .85rem; color: var(--cyan);
  background: rgba(0,229,255,.07); border: 1px solid rgba(0,229,255,.25); padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.4rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34,227,155,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,227,155,0); } 100% { box-shadow: 0 0 0 0 rgba(34,227,155,0); } }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 1.4rem; }
.h1-sub { display: block; font-size: .62em; line-height: 1.15; margin-top: .5rem; color: #c3cbe6; letter-spacing: -.02em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 2rem; }
.lead strong { color: var(--text); }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--muted); font-size: .95rem; }

.terminal { background: rgba(8, 12, 24, .85); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(0,229,255,.06), 0 0 60px rgba(0,229,255,.08); backdrop-filter: blur(8px);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .5s; }
.terminal:hover { transform: none; }
.terminal-bar { display: flex; align-items: center; gap: .45rem; padding: .8rem 1rem; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--border); }
.terminal-bar span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.terminal-bar span:nth-child(2) { background: #febc2e; }
.terminal-bar span:nth-child(3) { background: #28c840; }
.terminal-bar em { margin-left: .6rem; font-style: normal; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.terminal-body { font-family: var(--mono); font-size: .86rem; padding: 1.2rem 1.3rem; min-height: 320px; color: #c8d3f5; white-space: pre-wrap; line-height: 1.7; }
.terminal-body .ok { color: var(--green); }
.terminal-body .warn { color: #febc2e; }
.terminal-body .cmd { color: var(--cyan); }
.terminal-body .dim { color: #5b6688; }
.cursor { display: inline-block; width: 8px; height: 1em; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--cyan); border-radius: 2px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Strip ---------- */
.strip { border-block: 1px solid var(--border); background: var(--bg-2); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 2rem 0; }
.strip-inner div { display: flex; flex-direction: column; }
.strip-inner strong { font-size: 2.2rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.strip-inner span { color: var(--muted); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-tag { font-family: var(--mono); color: var(--cyan); font-size: .9rem; margin-bottom: .6rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 1rem; }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin-bottom: 3rem; }

.grid { display: grid; gap: 1.4rem; }
.services { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; overflow: hidden;
  transition: transform .3s, border-color .3s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(0,229,255,.12), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: rgba(0,229,255,.35); }
.card:hover::before { opacity: 1; }
.icon { font-size: 1.8rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(0,229,255,.15), rgba(139,92,246,.15)); border: 1px solid var(--border); }
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { color: var(--muted); margin-bottom: 1rem; }
.card ul { list-style: none; display: grid; gap: .35rem; font-size: .92rem; }
.card li::before { content: "→ "; color: var(--cyan); font-family: var(--mono); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 3rem; list-style: none; }
.step { position: relative; padding: 2rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); }
.step-num { font-family: var(--mono); font-size: 2.6rem; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; line-height: 1; margin-bottom: 1rem; }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* Coverage */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.town-check { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.6rem; }
.town-check label { font-weight: 600; display: block; margin-bottom: .7rem; }
.town-check-row { display: flex; gap: .6rem; }
.town-check-row input { flex: 1; }
.town-result { margin-top: .8rem; min-height: 1.5em; font-family: var(--mono); font-size: .92rem; }
.town-result.yes { color: var(--green); }
.town-result.maybe { color: #febc2e; }
.legend { display: flex; gap: 1.4rem; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.legend span { display: flex; align-items: center; gap: .5rem; }
.ring { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.r1 { background: rgba(34,227,155,.8); } .r2 { background: rgba(0,229,255,.8); } .r3 { background: rgba(139,92,246,.85); }

.map-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 540px; justify-self: center; }
#coverageMap { width: 100%; height: 100%; overflow: visible; }
.sweep { transform-origin: 250px 250px; animation: sweep 6s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.town-dot { cursor: pointer; transition: r .2s; }
.town-dot:hover, .town-dot.hl { r: 8; }
.town-label { font-family: "Space Grotesk", sans-serif; font-size: 11px; fill: var(--muted); pointer-events: none; transition: fill .2s; }
.town-label.hl { fill: #fff; font-weight: 600; }
.town-hit { fill: transparent; cursor: pointer; }
.tap-hint { display: none; }
@media (hover: none) { .hover-hint { display: none; } .tap-hint { display: inline; } }
.map-tooltip { position: absolute; pointer-events: none; background: #050814; border: 1px solid var(--cyan); color: var(--text); padding: .4rem .7rem; border-radius: 8px;
  font-family: var(--mono); font-size: .8rem; white-space: nowrap; opacity: 0; transform: translate(-50%, -130%); transition: opacity .15s; }

.areas-title { margin-top: 4rem; margin-bottom: 1.4rem; font-size: 1.4rem; text-align: center; }
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.area-group { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.area-group h4 { font-size: .95rem; color: var(--cyan); font-family: var(--mono); font-weight: 600; margin-bottom: .8rem; }
.area-group ul { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.area-group li { padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.03); font-size: .88rem; color: var(--muted); transition: .2s; cursor: pointer; user-select: none; }
.area-group li:hover, .area-group li.hl { color: #050814; background: var(--cyan); border-color: var(--cyan); }
.villages { color: var(--muted); text-align: center; max-width: 760px; margin: 1.6rem auto 0; font-size: .95rem; }

/* Why */
.why { grid-template-columns: repeat(4, 1fr); margin-top: 2.5rem; }
.why-item { padding: 1.8rem; border-left: 2px solid; border-image: var(--grad) 1; background: var(--card); }
.why-item h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.why-item p { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq { display: grid; gap: .8rem; margin-top: 2.5rem; }
details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.4rem; transition: border-color .2s; }
details[open] { border-color: rgba(0,229,255,.35); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--cyan); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: .8rem; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: center; font-size: 1.05rem; }
.contact-list span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
.contact-list a:hover { color: var(--cyan); }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 2rem; display: grid; gap: 1rem; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 500; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--text); background: rgba(5, 8, 20, .6); border: 1px solid var(--border); border-radius: 12px;
  padding: .8rem 1rem; outline: none; transition: border-color .2s, box-shadow .2s; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,229,255,.15); }
textarea { resize: vertical; }
select option { background: var(--bg-2); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 3rem 0; text-align: center; }
.footer-inner { display: grid; justify-items: center; gap: .6rem; }
.footer p { color: var(--muted); max-width: 620px; }
.footer-links a { color: var(--text); }
.footer-links a:hover { color: var(--cyan); }

/* Mobile quick-action bar */
.mobile-cta { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .nav-phone { display: none; } .nav-links { gap: 1.5rem; } }
@media (max-width: 1000px) {
  .hero-inner, .coverage, .contact { grid-template-columns: 1fr; }
  .terminal { transform: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps, .why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav { background: rgba(10, 15, 30, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.5rem; background: #0a0f1e;
    border-bottom: 1px solid var(--border); box-shadow: 0 30px 60px rgba(0,0,0,.6); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 1rem .25rem; font-size: 1.1rem; border-bottom: 1px solid var(--border); }
  .nav-links .nav-phone { display: block; }
  .nav-links .btn-small { margin-top: 1rem; padding: .9rem; border-bottom: 0; }
  .hero { padding-top: 100px; min-height: auto; }
  .scroll-hint { display: none; }
  .lead { font-size: 1.05rem; }
  .hero-cta .btn { flex: 1 1 auto; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(10,15,30,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border); transform: translateY(110%); transition: transform .3s; }
  .mobile-cta.show { transform: none; }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .85rem; border-radius: 999px; font-weight: 600; }
  .mc-call { border: 1px solid var(--border); background: rgba(255,255,255,.05); }
  .mc-quote { background: var(--grad); color: #050814; }
  body { padding-bottom: 76px; }
  .town-label:not(.home) { display: none; }
  .area-group li { padding: .5rem .9rem; }
  .contact-form { padding: 1.4rem; }
  .services, .steps, .why, .contact-form .row { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .section { padding: 80px 0; }
  .terminal-body { min-height: 260px; font-size: .78rem; }
  .town-check-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   WordPress extras
   ========================================================= */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }
@media (max-width: 720px) { body.admin-bar .nav-links { top: 118px; } }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: .9rem 1.1rem; border-radius: 12px; font-weight: 500; }
.form-msg.ok { background: rgba(34,227,155,.12); border: 1px solid rgba(34,227,155,.45); color: var(--green); }
.form-msg.err { background: rgba(254,188,46,.1); border: 1px solid rgba(254,188,46,.45); color: #febc2e; }
.btn:disabled { opacity: .7; cursor: wait; }

/* Inner pages, posts & blog */
.wp-main { padding: 140px 0 100px; min-height: 70vh; }
.page-title { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; letter-spacing: -.03em; margin-bottom: 1.2rem; }
.entry { margin-bottom: 2rem; }
.entry.card { padding: 1.8rem; }
.entry-title { font-size: 1.5rem; margin-bottom: .3rem; }
.entry-title a:hover, .read-more:hover { color: var(--cyan); }
.entry-meta { color: var(--muted); font-family: var(--mono); font-size: .85rem; margin-bottom: 1.2rem; }
.read-more { color: var(--cyan); font-weight: 600; }
.entry-thumb img { border-radius: var(--radius); margin-bottom: 1.6rem; height: auto; }
.entry-content { color: #c8d0ea; font-size: 1.08rem; }
.entry-content > * + * { margin-top: 1.2rem; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--text); margin-top: 2.2rem; line-height: 1.2; }
.entry-content h2 { font-size: 1.9rem; }
.entry-content h3 { font-size: 1.4rem; }
.entry-content a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li + li { margin-top: .4rem; }
.entry-content blockquote { border-left: 3px solid var(--cyan); padding: .4rem 0 .4rem 1.2rem; color: var(--text); font-style: italic; }
.entry-content img, .entry-content video, .entry-content iframe { max-width: 100%; height: auto; border-radius: 12px; }
.entry-content code { font-family: var(--mono); background: rgba(255,255,255,.06); padding: .1rem .4rem; border-radius: 6px; font-size: .92em; }
.entry-content pre { font-family: var(--mono); background: rgba(5,8,20,.8); border: 1px solid var(--border); padding: 1rem 1.2rem; border-radius: 12px; overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: .6rem .8rem; text-align: left; }
.entry-content .wp-block-button__link { background: var(--grad); color: #050814; border-radius: 999px; text-decoration: none; font-weight: 600; }
.alignleft { float: left; margin: .4rem 1.4rem 1rem 0; }
.alignright { float: right; margin: .4rem 0 1rem 1.4rem; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignwide, .alignfull { max-width: 100%; }
.wp-caption-text, .wp-element-caption { color: var(--muted); font-size: .88rem; margin-top: .4rem; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.pagination .nav-links { position: static; display: flex; gap: .5rem; flex-direction: row; padding: 0; background: none; border: 0; box-shadow: none; transform: none; opacity: 1; visibility: visible; }
.pagination .page-numbers { padding: .5rem .9rem; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { color: #050814; background: var(--cyan); border-color: var(--cyan); }
.cta-box { margin-top: 4rem; padding: 2.2rem; border-radius: 22px; text-align: center; border: 1px solid rgba(0,229,255,.3);
  background: linear-gradient(135deg, rgba(0,229,255,.08), rgba(139,92,246,.1)); }
.cta-box h2 { font-size: 1.8rem; margin-bottom: .4rem; }
.cta-box p { color: var(--muted); margin-bottom: 1.4rem; }
.pagination .nav-links a, .pagination .nav-links span { padding: .5rem .9rem; font-size: 1rem; border: 1px solid var(--border); }

/* =========================================================
   v1.1 — service pages, footer links
   ========================================================= */
.page-hero { position: relative; padding: 150px 0 90px; overflow: hidden;
  background: radial-gradient(900px 500px at 85% 0%, rgba(139,92,246,.2), transparent 60%),
              radial-gradient(700px 400px at 0% 100%, rgba(0,229,255,.12), transparent 60%), var(--bg); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero .lead { max-width: 720px; }
.breadcrumbs { font-family: var(--mono); font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumbs a { color: var(--cyan); }
.breadcrumbs a:hover { text-decoration: underline; }

.card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.1rem; color: var(--cyan); font-weight: 600; }
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.check-list { list-style: none; display: grid; gap: .8rem; }
.check-list li { position: relative; padding: 1rem 1.2rem 1rem 3rem; background: var(--card); border: 1px solid var(--border); border-radius: 14px; }
.check-list li::before { content: "✔"; position: absolute; left: 1.1rem; top: 1rem; color: var(--green); font-weight: 700; }

.center { text-align: center; }
.center-block { margin-left: auto; margin-right: auto; margin-bottom: 1.2rem; }

.other-grid { grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
.other-card { display: flex; flex-direction: column; gap: .6rem; }
.other-card strong { font-size: 1.2rem; }
.other-card .icon { margin-bottom: .2rem; }
.other-card .card-link { margin-top: auto; }

.footer-services { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; margin: .4rem 0; }
.footer-services a { color: var(--muted); font-size: .95rem; }
.footer-services a:hover { color: var(--cyan); }
.footer .fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.contact-form .fine a { color: var(--cyan); }

@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .other-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-hero { padding: 110px 0 60px; }
}
