/*
Theme Name: CCU Site
Description: Generic theme for our WordPress car check sites (owner, 18 Nov 2026), first vehiclehpi.co.uk. Pages are WordPress content; the report and checkout screens are served by the CarCheckUp app under /check/ and print this theme's header and footer (WebApp/static/wp_sites/site.css uses the same --wp- tokens). Site name, colours and the site code are set per site (Appearance > Customise, and the ccu_site_code option).
Version: 1.0.0
Text Domain: ccu-site
*/
:root {
  --wp-ink: #111827; --wp-muted: #4b5563; --wp-line: #e5e7eb; --wp-page: #f6f5f2; --wp-panel: #fff;
  --wp-accent: #0f766e; --wp-accent-hover: #115e59; --wp-accent-soft: #ccfbf1; --wp-plate: #ffd21f; --wp-radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--wp-page); color: var(--wp-ink); font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--wp-accent); }
a:hover { color: var(--wp-accent-hover); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.2rem 0 .8rem; }
.wp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wp-section { padding: 2.5rem 16px; }
.screen-reader-text { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 1000; background: #fff; padding: 8px 12px; }

/* header */
.wp-header { background: var(--wp-panel); border-bottom: 1px solid var(--wp-line); position: sticky; top: 0; z-index: 50; }
.wp-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.wp-logo { font-weight: 800; font-size: 1.1rem; color: var(--wp-ink) !important; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.wp-logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--wp-accent); display: inline-block; position: relative; }
.wp-logo-mark::after { content: ""; position: absolute; left: 8px; top: 6px; width: 8px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.wp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.wp-nav a { color: var(--wp-ink); text-decoration: none; font-weight: 600; }
.wp-btn { display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.4rem; border-radius: 999px; border: 0;
  background: var(--wp-accent); color: #fff !important; font-weight: 700; text-decoration: none; cursor: pointer; font-size: 1rem; }
.wp-btn:hover { background: var(--wp-accent-hover); }
.wp-btn-small { padding: .45rem 1rem; font-size: .9rem; }

/* hero and search */
.wp-hero { background: linear-gradient(180deg, #fff 0%, var(--wp-page) 100%); padding: 3rem 0 2rem; }
.wp-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.wp-lead { font-size: 1.15rem; color: var(--wp-muted); margin: 0 0 1.2rem; }
.wp-check { background: var(--wp-panel); border: 1px solid var(--wp-line); border-radius: var(--wp-radius); padding: 20px; box-shadow: 0 10px 30px rgba(17,24,39,.06); }
.wp-check-title { font-weight: 800; margin: 0 0 .8rem; }
.wp-check-row { display: flex; gap: 10px; flex-wrap: wrap; }
.wp-plate { flex: 1 1 220px; display: flex; align-items: stretch; border: 2px solid var(--wp-ink); border-radius: 10px; overflow: hidden; background: var(--wp-plate); min-height: 54px; }
.wp-plate-band { background: #1f4fe0; color: #fff; font-weight: 800; font-size: .75rem; display: flex; align-items: flex-end; padding: 0 6px 6px; }
.wp-plate input { flex: 1; border: 0; background: transparent; font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; text-align: center; min-width: 0; }
.wp-plate input:focus { outline: 3px solid var(--wp-accent); outline-offset: -3px; }
.wp-check-points { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; gap: 14px; flex-wrap: wrap; color: var(--wp-muted); font-size: .92rem; }
.wp-check-points li::before { content: "✓ "; color: var(--wp-accent); font-weight: 800; }

/* content */
.wp-content { background: var(--wp-panel); border: 1px solid var(--wp-line); border-radius: var(--wp-radius); padding: clamp(18px, 4vw, 40px); }
.wp-content table { width: 100%; border-collapse: collapse; }
.wp-content th, .wp-content td { text-align: left; padding: .6rem; border-bottom: 1px solid var(--wp-line); vertical-align: top; }
.wp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wp-card { background: var(--wp-panel); border: 1px solid var(--wp-line); border-radius: var(--wp-radius); padding: 20px; }

/* prices (plugin) */
.wp-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.wp-price-card { background: var(--wp-panel); border: 1px solid var(--wp-line); border-radius: var(--wp-radius); padding: 22px; display: flex; flex-direction: column; gap: .4rem; }
.wp-price-card--popular { border: 2px solid var(--wp-accent); }
.wp-badge { align-self: flex-start; background: var(--wp-accent-soft); color: var(--wp-accent-hover); font-weight: 800; font-size: .78rem; border-radius: 999px; padding: .2rem .7rem; margin: 0; }
.wp-price-name { margin: 0; font-size: 1.15rem; }
.wp-price { margin: 0; }
.wp-price-amount { font-size: 2rem; font-weight: 800; }
.wp-ticks { list-style: none; padding: 0; margin: .4rem 0 1rem; flex: 1; }
.wp-ticks li { padding-left: 1.4rem; position: relative; margin: .25rem 0; }
.wp-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--wp-accent); font-weight: 800; }
.wp-note { color: var(--wp-muted); font-size: .92rem; }

/* footer */
.wp-footer { background: var(--wp-ink); color: #d1d5db; padding: 2.2rem 0; margin-top: 3rem; font-size: .92rem; }
.wp-footer a { color: #fff; }
.wp-footer ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .wp-hero-grid, .wp-cards { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  body { font-size: 16px; }
  .wp-nav ul { gap: 12px; font-size: .92rem; }
  .wp-check-row .wp-btn { width: 100%; }
}
