/*
Theme Name: Mac Repair London Clean
Theme URI: https://www.mac-repair.london/
Description: A calm, fast, readable theme for Mac Repair London. Replaces the old "macrepair" theme and keeps the same page templates (page-general.php, front-page.php) so existing pages work without changes.
Version: 2.9.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mrl-clean
*/

/* ---------- Tokens ---------- */
:root {
  --paper: #ffffff;
  --ink: #0f1b2d;
  --muted: #556274;
  --rule: #e3e8ef;
  --tint: #f4f7fb;
  --accent: #0066cc;          /* blue from the original site; change in Customize */
  --accent-dark: #0052a3;
  --accent-tint: #e6f0fa;
  --accent-on-dark: #80b3e6;
  --header-bg: #ffffff;
  --footer-bg: #0f1b2d;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --measure: 44rem;
  --wide: 72rem;
  --gap: clamp(1rem, 4vw, 2rem);
  --radius: 8px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.screen-reader-text, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: .5rem; left: .5rem; z-index: 100; background: var(--paper); padding: .5rem 1rem; }
.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--gap); }

/* ---------- Header ---------- */
.site-header { background: var(--header-bg); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; }
.brand { order: 1; display: flex; align-items: center; min-height: 4.25rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.custom-logo-link { order: 1; display: flex; align-items: center; min-height: 4.25rem; }
.custom-logo-link img { max-height: 2.5rem; width: auto; }
.brand-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark { flex-shrink: 0; display: inline-block; width: .7rem; height: .7rem; background: var(--accent); border-radius: 2px; margin-right: .55rem; }

.header-call {
  order: 2; margin-left: auto; display: inline-flex; align-items: center; padding: .55rem 1rem; border-radius: var(--radius);
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.header-call:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.header-quote {
  order: 2; margin-left: auto; display: inline-flex; align-items: center; padding: .5rem .95rem; border-radius: var(--radius);
  border: 1.5px solid var(--accent); color: var(--accent); text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap;
}
.header-quote:hover { background: var(--accent-tint); color: var(--accent-dark); text-decoration: none; }
.header-quote + .header-call { margin-left: 0; }
.primary-nav .sub-menu li:first-child a { color: var(--muted); font-size: .9rem; }
.q-short { display: none; }
.header-dark .header-quote { border-color: var(--accent-on-dark); color: #fff; }
.header-dark .header-quote:hover { background: rgba(255,255,255,.08); color: #fff; }

.primary-nav { order: 4; width: 100%; border-top: 1px solid var(--rule); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; flex-wrap: wrap; gap: 0 1.75rem; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: .85rem 0; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; white-space: nowrap; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current-page-ancestor > a { color: var(--accent); }
.primary-nav > ul > li.current-menu-item > a, .primary-nav > ul > li.current-menu-ancestor > a, .primary-nav > ul > li.current-page-ancestor > a { box-shadow: inset 0 -2px 0 var(--accent); }
.primary-nav .sub-menu {
  position: absolute; left: -.75rem; top: 100%; z-index: 60; min-width: 16rem; padding: .5rem;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(23, 32, 43, .08);
  visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.primary-nav .sub-menu a { padding: .45rem .7rem; border-radius: var(--radius); }
.primary-nav .sub-menu a:hover { background: var(--tint); }
.primary-nav .sub-menu .sub-menu { display: none; } /* third level lives on the hub pages */
.submenu-toggle, .menu-toggle { display: none; }

@media (max-width: 900px) {
  .site-header { position: sticky; top: 0; z-index: 50; }
  .admin-bar .site-header { top: 46px; }
  .brand, .custom-logo-link { min-height: 3.75rem; flex: 1; }
  .header-call, .header-quote { margin-left: 0; }
  .menu-toggle {
    order: 3; display: inline-flex; align-items: center;
    background: none; border: 1px solid var(--rule); border-radius: var(--radius); padding: .5rem .8rem;
    font: inherit; font-size: .95rem; color: var(--ink); cursor: pointer;
  }
  .primary-nav { display: none; margin-top: .75rem; }
  .primary-nav.is-open { display: block; }
  .primary-nav > ul { flex-direction: column; gap: 0; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; }
  .primary-nav > ul > li > a { flex: 1; padding: .85rem 0; font-size: 1rem; box-shadow: none !important; }
  .primary-nav .sub-menu {
    position: static; display: none; width: 100%; min-width: 0; padding: 0 0 .5rem .75rem;
    border: 0; box-shadow: none; visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: none; }
  .primary-nav li.is-open > .sub-menu { display: block; }
  .primary-nav .sub-menu a { white-space: normal; }
  .submenu-toggle {
    display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center;
    background: none; border: 0; color: var(--ink); cursor: pointer; font-size: 1.25rem;
  }
  .submenu-toggle::before { content: "+"; }
  li.is-open > .submenu-toggle::before { content: "\2212"; }
}
@media (max-width: 600px) {
  .brand { font-size: 1rem; }
  .header-call { padding: .5rem .7rem; }
  .header-quote { padding: .45rem .65rem; }
  .header-call .call-num { display: none; }
  .q-long { display: none; }
  .q-short { display: inline; }
  .header-inner { column-gap: .5rem; }
  .brand { min-width: 0; }
  .custom-logo-link { min-width: 0; }
  .custom-logo-link img { max-width: 42vw; height: auto; }
  .menu-toggle { padding: .5rem .65rem; }
}

/* ---------- Page header ---------- */
.site-main article > .wrap { max-width: var(--measure); }
.page-head { padding: clamp(1.75rem, 5vw, 3rem) 0 1.25rem; }
.breadcrumbs { font-size: .875rem; color: var(--muted); margin: 0 0 .75rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.page-title {
  margin: 0; font-size: clamp(1.85rem, 4.2vw, 2.6rem); line-height: 1.1;
  letter-spacing: -0.03em; font-weight: 600; text-wrap: balance;
}

/* ---------- Model page components ---------- */
.check-list { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .6rem 1.75rem; }
.check-list li { position: relative; padding-left: 1.85rem; margin: 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--accent-tint); }
.check-list li::after {
  content: ""; position: absolute; left: .225rem; top: calc(.3em + .225rem); width: .7rem; height: .7rem; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.3 6.2l2.4 2.4L9.8 3.3' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.3 6.2l2.4 2.4L9.8 3.3' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.spec-card { background: var(--tint); border-radius: 14px; padding: .5rem 1.5rem; margin-bottom: 1.5rem; }
.spec-card table { margin: 0; }
.spec-card tr:last-child th, .spec-card tr:last-child td { border-bottom: 0; }
.spec-card th, .spec-card td { padding: .75rem 1rem .75rem 0; }
.price-box { margin: 3rem 0 1.5rem; padding: 1.5rem 1.75rem; border-radius: 14px; background: var(--accent-tint); }
.price-box h2 { margin: 0 0 .5rem !important; }
.price-box p { margin: 0; }
.part-no { display: block; margin-top: .6rem; font-size: .9rem; color: var(--muted); }
.part-no span { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.faq { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative; padding: 1.05rem 2.5rem 1.05rem 0;
  font-weight: 600; font-size: 1.05rem; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: .6rem; height: .6rem; margin-top: -.4rem;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -.1rem; }
.faq-item summary:hover { color: var(--accent); }
.faq-answer { padding: 0 0 1.1rem; color: var(--muted); }
.faq-answer p { margin: 0; }

/* Trust points */
.trust-list { list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: .92rem; }
.trust-list li { position: relative; padding-left: 1.5rem; margin: .3rem 0; }
.trust-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: .95rem; height: .95rem; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.3 6.2l2.4 2.4L9.8 3.3' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.3 6.2l2.4 2.4L9.8 3.3' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.trust-inline { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 1.75rem 0 0; font-size: .95rem; color: var(--muted); }
.trust-inline li { margin: 0; }

/* Price table ([mrl_price_list]) */
.price-list h2 { margin-top: 2.25rem; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th { width: auto !important; font-weight: 500 !important; color: var(--ink) !important; }
.price-table td { text-align: right; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Find your Mac ---------- */
.mac-lookup { margin: 1.5rem 0 2rem; }
.mac-lookup-form label { display: block; font-weight: 600; margin-bottom: .4rem; }
.mac-lookup-row { display: flex; gap: .5rem; max-width: 36rem; }
.mac-lookup-row input { flex: 1; min-width: 0; padding: .75rem .9rem; font: inherit; border: 1px solid #c9ced3; border-radius: var(--radius); background: #fff; color: var(--ink); }
.mac-lookup-row input:focus { border-color: var(--accent); outline: 2px solid var(--accent-tint); }
.mac-lookup-row button { padding: .75rem 1.2rem; border: 0; border-radius: var(--radius); background: var(--accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.mac-lookup-row button:hover { background: var(--accent-dark); }
.mac-lookup-help { margin: .5rem 0 0; font-size: .88rem; color: var(--muted); }
.mac-lookup-compact { margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.mac-lookup-count { margin: 1.5rem 0 .75rem; color: var(--muted); font-size: .95rem; }
.mac-card { border: 1px solid var(--rule); border-radius: 14px; padding: 1.4rem 1.6rem; margin: 0 0 1.25rem; }
.mac-card h2 { margin: 0 0 1rem !important; font-size: 1.3rem; }
.mac-card h3 { margin: 1.25rem 0 .5rem; font-size: 1rem; }
.mac-card-match { margin: 0 0 .25rem; font-size: .85rem; color: var(--accent); font-weight: 600; }
.mac-specs { margin: 0 !important; }
.mac-card-links { list-style: none; padding: 0 !important; margin: 0; columns: 2 14rem; column-gap: 1.5rem; }
.mac-card-links li { break-inside: avoid; padding: .3rem 0; margin: 0; }
.mac-card-price { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.mac-card-part { display: block; font-size: .82rem; color: var(--muted); }
.mac-lookup-note { background: var(--tint); border-radius: 14px; padding: 1.25rem 1.5rem; margin-top: 1.25rem; }
.mac-lookup-note h2 { margin-top: 0 !important; font-size: 1.2rem; }

/* ---------- Related page links ---------- */
.section-links { max-width: var(--measure); margin-top: 3.5rem; display: grid; gap: 2rem; }
.link-group h2 { font-size: .9rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin: 0 0 .5rem; text-transform: none; }
.link-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); column-gap: 1.5rem; border-top: 1px solid var(--rule); }
.link-rows li { margin: 0; border-bottom: 1px solid var(--rule); }
.link-rows a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .7rem .1rem; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
}
.link-rows a::after {
  content: ""; flex: none; width: .45rem; height: .45rem; margin-right: .2rem;
  border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg);
}
.link-rows a:hover { color: var(--accent); }
.link-rows a:hover::after { border-color: var(--accent); }

/* ---------- Page banner ---------- */
.page-banner { height: clamp(90px, 14vw, 160px); overflow: hidden; background: var(--tint); margin-top: 1.5rem; border-radius: var(--radius); }
.page-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Dark header (for a light/white logo) ---------- */
.header-dark .site-header { background: var(--header-bg); border-bottom-color: transparent; }
.header-dark .brand, .header-dark .brand:hover, .header-dark .primary-nav a, .header-dark .submenu-toggle { color: #fff; }
.header-dark .primary-nav { border-top-color: rgba(255,255,255,.14); }
.header-dark .primary-nav a:hover, .header-dark .primary-nav .current-menu-item > a, .header-dark .primary-nav .current-menu-ancestor > a, .header-dark .primary-nav .current-page-ancestor > a { color: var(--accent-on-dark); }
.header-dark .primary-nav > ul > li.current-menu-ancestor > a, .header-dark .primary-nav > ul > li.current-page-ancestor > a, .header-dark .primary-nav > ul > li.current-menu-item > a { box-shadow: inset 0 -2px 0 var(--accent-on-dark); }
.header-dark .primary-nav .sub-menu { background: var(--header-bg); border-color: rgba(255,255,255,.14); }
.header-dark .primary-nav .sub-menu a:hover { background: rgba(255,255,255,.08); }
.header-dark .menu-toggle { color: #fff; border-color: rgba(255,255,255,.3); }
.header-dark .header-call { box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.header-dark .brand-mark { background: var(--accent-on-dark); }
@media (max-width: 900px) { .header-dark .primary-nav > ul > li { border-bottom-color: rgba(255,255,255,.14); } }

/* ---------- Content ---------- */
.site-main { padding-bottom: 3.5rem; }
.entry-content { max-width: var(--measure); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 1.1rem; }
.entry-content h2 { font-size: 1.45rem; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; margin: 3rem 0 .9rem; text-wrap: balance; }
.entry-content h3 { font-size: 1.12rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; margin: 1.9rem 0 .5rem; }
.entry-content h4 { font-size: 1.05rem; line-height: 1.4; font-weight: 600; margin: 1.6rem 0 .35rem; }
.entry-content h4 + p { color: var(--muted); }
.entry-content h1 { font-size: 1.75rem; line-height: 1.2; } /* only if an extra H1 slips into content */
.entry-content ul, .entry-content ol { padding-left: 1.25rem; }
.entry-content li { margin-bottom: .4rem; }
.entry-content li::marker { color: var(--accent); }
.entry-content strong { font-weight: 600; }
.entry-content > p:first-child, .entry-content > .alignright + p { font-size: 1.125rem; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: .975rem; }
.entry-content th, .entry-content td { text-align: left; vertical-align: top; padding: .6rem .75rem .6rem 0; border-bottom: 1px solid var(--rule); }
.entry-content th { width: 38%; font-weight: 500; color: var(--muted); }
.entry-content blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--accent); color: var(--muted); }
.entry-content img.alignright, .entry-content .alignright { float: right; max-width: 38%; margin: .3rem 0 1rem 1.5rem; border-radius: var(--radius); }
.entry-content img.alignleft, .entry-content .alignleft { float: left; max-width: 38%; margin: .3rem 1.5rem 1rem 0; border-radius: var(--radius); }
.entry-content .aligncenter { display: block; margin: 1.5rem auto; }
.entry-content h2, .entry-content table, .entry-content ul { clear: both; }
@media (max-width: 600px) {
  .entry-content img.alignright, .entry-content img.alignleft, .entry-content .macrepair-header img, .entry-content .macrepair-hero {
    float: none; display: block; max-width: 70%; margin: 0 0 1.25rem;
  }
}

/* Calm down the inline card styles used on the older iMac page */
.entry-content .macrepair-container { max-width: none; padding: 0; }
.entry-content .macrepair-header img, .entry-content .macrepair-hero { max-width: 38%; float: right; margin: 0 0 1rem 1.5rem; border-radius: var(--radius); }
.entry-content .macrepair-services, .entry-content .macrepair-models { display: block; margin: 0; }
.entry-content .macrepair-service-col, .entry-content .macrepair-model {
  background: none; border: 0; border-radius: 0; padding: 0; margin: 0; min-width: 0; box-shadow: none; transform: none;
}
.entry-content .macrepair-model { padding: .5rem 0; border-bottom: 1px solid var(--rule); }
.entry-content .macrepair-model h3 { margin: 0; font-size: 1rem; }
.entry-content .macrepair-model:hover { transform: none; box-shadow: none; }
.entry-content .macrepair-year { background: none; color: var(--muted); padding: 0; font-size: 1em; font-weight: 400; margin-right: .5rem; border-radius: 0; }
.entry-content .macrepair-cta { background: var(--tint); color: var(--ink); text-align: left; border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.entry-content .macrepair-cta a { color: var(--accent); }
.entry-content .macrepair-phone { font-size: 1.3rem; }

/* Forms (Contact Form 7 and others) */
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"], .entry-content textarea, .entry-content select {
  width: 100%; padding: .7rem .8rem; font: inherit; color: var(--ink);
  border: 1px solid #c9ced3; border-radius: var(--radius); background: #fff;
}
.entry-content input:focus, .entry-content textarea:focus, .entry-content select:focus { border-color: var(--accent); outline: 2px solid var(--accent-tint); }
.entry-content input[type="submit"], .button {
  display: inline-block; padding: .75rem 1.25rem; border: 0; border-radius: var(--radius);
  background: var(--accent); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.entry-content input[type="submit"]:hover, .button:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.button-quiet { background: none; color: var(--accent); padding-left: 0; padding-right: 0; }
.button-quiet:hover { background: none; color: var(--accent-dark); text-decoration: underline; }

/* ---------- Layout: content + fixed right-hand form ---------- */
.site-body { padding-bottom: 3.5rem; }
.site-body .wrap { max-width: none; padding-left: 0; padding-right: 0; }
.site-main { min-width: 0; padding-bottom: 0; }
@media (min-width: 860px) {
  .site-body { display: grid; grid-template-columns: minmax(0, 1fr) clamp(16.5rem, 28vw, 21.5rem); gap: clamp(2rem, 3.5vw, 3.5rem); align-items: start; }
  .header-quote { display: none; }
  .header-call, .header-quote + .header-call { margin-left: auto; }
}
.site-aside { margin-top: 3rem; scroll-margin-top: 5rem; }
@media (min-width: 860px) {
  .site-aside { margin-top: 1.5rem; }
}
.aside-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 1.6rem; box-shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 12px 32px -12px rgba(15, 27, 45, .12); }
.aside-card h2 { margin: 0 0 .25rem; font-size: 1.3rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; }
.aside-lead { margin: 0 0 .75rem; color: var(--muted); font-size: .95rem; }
.aside-phone { display: block; margin-bottom: 1rem; color: var(--ink); text-decoration: none; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.aside-phone:hover { color: var(--accent); text-decoration: none; }
.aside-note { margin: 1rem 0 0; font-size: .85rem; line-height: 1.5; color: var(--muted); }
.aside-email { display: inline-block; margin: .15rem 0 1rem; font-size: .95rem; }

/* Contact form */
.contact-form p { margin: 0; }
.contact-form br { display: none; }
.contact-form label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
.contact-form .wpcf7-form-control-wrap { display: block; margin-bottom: .7rem; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea, .contact-form select {
  width: 100%; padding: .65rem .8rem; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid #c9ced3; border-radius: var(--radius); background: #fff;
}
.contact-form textarea { min-height: 6.5rem; height: 6.5rem; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent-tint); }
.contact-form input[type="submit"] {
  width: 100%; padding: .8rem 1.5rem; border: 0; border-radius: var(--radius); background: var(--accent); color: #fff;
  font: inherit; font-weight: 700; cursor: pointer;
}
.contact-form input[type="submit"]:hover { background: var(--accent-dark); }
.contact-form .wpcf7-not-valid-tip { color: #b42318; font-size: .875rem; margin-top: .25rem; }
.contact-form .wpcf7-response-output { margin: 1rem 0 0 !important; padding: .75rem 1rem !important; border-radius: var(--radius); font-size: .95rem; }
.contact-form .wpcf7-spinner { vertical-align: middle; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #c7ced6; font-size: .95rem; padding: 3rem 0 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 2rem; }
.site-footer li a { color: #c7ced6; text-decoration: none; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: .95rem; font-weight: 600; margin: 0 0 .75rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .35rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .875rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer-bottom img { display: none; } /* hide the statcounter pixel */

/* ---------- Front page ---------- */
.home-hero { padding: clamp(2rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem 3rem; align-items: center; }
.hero-image { max-width: 36rem; }
.hero-image img { display: block; width: 100%; height: auto; border-radius: var(--radius); }

.home-hero h1 { margin: 0 0 1rem; max-width: 16ch; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.home-hero .lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); max-width: 38rem; margin: 0 0 .75rem; }
.home-hero .intro { color: var(--muted); max-width: 40rem; margin: 0 0 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.home-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem 2.5rem; padding-top: 3rem; padding-bottom: 3rem; }
.home-points h2 { font-size: 1.1rem; font-weight: 600; margin: 0 0 .4rem; }
.home-points p { margin: 0; color: var(--muted); }
.home-models { padding-top: 3rem; padding-bottom: 3rem; }
.home-models h2 { font-size: 1.5rem; margin: 0 0 1.25rem; }
.model-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0 2rem; }
.model-links a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 500; }
.model-links a:hover { color: var(--accent); }
.home-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.5rem 3rem; padding-top: 3rem; padding-bottom: 3rem; }
.home-points, .home-models, .home-section, .home-hero { border-bottom: 1px solid var(--rule); background: none; }
.home-section:last-of-type { border-bottom: 0; }
.section-image img { display: block; width: 100%; max-width: 32rem; height: auto; border-radius: var(--radius); margin-bottom: 1.25rem; }

.home-section h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 600; }
.home-section p { margin: 0 0 1rem; color: var(--muted); }
@media (max-width: 760px) { .home-section { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.not-found { padding: 4rem 0; }
@media (max-width: 360px) { .brand { font-size: .92rem; } .brand-mark { margin-right: .4rem; } .header-quote, .header-call, .menu-toggle { font-size: .9rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .site-aside, .site-footer { display: none; } }
