/* acerdatarecovery.co.uk
   Palette from a circuit board: solder-mask green, copper traces, silver pads.
   Barlow and Barlow Semi Condensed, SIL Open Font License (fonts/OFL.txt). */
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Display"; src: url("../fonts/BarlowSemiCondensed-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Display"; src: url("../fonts/BarlowSemiCondensed-ExtraBold.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
	--deep: #0a2e22;      /* dark solder mask: hero, footer */
	--mask: #0f4a36;      /* solder mask: panels */
	--mask-2: #165a43;
	--copper: #c98a3c;    /* traces: accents, primary buttons */
	--copper-l: #e0a962;
	--copper-ink: #8a5718; /* copper dark enough for text on white */
	--silver: #d6ddd9;
	--paper: #ffffff;
	--surface: #eef3f0;
	--line: #d4dfd9;
	--ink: #11231c;
	--text: #22352d;
	--muted: #50645a;
	--fault: #c2412d;
	--fault-tint: #fbeeeb;
	--font: "Barlow", "Helvetica Neue", Arial, sans-serif;
	--display: "Barlow Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1180px;
	--g: clamp(16px, 4vw, 32px);
	--r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17.5px/1.62 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--mask); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.08; margin: 0 0 .45em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); font-weight: 800; }
h3 { font-size: 1.28rem; font-weight: 700; }
p, ul, ol, table { margin: 0 0 1.05em; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .3em; }
strong { font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .78em 1.3em; border: 2px solid transparent; border-radius: var(--r); font: 600 1rem/1.15 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn-copper { background: var(--copper); color: var(--deep); }
.btn-copper:hover { background: var(--copper-l); color: var(--deep); }
.btn-green { background: var(--mask); color: #fff; }
.btn-green:hover { background: var(--deep); color: #fff; }
.btn-line { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-line:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.07); }
.btn-ink { border-color: var(--ink); color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Top bar and header */
.topbar { background: var(--deep); color: #b9c4bf; font-size: .88rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .tb-r { margin-left: auto; display: flex; gap: 18px; }
@media (max-width: 760px) { .topbar .tb-hide { display: none; } .topbar .tb-r { margin-left: 0; } }
.hdr { position: sticky; top: 0; z-index: 50; background: #13804b url("../img/header-traces.svg") right center / auto 100% no-repeat; border-bottom: 3px solid var(--copper); }
.hdr .wrap { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { flex: none; }
.brand img { width: 236px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav li { margin: 0; }
.nav a { display: block; padding: 10px 8px; white-space: nowrap; color: #fff; font-weight: 600; text-decoration: none; border-radius: 4px; }
.nav a:hover, .nav a[aria-current] { color: #fff; background: rgba(0,0,0,.18); }
.hdr-call { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hdr-call:hover { color: #fff; text-decoration: underline; }
.menu-btn { display: none; margin-left: auto; padding: 9px 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 4px; background: transparent; color: #fff; font: 600 .95rem var(--font); cursor: pointer; }
@media (max-width: 1460px) { .hdr-call { display: none; } }
@media (max-width: 1200px) {
	.menu-btn { display: inline-flex; }
	.nav { position: absolute; left: 0; right: 0; top: 100%; background: #116f41; border-bottom: 3px solid var(--copper); display: none; }
	.nav.open { display: block; }
	.nav ul { flex-direction: column; padding: 8px var(--g) 16px; }
	.nav a { padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.15); }
	.hdr .btn { margin-left: 0; }
}
@media (max-width: 520px) { .brand img { width: 176px; } .hdr .btn { padding: .65em .9em; } .hdr .btn .long { display: none; } }
@media (min-width: 521px) { .hdr .btn .short { display: none; } }

/* Hero */
.hero { background: var(--deep); color: #c8d3ce; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px 40px; align-items: center; padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(36px, 6vw, 72px); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lede { font-size: 1.15rem; max-width: 34em; color: #c8d3ce; }
.hero-art svg { width: 100%; }
.hero-art .pulse { stroke-dasharray: 18 400; animation: pulse 3.2s ease-in-out 1 .6s both; }
@keyframes pulse { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; stroke-dasharray: 420 0; } }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { max-width: 560px; } }
.crumbs { font-size: .9rem; margin: 0 0 14px; color: #9fb2a9; }
.crumbs ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .6; }
.crumbs a { color: #d6ddd9; }

/* Finder (search by model number) */
.finder { margin: 22px 0 0; max-width: 560px; }
.finder label { display: block; margin-bottom: 6px; color: #fff; font-weight: 600; }
.finder input { width: 100%; padding: 14px 16px; border: 2px solid var(--copper); border-radius: var(--r); background: #fff; color: var(--ink); font: 500 1.05rem var(--font); }
.finder input:focus { outline: 3px solid var(--copper-l); outline-offset: 1px; }
.finder .hint { margin: 6px 0 0; font-size: .88rem; color: #9fb2a9; }
.hits { list-style: none; margin: 6px 0 0; padding: 0; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hits:empty { display: none; }
.hits li { margin: 0; border-bottom: 1px solid var(--line); }
.hits a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; color: var(--ink); text-decoration: none; }
.hits a:hover, .hits a:focus { background: var(--surface); outline: none; }
.hits small { color: var(--muted); }
.light .finder label { color: var(--ink); }
.light .finder .hint { color: var(--muted); }

/* Facts under the hero */
.facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.facts li { margin: 0; padding-left: 18px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border: 2px solid var(--copper); border-radius: 50%; }

/* Sections */
.sec { padding: clamp(44px, 6vw, 72px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec.tint { background: var(--surface); border-top: 0; }
.sec.tint + .sec { border-top: 0; }
.lead { font-size: 1.12rem; max-width: 46em; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.prose { max-width: 46em; }

/* Families grid: rows, not cards */
.fam { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--ink); }
.fam li { margin: 0; border-bottom: 1px solid var(--line); }
.fam li:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.fam a { display: block; height: 100%; padding: 18px 20px 20px; color: var(--ink); text-decoration: none; }
.fam strong { display: block; font: 800 1.45rem/1.1 var(--display); }
.fam span { display: block; margin-top: 4px; color: var(--muted); font-size: .95rem; }
.fam em { display: block; margin-top: 8px; font-style: normal; color: var(--copper-ink); font-weight: 600; font-size: .9rem; }
.fam a:hover { background: var(--surface); }
@media (max-width: 860px) { .fam { grid-template-columns: 1fr 1fr; } .fam li:not(:nth-child(3n)) { border-right: 0; } .fam li:nth-child(odd) { border-right: 1px solid var(--line); } }
@media (max-width: 520px) { .fam { grid-template-columns: 1fr; } .fam li:nth-child(odd) { border-right: 0; } }

/* Tables */
.tbl-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: .97rem; }
table.t caption { text-align: left; font: 700 1.25rem var(--display); color: var(--ink); padding-bottom: 8px; }
table.t th, table.t td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.t thead th { border-bottom: 3px solid var(--ink); font-size: .88rem; color: var(--muted); font-weight: 600; }
table.t td span { display: block; color: var(--muted); font-size: .9rem; }
table.t td.p { white-space: nowrap; font-weight: 600; color: var(--ink); }
table.t tr.row-link td:first-child a { font-weight: 600; text-decoration: none; }
table.t tr.row-link td:first-child a:hover { text-decoration: underline; }
.filter { max-width: 420px; margin: 0 0 16px; }
.filter input { width: 100%; padding: 11px 13px; border: 1px solid #a9b9b1; border-radius: var(--r); font: 1rem var(--font); }

/* Model lists */
.models { columns: 4 180px; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.models li { margin: 0; padding: 4px 0; break-inside: avoid; }
.models a { text-decoration: none; }
.models a:hover { text-decoration: underline; }
.series h3 { margin-top: 1.6em; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.series .yrs { font: 500 .95rem var(--font); color: var(--muted); margin-left: 8px; }

/* Spec list on model pages */
.spec { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 0 0 1.2em; border-top: 3px solid var(--ink); }
.spec dt, .spec dd { margin: 0; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 600; color: var(--ink); padding-right: 24px; }
.art { border-radius: 10px; overflow: hidden; }

.note { margin: 1.4em 0; padding: 14px 18px; border-left: 4px solid var(--copper); background: #fbf5ec; border-radius: 0 var(--r) var(--r) 0; }
.note.warn { border-left-color: var(--fault); background: var(--fault-tint); }
.note p:last-child { margin-bottom: 0; }

ol.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
ol.steps li { counter-increment: s; position: relative; margin: 0; padding: 54px 18px 0 0; }
ol.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--mask); color: #fff; font: 800 1.1rem var(--display); z-index: 1; }
ol.steps li::after { content: ""; position: absolute; top: 18px; left: 38px; right: 0; height: 3px; background: var(--copper); opacity: .55; }
ol.steps li:last-child::after { display: none; }
ol.steps strong { display: block; color: var(--ink); font: 700 1.15rem var(--display); margin-bottom: 4px; }
ol.steps span { color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { ol.steps { grid-template-columns: 1fr; } ol.steps li { padding: 0 0 22px 56px; } ol.steps li::after { top: 38px; bottom: 0; left: 18px; right: auto; width: 3px; height: auto; } }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 3px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 15px 34px 15px 0; position: relative; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 1.5rem; color: var(--copper-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); max-width: 46em; }

.related { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.related li { margin: 0; }
.related a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: .95rem; }
.related a:hover { border-color: var(--mask); }

/* Booking band */
.band { background: var(--mask); color: #d6e2dc; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
.band h2 { color: #fff; margin-bottom: .25em; }
.band p { margin: 0; max-width: 40em; }
@media (max-width: 760px) { .band .wrap { grid-template-columns: 1fr; } }

/* Footer */
.ftr { background: var(--deep); color: #a9bab2; font-size: .94rem; }
.ftr .cols { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 48px; padding-bottom: 32px; }
.ftr h2 { font: 600 1rem var(--font); color: #fff; margin: 0 0 10px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin: 0 0 6px; }
.ftr a { color: #dbe4df; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr .logo { width: 250px; margin-bottom: 14px; }
.ftr .base { border-top: 1px solid var(--mask); padding-top: 16px; padding-bottom: 22px; font-size: .84rem; color: #8ea39a; }
.ftr .base p { margin: 0 0 6px; }
@media (max-width: 960px) { .ftr .cols { grid-template-columns: 1fr 1fr; } .ftr .cols > div:first-child { grid-column: 1 / -1; } }

.sym td:first-child { font-weight: 600; color: var(--ink); width: 34%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1em; padding: 0; list-style: none; }
.chips li { margin: 0; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; background: #fff; }
.kicker-num { font: 800 3rem/1 var(--display); color: var(--copper-ink); }

/* Steps inside a two-column section run vertically */
.two ol.steps { grid-template-columns: 1fr; }
.two ol.steps li { padding: 0 0 22px 56px; }
.two ol.steps li::after { top: 38px; bottom: 0; left: 18px; right: auto; width: 3px; height: auto; }
.two ol.steps li:last-child { padding-bottom: 0; }

/* Enquiry form in the top right of every page */
.hero .wrap { align-items: start; }
.enq { background: #fff; color: var(--text); border-radius: 10px; border-top: 5px solid var(--copper); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); padding: 22px 22px 16px; width: 100%; max-width: 470px; justify-self: end; }
.enq h2 { margin: 0 0 2px; font-size: 1.45rem; color: var(--ink); }
.enq-sub { margin: 0 0 12px; font-size: .95rem; color: var(--muted); }
.enq-form > label, .enq-row label { display: block; margin: 0 0 10px; }
.enq-form label > span { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.enq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.enq input, .enq select, .enq textarea { width: 100%; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); font: 500 1rem var(--font); }
.enq textarea { resize: vertical; min-height: 78px; }
.enq input:focus, .enq select:focus, .enq textarea:focus { outline: none; border-color: var(--mask-2); box-shadow: 0 0 0 3px rgba(19, 128, 75, .2); }
.enq .cf-turnstile { margin: 4px 0 10px; min-height: 65px; }
.enq button { width: 100%; }
.enq button[disabled] { opacity: .6; cursor: wait; }
.enq-msg { margin: 8px 0 0; font-weight: 600; font-size: .95rem; }
.enq-msg:empty { display: none; }
.enq-msg.err { color: var(--fault); }
.enq-msg.ok { color: #0a7a2f; }
.enq-note { margin: 8px 0 0; font-size: .8rem; color: var(--muted); }
.enq-note a { color: var(--muted); }
.enq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enq.sent .enq-form > *:not(h2):not(.enq-msg) { display: none; }
@media (max-width: 900px) { .enq { justify-self: stretch; max-width: none; } }
@media (max-width: 420px) { .enq-row { grid-template-columns: 1fr; } }

/* Price calculator */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 28px 56px; align-items: start; }
.calc { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--copper); border-radius: 10px; padding: clamp(18px, 3vw, 30px); }
.calc-step { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.calc-step legend { font-weight: 700; font-size: 1.1rem; color: var(--ink); padding: 0; margin-bottom: 10px; }
.calc-opts { display: grid; gap: 8px; }
.calc-opt { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; line-height: 1.35; background: #fff; transition: border-color .12s, background .12s; }
.calc-opt:hover { border-color: var(--mask-2); }
.calc-opt input { accent-color: #13804b; width: 18px; height: 18px; margin: 0; flex: none; }
.calc-opt:has(input:checked) { border-color: #13804b; background: #eef7f2; }
.calc-opt:has(input:focus-visible) { outline: 3px solid var(--copper); outline-offset: 2px; }
.calc-result { border-top: 2px solid var(--ink); padding-top: 20px; }
.calc-result h3 { margin: 0 0 6px; }
.calc-total { margin: 0; line-height: 1.1; }
.calc-amt { font: 800 clamp(2.1rem, 5vw, 3rem)/1.05 var(--display); color: #13804b; font-variant-numeric: tabular-nums; }
.calc-vat { font-size: 1.05rem; font-weight: 600; color: var(--muted); }
.calc-inc { margin: 4px 0 14px; color: var(--muted); font-size: .95rem; }
.calc-lines { width: 100%; border-collapse: collapse; font-size: .96rem; margin: 0 0 14px; }
.calc-lines th, .calc-lines td { text-align: left; vertical-align: top; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); }
.calc-lines th { font-weight: 500; width: 62%; }
.calc-lines td { font-weight: 700; white-space: nowrap; text-align: right; padding-right: 0; }
.calc-note { background: var(--surface); border-left: 4px solid var(--copper); padding: 10px 14px; border-radius: 0 var(--r) var(--r) 0; font-size: .96rem; }
.calc-small { font-size: .9rem; color: var(--muted); }
.calc-result .btns { margin-top: 14px; }
.calc-reset { background: none; border: 0; padding: 0; margin-top: 16px; font: inherit; font-size: .92rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 860px) { .calc-grid { grid-template-columns: 1fr; } .calc-lines td { white-space: normal; } }
.nw { white-space: nowrap; }

/* HP Laptop Fix additions */
ul.chk { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 6px; }
ul.chk.cols2 { grid-template-columns: 1fr 1fr; gap: 6px 18px; }
ul.chk li { position: relative; padding-left: 26px; }
ul.chk li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 3px solid #13804b; border-bottom: 3px solid #13804b; transform: rotate(-45deg); }
ul.svc { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
ul.svc a { display: block; height: 100%; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color .15s, transform .15s; }
ul.svc a:hover { border-color: var(--copper); transform: translateY(-2px); }
ul.svc img { display: block; width: 100%; height: auto; }
ul.svc strong { display: block; font: 800 1.25rem/1.15 var(--display); color: var(--ink); padding: 14px 16px 4px; }
ul.svc span { display: block; padding: 0 16px 16px; font-size: .95rem; color: var(--muted); }
.art + .spec { margin-top: 18px; }
@media (max-width: 1000px) { ul.svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { ul.svc { grid-template-columns: 1fr; } ul.chk.cols2 { grid-template-columns: 1fr; } }
.wp-block-html { margin: 0; }
.steps + .btns { margin-top: 22px; }
