/*
Theme Name: LogicRepairs
Theme URI: https://logicrepairs.co.uk
Author: LogicRepairs
Description: Custom theme for LogicRepairs — UK electronics repair and WooCommerce store. Primary colour #086AD8 with clean white layouts and black text.
Version: 1.8.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: logicrepairs
Tags: custom-menu, featured-images, woocommerce, full-width-template

LogicRepairs — Unit 3, Valley Line Industrial Park, Cheddar
*/

/* -------------------------------------------------------------------------
   CSS variables & reset
   ------------------------------------------------------------------------- */
:root {
  --lr-primary: #086ad8;
  --lr-primary-dark: #0658b8;
  --lr-primary-soft: rgba(8, 106, 216, 0.08);
  --lr-black: #111111;
  --lr-text: #111111;
  --lr-muted: #4a4a4a;
  --lr-white: #ffffff;
  --lr-border: #e8e8e8;
  --lr-radius: 10px;
  --lr-radius-sm: 6px;
  --lr-shadow: 0 8px 30px rgba(17, 17, 17, 0.06);
  --lr-header-h: 72px;
  --lr-max: 1180px;
  --lr-font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--lr-font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--lr-text);
  background: var(--lr-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--lr-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------
   Layout utilities
   ------------------------------------------------------------------------- */
.container {
  width: min(100% - 2rem, var(--lr-max));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, 760px);
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
}

.screen-reader-text {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* -------------------------------------------------------------------------
   Top info bar + header group
   Default: whole header sticky (mobile / pages without store dock).
   Desktop + store dock: upper rows scroll away; search + categories stay sticky.
   ------------------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
}

body.admin-bar .site-head {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-head {
    top: 46px;
  }
}

@media (min-width: 960px) {
  .site-head:has(.site-head__sticky-dock) {
    position: relative;
    top: auto;
    z-index: 20;
  }

  body.admin-bar .site-head:has(.site-head__sticky-dock) {
    top: auto;
  }

  .site-head__sticky-dock {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--lr-white);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  }

  body.admin-bar .site-head__sticky-dock {
    top: 32px;
  }
}


.top-bar {
  background: var(--lr-primary);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8125rem;
  line-height: 1.35;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.top-bar a:hover {
  text-decoration: underline;
}

.top-bar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.45rem 0;
  min-height: 2.25rem;
}

.top-bar__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.1rem;
  min-width: 0;
}

.top-bar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.top-bar__item--location {
  flex: 1 1 auto;
  min-width: 0;
}

.top-bar__map-link {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Location scrolls in-page to footer map — no underline on hover (keep underline for other top-bar links). */
.top-bar__map-link:hover,
.top-bar__map-link:focus-visible {
  text-decoration: none;
  opacity: 0.92;
}

.top-bar__svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0.95;
}

@media (max-width: 639px) {
  .top-bar__inner {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .top-bar__right {
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 0.15rem;
  }

  .top-bar__item--hours {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .top-bar {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .top-bar__inner {
    padding-block: 0.35rem;
    gap: 0.35rem 0.65rem;
  }

  .top-bar__left {
    gap: 0.4rem 0.75rem;
  }

  .lr-store-promo {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .lr-store-promo__inner {
    padding-block: 0.38rem;
    gap: 0.4rem 0.85rem;
  }

  .site-header__search-row-inner {
    padding-block: 0.45rem 0.5rem;
  }

  .lr-product-search__input {
    font-size: 0.88rem !important;
    padding-inline: 0.75rem !important;
  }
}

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--lr-border);
  box-shadow: 0 1px 0 rgba(8, 106, 216, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
}

/* Store announcement (optional — Customizer → Store header) */
.lr-store-promo {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lr-store-promo__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  padding: 0.45rem 0;
  text-align: center;
}

.lr-store-promo__text {
  margin: 0;
}

.lr-store-promo__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lr-store-promo__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.78rem;
  text-decoration: none !important;
  white-space: nowrap;
}

.lr-store-promo__cta:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Store header: hide long logo tagline so logo/search/actions align */
.logicrepairs-woocommerce-active .site-header .site-description {
  display: none !important;
}

.logicrepairs-woocommerce-active .site-branding {
  display: flex;
  align-items: center;
}

.site-header__primary-inner .site-branding .site-title {
  margin: 0;
}

.site-header__primary {
  position: relative;
  /*
   * Above .site-head__sticky-dock (z-index: 100) so the mini-cart dropdown is not covered by
   * the search row + category bar (siblings below in the DOM). Also above .lr-store-mega (6).
   */
  z-index: 110;
}

/* Cart / checkout: blocks and sticky columns can use high z-index; keep header + mini-cart on top */
body.lr-checkout-shell .site-header__primary,
body.lr-cart-shell .site-header__primary {
  z-index: 400;
}

body.lr-checkout-shell .lr-mini-cart__panel,
body.lr-cart-shell .lr-mini-cart__panel {
  z-index: 600;
}

.site-header__primary-inner {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem 1.25rem;
  min-height: var(--lr-header-h);
  padding-block: 0.65rem;
}

.site-header__site-nav {
  display: none;
  justify-self: center;
  width: 100%;
}

@media (max-width: 959px) {
  .site-header__primary-inner {
    grid-template-columns: 1fr auto;
    row-gap: 0;
  }
}

@media (min-width: 960px) {
  .site-header__site-nav {
    display: block;
  }

  .site-header__primary-inner {
    grid-template-columns: minmax(140px, auto) minmax(0, 1fr) auto;
    column-gap: clamp(1rem, 2.5vw, 2rem);
  }
}

/* Second header row — product search (WooCommerce) */
.site-header__search-row {
  border-bottom: 1px solid #e2e8f0;
  background: var(--lr-white);
}

.lr-product-search-wrap {
  position: relative;
  width: 100%;
}

.site-header__search-row-inner {
  padding-block: 0.55rem 0.65rem;
}

.site-header__search-row .site-header__search {
  width: 100%;
  max-width: min(640px, 100%);
  margin-inline: auto;
}

/* Product search (WooCommerce) */
.lr-product-search {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin: 0;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--lr-border);
  background: #f8fafc;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.lr-product-search:focus-within {
  border-color: rgba(8, 106, 216, 0.45);
  box-shadow: 0 0 0 3px var(--lr-primary-soft);
  background: var(--lr-white);
}

.lr-product-search__input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  border: none !important;
  background: transparent !important;
  padding: 0.55rem 1rem !important;
  font: inherit !important;
  font-size: 0.92rem !important;
  color: var(--lr-black) !important;
  box-shadow: none !important;
}

.lr-product-search__input::placeholder {
  color: #94a3b8;
}

.lr-product-search__input:focus {
  outline: none !important;
}

.lr-product-search__submit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  border: none;
  background: var(--lr-primary);
  color: var(--lr-white);
  cursor: pointer;
  transition: background 0.2s ease;
}

.lr-product-search__submit:hover {
  background: var(--lr-primary-dark);
}

/* Category strip under header */
.lr-store-category-strip {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--lr-border);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.lr-store-category-strip__inner {
  overflow-x: visible;
}

.lr-store-category-strip__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0.55rem 0;
  list-style: none;
}

@media (max-width: 767px) {
  .lr-store-category-strip__inner {
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }

  .lr-store-category-strip__list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-inline-end: 1rem;
  }
}

.lr-store-category-strip__link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lr-black);
  text-decoration: none !important;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.lr-store-category-strip__link:hover {
  background: var(--lr-white);
  border-color: var(--lr-border);
  color: var(--lr-primary);
}

.lr-store-category-strip__link--shop {
  background: var(--lr-white);
  border-color: rgba(8, 106, 216, 0.25);
  color: var(--lr-primary);
}

.site-header__site-nav.main-navigation {
  margin: 0;
  padding: 0;
}

/* ul.menu: WP outputs root menu with class "menu"; submenus use .sub-menu.
   Avoid > ul only — if a plugin wraps the list, flex layout must still apply. */
.site-header__site-nav ul.menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  overflow-x: visible;
  list-style: none;
  margin: 0;
  padding: 0.15rem 0;
}

.header-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--lr-radius-sm);
  border: 1px solid var(--lr-border);
  background: var(--lr-white);
  color: var(--lr-black);
  text-decoration: none !important;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.header-account:hover {
  border-color: var(--lr-primary);
  color: var(--lr-primary);
  background: var(--lr-primary-soft);
}

.header-account__icon {
  display: block;
}

@media (max-width: 639px) {
  .header-account {
    display: none;
  }
}

.site-branding {
  flex-shrink: 0;
}

.site-branding .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.site-branding .custom-logo-link img {
  max-height: 52px;
  width: auto;
}

@media (min-width: 960px) {
  .site-branding .custom-logo-link img {
    max-height: 60px;
  }
}

.site-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-title a {
  color: var(--lr-black);
  text-decoration: none;
}

.site-title a:hover {
  color: var(--lr-primary);
  text-decoration: none;
}

.site-title span.accent {
  color: var(--lr-primary);
}

.site-description {
  margin: 0;
  font-size: 0.8rem;
  color: var(--lr-muted);
  display: none;
}

@media (min-width: 900px) {
  .site-description {
    display: block;
  }
}

.main-navigation--mobile {
  display: block;
}

@media (min-width: 960px) {
  .main-navigation--mobile {
    display: none !important;
  }
}

.site-header__site-nav ul.menu a {
  color: var(--lr-black);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-header__site-nav ul.menu a:hover,
.site-header__site-nav .current-menu-item > a {
  color: var(--lr-primary);
  border-bottom-color: var(--lr-primary);
  text-decoration: none;
}

.main-navigation--mobile ul {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation--mobile a {
  display: block;
  padding: 0.55rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--lr-black);
  text-decoration: none !important;
  border-bottom: 1px solid var(--lr-border);
}

.main-navigation--mobile a:hover {
  color: var(--lr-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-phone {
  display: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--lr-black);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }
}

.header-phone:hover {
  color: var(--lr-primary);
  text-decoration: none;
}

/* Contact/Mail-in load Bootstrap; reboot underlines all <a>. Header must stay clean. */
.site-header a,
.site-header a:hover,
.site-header a:focus {
  text-decoration: none;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--lr-radius-sm);
  background: var(--lr-primary-soft);
  color: var(--lr-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  position: relative;
}

.cart-link:hover {
  background: var(--lr-primary);
  color: var(--lr-white);
  text-decoration: none;
}

.cart-link__icon {
  display: block;
  flex-shrink: 0;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  background: var(--lr-black);
  color: var(--lr-white);
  border-radius: 999px;
}

/* Header mini-cart (WooCommerce) */
.lr-mini-cart {
  position: relative;
  z-index: 1;
}

button.lr-mini-cart__toggle.cart-link,
.lr-mini-cart__toggle.cart-link {
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.lr-mini-cart__toggle.cart-link:focus-visible {
  outline: 2px solid var(--lr-primary);
  outline-offset: 2px;
}

.lr-mini-cart__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(22rem, calc(100vw - 2rem));
  background: var(--lr-white);
  border: 1px solid var(--lr-border);
  border-radius: var(--lr-radius);
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.14);
  text-align: left;
  font-weight: 400;
  isolation: isolate;
  z-index: 30;
}

.site-header .lr-mini-cart__panel a {
  text-decoration: none;
}

.site-header .lr-mini-cart__panel a:hover {
  text-decoration: underline;
}

.lr-mini-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--lr-primary);
  color: var(--lr-white);
  border-radius: var(--lr-radius) var(--lr-radius) 0 0;
}

.lr-mini-cart__head-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.lr-mini-cart__head-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lr-white) !important;
  white-space: nowrap;
}

.lr-mini-cart__scroll {
  max-height: min(70vh, 22rem);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.75rem 0.85rem;
  -webkit-overflow-scrolling: touch;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--lr-border);
  border-radius: var(--lr-radius-sm);
  background: var(--lr-white);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--lr-black);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--lr-black);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--lr-border);
  background: var(--lr-white);
  padding: 1rem 0 1.25rem;
}

.mobile-nav.is-open {
  display: block;
}

@media (min-width: 960px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav a {
  display: block;
  padding: 0.65rem 0;
  color: var(--lr-black);
  font-weight: 500;
  border-bottom: 1px solid var(--lr-border);
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--lr-primary);
}

/* -------------------------------------------------------------------------
   Buttons & cards
   ------------------------------------------------------------------------- */
.lr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--lr-radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.lr-btn--primary {
  background: var(--lr-primary);
  color: var(--lr-white);
}

.lr-btn--primary:hover {
  background: var(--lr-primary-dark);
  color: var(--lr-white);
  text-decoration: none;
}

.lr-btn--outline {
  background: transparent;
  color: var(--lr-primary);
  border: 2px solid var(--lr-primary);
}

.lr-btn--outline:hover {
  background: var(--lr-primary-soft);
  text-decoration: none;
}

.lr-card {
  background: var(--lr-white);
  border: 1px solid var(--lr-border);
  border-radius: var(--lr-radius);
  overflow: hidden;
  box-shadow: var(--lr-shadow);
}

.lr-card__body {
  padding: 1.5rem;
}

/* -------------------------------------------------------------------------
   Landing / sections
   ------------------------------------------------------------------------- */
.lr-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: linear-gradient(180deg, var(--lr-primary-soft) 0%, var(--lr-white) 55%);
}

.lr-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .lr-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.lr-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--lr-black);
}

.lr-hero .lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: var(--lr-muted);
}

.lr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lr-media-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--lr-radius);
  background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
  border: 2px dashed rgba(8, 106, 216, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lr-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.lr-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.lr-section--alt {
  background: #fafafa;
  border-block: 1px solid var(--lr-border);
}

.lr-section__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.lr-section__intro {
  margin: 0 0 2rem;
  max-width: 640px;
  color: var(--lr-muted);
}

.lr-grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .lr-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lr-feature {
  padding: 1.5rem;
  border-radius: var(--lr-radius);
  border: 1px solid var(--lr-border);
  background: var(--lr-white);
}

.lr-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--lr-black);
}

.lr-feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--lr-muted);
}

.lr-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--lr-radius-sm);
  background: var(--lr-primary);
  color: var(--lr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* -------------------------------------------------------------------------
   Page header (inner pages)
   ------------------------------------------------------------------------- */
.page-header {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: var(--lr-primary-soft);
  border-bottom: 1px solid var(--lr-border);
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.page-header .subtitle {
  margin: 0.5rem 0 0;
  color: var(--lr-muted);
  max-width: 560px;
}

.page-header--hero .subtitle {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Inner pages — hero banner (About, Repair Services, etc.) */
.page-header--hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(2.75rem, 8vw, 5rem) 0;
  background: linear-gradient(165deg, #fbfcfe 0%, #ffffff 38%, #eef5fc 100%);
  border-bottom: 1px solid var(--lr-border);
}

.page-header__about-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(8, 106, 216, 0.055) 1.5px, transparent 1.5px),
    radial-gradient(circle at 15% 20%, rgba(8, 106, 216, 0.09) 0%, transparent 42%),
    radial-gradient(circle at 88% 75%, rgba(8, 106, 216, 0.06) 0%, transparent 38%);
  background-size:
    28px 28px,
    100% 100%,
    100% 100%;
  pointer-events: none;
}

.page-header__about-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 42%, rgba(255, 255, 255, 0.5) 100%);
  pointer-events: none;
}

.page-header__about-inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin-inline: auto;
}

.page-header__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lr-primary);
}

.page-header--hero .page-header__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--lr-black);
}

.page-header--hero .page-header__title::after {
  content: "";
  display: block;
  width: min(5rem, 28vw);
  height: 4px;
  margin: 1.15rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lr-primary), rgba(8, 106, 216, 0.35));
}

.page-header--hero .page-header__subtitle {
  margin: 1.35rem auto 0;
  max-width: 38rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--lr-muted);
}

/* -------------------------------------------------------------------------
   About Us template
   ------------------------------------------------------------------------- */
.about-page .about-intro,
.services-page .about-intro,
.faq-page .faq-intro,
.mail-in-page .mail-in-intro,
.contact-page .contact-intro,
.terms-page .terms-body {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.about-intro__actions--center {
  justify-content: center;
}

.about-intro__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-intro__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.about-lead {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--lr-muted);
}

.about-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-intro__figure {
  margin: 0;
  border-radius: var(--lr-radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(17, 17, 17, 0.1);
  line-height: 0;
}

.about-intro__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-intro__placeholder {
  min-height: 240px;
}

.about-block__inner {
  max-width: 900px;
  margin-inline: auto;
}

.about-block__head {
  margin-bottom: 2rem;
}

.about-block__head--center {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.about-block__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--lr-black);
}

.about-block__head--center .about-block__lead {
  margin-inline: auto;
}

.about-block__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--lr-muted);
}

.about-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .about-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.about-pillar {
  padding: 1.35rem 1.25rem;
  border-radius: var(--lr-radius);
  border: 1px solid var(--lr-border);
  background: var(--lr-white);
  box-shadow: var(--lr-shadow);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.about-pillar:hover {
  box-shadow: 0 14px 40px rgba(8, 106, 216, 0.12);
  transform: translateY(-2px);
}

.about-pillar__icon {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: var(--lr-primary);
}

.about-pillar__icon .about-icon {
  display: block;
}

.about-pillar h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--lr-black);
}

.about-pillar p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--lr-muted);
}

.about-offer__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .about-offer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-offer__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-offer__grid--six {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .about-offer__grid--six {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-offer__card {
  padding: 1.35rem 1.15rem;
  border-radius: var(--lr-radius);
  border: 1px solid var(--lr-border);
  background: var(--lr-white);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.about-offer__card:hover {
  border-color: rgba(8, 106, 216, 0.35);
  box-shadow: var(--lr-shadow);
}

.about-offer__icon {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: var(--lr-primary);
}

.about-offer__card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--lr-black);
}

.about-offer__card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--lr-muted);
}

.about-global__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .about-global__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 3rem;
  }
}

.about-global__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border-radius: var(--lr-radius);
  background: linear-gradient(145deg, var(--lr-primary-soft) 0%, rgba(8, 106, 216, 0.04) 100%);
  border: 1px solid var(--lr-border);
}

.about-global__globe {
  display: flex;
  color: var(--lr-primary);
  opacity: 0.85;
}

.about-global__globe .about-icon {
  width: 96px;
  height: 96px;
}

.about-global__visual .about-global__img {
  width: 100%;
  height: auto;
  min-height: 180px;
  max-height: min(360px, 50vw);
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.about-global__copy .about-block__title {
  margin-bottom: 1rem;
}

.about-global__copy p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--lr-muted);
}

.about-global__copy .lr-btn {
  margin-top: 0.5rem;
}

.about-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 880px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .about-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.about-step {
  display: flex;
  gap: 0.85rem;
  padding: 1.25rem 1rem;
  position: relative;
}

@media (max-width: 899px) {
  .about-step {
    border-bottom: 1px solid var(--lr-border);
    padding-left: 0;
    padding-right: 0;
  }

  .about-step:last-child {
    border-bottom: none;
  }
}

.about-step__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--lr-primary);
  color: var(--lr-white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-step h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--lr-black);
}

.about-step p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--lr-muted);
}

.about-editor-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.about-editor__title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.about-page .lr-reveal,
.services-page .lr-reveal,
.faq-page .lr-reveal,
.mail-in-page .lr-reveal,
.contact-page .lr-reveal,
.terms-page .lr-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-page .lr-reveal.is-visible,
.services-page .lr-reveal.is-visible,
.faq-page .lr-reveal.is-visible,
.mail-in-page .lr-reveal.is-visible,
.contact-page .lr-reveal.is-visible,
.terms-page .lr-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.terms-body__inner {
  max-width: 820px;
  margin-inline: auto;
}

.terms-card__body h2 {
  margin-top: 1.75rem;
  font-size: 1.15rem;
  color: var(--lr-black);
}

.terms-card__body h2:first-of-type {
  margin-top: 0;
}

.terms-doc-heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lr-black);
}

/* Repair Services template */
.services-extra__inner {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin-inline: auto;
}

@media (min-width: 720px) {
  .services-extra__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.services-extra__text {
  margin: 0 0 1.15rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--lr-muted);
}

.services-extra__col .about-block__title {
  margin-bottom: 0.65rem;
}

.services-cta__box {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.services-cta__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--lr-black);
}

.services-cta__lead {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--lr-muted);
}

/* -------------------------------------------------------------------------
   Entry content
   ------------------------------------------------------------------------- */
.entry-content {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--lr-black);
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-top: 0;
  margin-bottom: 1rem;
}

.entry-content a {
  font-weight: 500;
}

/* FAQ / native Details blocks in content */
.entry-content details {
  border: 1px solid var(--lr-border);
  border-radius: var(--lr-radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--lr-white);
}

.entry-content details summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
}

.entry-content details > *:not(summary) {
  padding: 0 1.25rem 1.25rem;
  color: var(--lr-muted);
  border-top: 1px solid var(--lr-border);
}

.lr-faq-item {
  border: 1px solid var(--lr-border);
  border-radius: var(--lr-radius);
  margin-bottom: 0.85rem;
  overflow: hidden;
  background: var(--lr-white);
  box-shadow: var(--lr-shadow);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.lr-faq-item:hover {
  border-color: rgba(8, 106, 216, 0.18);
}

.lr-faq-item[open] {
  border-color: rgba(8, 106, 216, 0.28);
  box-shadow: 0 12px 36px rgba(17, 17, 17, 0.09);
}

.lr-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.35rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--lr-black);
  cursor: pointer;
  list-style: none;
  transition: background 0.15s ease;
}

.lr-faq-item summary:hover {
  background: rgba(8, 106, 216, 0.045);
}

.lr-faq-item summary:focus-visible {
  outline: 2px solid var(--lr-primary);
  outline-offset: -2px;
}

.lr-faq-item summary::-webkit-details-marker {
  display: none;
}

.lr-faq-item summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.55;
  transition: transform 0.2s ease;
}

.lr-faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.lr-faq-item .lr-faq-body {
  padding: 0 1.35rem 1.35rem;
  color: var(--lr-muted);
  border-top: 1px solid var(--lr-border);
  background: linear-gradient(180deg, rgba(8, 106, 216, 0.02) 0%, transparent 100%);
}

.lr-faq-item .lr-faq-body p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.lr-faq-item .lr-faq-body p:last-child {
  margin-bottom: 0;
}

/* FAQ page */
.faq-intro__inner {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.faq-intro__lead {
  margin-bottom: 1.25rem;
}

.faq-intro__actions {
  justify-content: center;
}

.faq-list-section .container {
  max-width: min(100% - 2rem, 720px);
}

.faq-list-section__head {
  margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
}

.faq-list-section__head .about-block__lead {
  max-width: 36rem;
  margin-inline: auto;
}

.faq-list {
  max-width: 100%;
  margin-inline: auto;
}

.faq-list-section .lr-faq-item:last-child {
  margin-bottom: 0;
}

.faq-editor .lr-form-note {
  margin-bottom: 0;
}

/* Mail-in page */
.mail-in-intro__inner {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.mail-in-intro__lead {
  margin-bottom: 1.25rem;
}

.mail-in-intro__actions {
  justify-content: center;
}

.mail-in__grid {
  display: grid;
  gap: 2.25rem;
  align-items: start;
  max-width: 960px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .mail-in__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2.75rem;
  }
}

.mail-in__heading {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--lr-black);
}

.mail-in__embed-intro {
  margin: 0 0 1.15rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--lr-muted);
}

.mail-in__list {
  margin: 0 0 1.75rem;
  padding-left: 1.2rem;
  color: var(--lr-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.mail-in__list li {
  margin-bottom: 0.65rem;
}

.mail-in__list li:last-child {
  margin-bottom: 0;
}

.mail-in__steps-desc-wrap {
  margin: 0 0 1.75rem;
}

.mail-in__steps-desc {
  margin: 0 0 0.85rem;
  color: var(--lr-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.mail-in__steps-desc:last-child {
  margin-bottom: 0;
}

.mail-in-address__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--lr-black);
}

.mail-in-address__lines {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--lr-muted);
}

.mail-in-address__note {
  margin-bottom: 0;
}

.mail-in-embed-card iframe {
  max-width: 100%;
  display: block;
}

.mail-in-embed-card__body > :first-child {
  margin-top: 0;
}

.mail-in-embed-card__body > :last-child {
  margin-bottom: 0;
}

.mail-in-embed-placeholder p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--lr-muted);
}

.mail-in-embed-placeholder p:last-child {
  margin-bottom: 0;
}

.mail-in-embed-placeholder strong {
  color: var(--lr-black);
}

.mail-in-editor-notes {
  margin-bottom: 1.5rem;
}

.mail-in-editor-notes:last-child {
  margin-bottom: 0;
}

.mail-in-embed-card .mailin-widget-root {
  margin-top: 0;
}

.mail-in-form-error {
  border-color: #f5c6cb;
  background: #fdf3f4;
}

.mail-in-form-error p {
  margin: 0 0 0.5rem;
  color: var(--lr-muted);
}

.mail-in-form-error p:last-child {
  margin-bottom: 0;
}

/* Mail-in: Address / Maps tabs */
.mail-in-loc-tabs {
  overflow: hidden;
  margin-top: 0.25rem;
}

.mail-in-loc-tabs .lr-tab-list {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--lr-border);
  padding: 0 1rem;
  background: var(--lr-white);
}

.mail-in-loc-tabs .lr-tab-btn {
  flex: 1;
  max-width: 50%;
  padding: 1rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lr-primary);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.mail-in-loc-tabs .lr-tab-btn:hover {
  background: rgba(8, 106, 216, 0.04);
}

.mail-in-loc-tabs .lr-tab-btn.is-active {
  border-bottom-color: var(--lr-primary);
  color: var(--lr-primary);
}

.mail-in-loc-tabs__body {
  padding-top: 1.35rem !important;
}

.mail-in-loc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mail-in-loc-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.35rem;
}

.mail-in-loc-row:last-of-type {
  margin-bottom: 0;
}

.mail-in-loc-blob {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--lr-white);
  color: var(--lr-primary);
  box-shadow: 0 6px 22px rgba(17, 17, 17, 0.08);
  border: 1px solid rgba(8, 106, 216, 0.12);
}

.mail-in-loc__svg {
  display: block;
}

.mail-in-loc-copy {
  min-width: 0;
  padding-top: 0.15rem;
}

.mail-in-loc-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lr-black);
  margin-bottom: 0.35rem;
}

.mail-in-loc-value {
  display: block;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--lr-muted);
}

.mail-in-loc-value--link {
  color: var(--lr-primary);
  font-weight: 600;
  text-decoration: none;
}

.mail-in-loc-value--link:hover {
  text-decoration: underline;
}

.mail-in-loc-note {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.mail-in-map-embed iframe {
  display: block;
  width: 100% !important;
  min-height: 300px;
  border: 0 !important;
  border-radius: var(--lr-radius-sm);
}

.mail-in-map-external {
  margin: 1rem 0 0;
  text-align: center;
}

.mail-in-map-external .lr-btn {
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
}

.mail-in-map-fallback {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}

.mail-in-map-fallback p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--lr-muted);
  line-height: 1.55;
}

/* Form wrapper — paste your HTML forms inside */
.lr-form-wrap {
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--lr-radius);
  border: 1px solid var(--lr-border);
  background: var(--lr-white);
  box-shadow: var(--lr-shadow);
}

.lr-form-wrap form input[type="text"],
.lr-form-wrap form input[type="email"],
.lr-form-wrap form input[type="tel"],
.lr-form-wrap form textarea,
.lr-form-wrap form select {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--lr-border);
  border-radius: var(--lr-radius-sm);
  font: inherit;
  margin-bottom: 1rem;
}

.lr-form-wrap form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.lr-form-note {
  font-size: 0.9rem;
  color: var(--lr-muted);
  margin-bottom: 1rem;
}

/* -------------------------------------------------------------------------
   Services list
   ------------------------------------------------------------------------- */
.lr-services-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .lr-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lr-service-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem;
  border-radius: var(--lr-radius);
  border: 1px solid var(--lr-border);
  background: var(--lr-white);
}

@media (max-width: 500px) {
  .lr-service-card {
    grid-template-columns: 1fr;
  }
}

.lr-service-card__img {
  aspect-ratio: 1;
  border-radius: var(--lr-radius-sm);
  background: var(--lr-primary-soft);
  border: 2px dashed rgba(8, 106, 216, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--lr-muted);
  text-align: center;
  padding: 0.5rem;
}

.lr-service-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.lr-service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--lr-muted);
}

/* WooCommerce store styles: assets/css/woocommerce.css */

/* -------------------------------------------------------------------------
   Footer — navy band + black legal bar (v1.2)
   ------------------------------------------------------------------------- */
/* Anchor target for top-bar location link (sticky header offset) */
#lr-footer-map {
  scroll-margin-top: clamp(5rem, 12vh, 9rem);
}

.site-footer {
  margin-top: auto;
  color: #cbd5e1;
}

.site-footer a {
  color: #f1f5f9;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--lr-primary);
  text-decoration: underline;
}

.footer-main {
  background: #001a41;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-main__grid {
  display: grid;
  gap: 2.25rem;
  padding: 2.75rem 0 3rem;
  /* Default grid stretch makes every column as tall as the tallest (e.g. Trustindex) — large empty band under shorter columns */
  align-items: start;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .footer-main__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }

  .footer-col--map {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .footer-main__grid {
    /* Brand | Contact | Nav | Map | Secure checkout */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(260px, 1.45fr) minmax(148px, 0.95fr);
    gap: 2.5rem;
    padding: 3.25rem 0 3.5rem;
  }
}

@media (min-width: 1280px) {
  .footer-main__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(300px, 1.55fr) minmax(160px, 1fr);
  }
}

/* Far-right payment strip */
.footer-col--payments {
  text-align: right;
}

.lr-footer-payments__lead {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #94a3b8;
}

.lr-footer-payments__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lr-pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.lr-pay-logo svg {
  display: block;
  width: auto;
  max-width: 2.65rem;
  height: 0.95rem;
  filter: grayscale(1);
  opacity: 0.92;
}

.lr-pay-logo--mastercard svg {
  max-width: 2.1rem;
  height: 1.05rem;
}

.lr-pay-logo--applepay svg {
  max-width: 2.85rem;
  height: 0.88rem;
}

.lr-pay-logo--googlepay svg {
  max-width: 2.85rem;
  height: 0.88rem;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .footer-col--payments {
    grid-column: 1 / -1;
    text-align: center;
  }

  .lr-footer-payments__badges {
    justify-content: center;
  }
}

.footer-heading {
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

/* Brand column */
.footer-brand__logo {
  margin-bottom: 1rem;
}

.footer-custom-logo .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.footer-custom-logo img {
  max-height: 52px;
  width: auto;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
}

.footer-logo-img {
  max-height: 64px;
  width: auto;
  display: block;
}

@media (min-width: 1024px) {
  .footer-logo-img {
    max-height: 76px;
  }
}

.footer-site-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer-site-title .accent {
  color: var(--lr-primary);
}

.footer-tagline {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-blurb {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #94a3b8;
}

.footer-reviews-widget {
  margin-top: 0.5rem;
  padding: 1rem;
  border-radius: var(--lr-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

/* Full-width row under the main footer columns — keeps Trustindex / wide embeds off the logo column */
.footer-main__reviews-wide {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0 2.5rem;
}

.footer-reviews-widget--footer-row {
  margin-top: 0;
  margin-inline: auto;
  max-width: min(100%, 960px);
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

.footer-reviews-widget iframe {
  max-width: 100%;
}

/* Trustindex — summary strip (layout uses .ti-profile-details; not always nested under .ti-header) */
.footer-main__reviews-wide .ti-widget .ti-profile-details > .ti-name,
.footer-main__reviews-wide .ti-widget .ti-profile-details .ti-rating-text,
.footer-main__reviews-wide .ti-widget .ti-profile-details .ti-rating-text .nowrap,
.footer-main__reviews-wide .ti-widget .ti-profile-details .ti-rating-text strong,
.footer-main__reviews-wide .ti-widget .ti-profile-details .ti-rating-text span {
  color: #f8fafc !important;
}

/* Alternate Trustindex layouts where summary stays under .ti-header */
.footer-main__reviews-wide .ti-widget .ti-header,
.footer-main__reviews-wide .ti-widget .ti-header .ti-name,
.footer-main__reviews-wide .ti-widget .ti-header .ti-text,
.footer-main__reviews-wide .ti-widget .ti-header .ti-rating-text,
.footer-main__reviews-wide .ti-widget .ti-header .ti-rating-text strong,
.footer-main__reviews-wide .ti-widget .ti-header .ti-profile-details,
.footer-main__reviews-wide .ti-widget .ti-header .ti-row:not(.ti-write-btn-container) {
  color: #f8fafc !important;
}

/* Contact column */
.footer-contact-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.footer-contact-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #e2e8f0;
}

.footer-contact-row:last-child {
  margin-bottom: 0;
}

.footer-contact__icon {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: var(--lr-primary);
  opacity: 0.95;
}

.footer-contact-row a {
  color: #e2e8f0;
  font-weight: 500;
  text-decoration: none !important;
}

/* Match row text; avoid global footer / Bootstrap link hover (blue + underline). */
.footer-contact-row a:hover,
.footer-contact-row a:focus {
  color: #f8fafc;
  text-decoration: none !important;
}

.footer-contact-cta {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-cta__text {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--lr-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.footer-btn-outline .footer-contact__icon {
  margin-top: 0;
  color: #fff;
}

.footer-btn-outline:hover {
  background: rgba(8, 106, 216, 0.25);
  border-color: var(--lr-primary);
  color: #fff !important;
  transform: translateY(-1px);
}

/* Nav columns */
.footer-col--navsplit {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .footer-col--navsplit {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.footer-nav-block .footer-heading {
  margin-bottom: 0.85rem;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 0.45rem;
  padding-left: 0.65rem;
  border-left: 2px solid rgba(8, 106, 216, 0.45);
}

.footer-menu a {
  font-size: 0.9rem;
  color: #cbd5e1 !important;
}

.footer-menu a:hover {
  color: #fff !important;
}

.footer-menu--services li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-left: 0;
  border-left: none;
}

.footer-menu--services .footer-svc-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
}

.footer-menu--services .footer-svc-icon svg {
  display: block;
}

/* Find us — heading + map share the same inset so edges line up */
.footer-col--map {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .footer-col--map {
    --lr-footer-map-nudge: clamp(0.75rem, 5vw, 2.25rem);
  }

  .footer-col--map .footer-heading {
    margin-inline-start: var(--lr-footer-map-nudge);
    width: calc(100% - var(--lr-footer-map-nudge));
    max-width: 100%;
    box-sizing: border-box;
  }

  .footer-col--map .footer-map-wrap {
    margin-inline-start: var(--lr-footer-map-nudge);
    width: calc(100% - var(--lr-footer-map-nudge));
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Map — lower height + wider column gives the embed a landscape viewport (helps place/reviews UI) */
.footer-map-wrap {
  border-radius: var(--lr-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  min-height: 0;
}

.footer-map-embed {
  position: relative;
  width: 100%;
  height: 212px;
}

.footer-map-embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 640px) {
  .footer-map-embed {
    height: 228px;
  }
}

@media (min-width: 1024px) {
  .footer-map-embed {
    height: 248px;
  }
}

@media (min-width: 1280px) {
  .footer-map-embed {
    height: 256px;
  }
}

.footer-map-external {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-map-placeholder {
  padding: 1.5rem;
  text-align: center;
}

.footer-map-placeholder p {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-map-link {
  font-size: 0.88rem !important;
}

/* Black sub-footer */
.footer-sub {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem 0 1.25rem;
}

.footer-sub__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-sub__left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #ffffff;
}

.footer-copyright {
  color: #ffffff;
}

.footer-company-link {
  font-size: 0.76rem;
  font-weight: 500;
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.footer-company-link:hover {
  color: #ffffff !important;
  text-decoration-color: rgba(255, 255, 255, 0.85);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.footer-legal a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff !important;
  text-decoration: none !important;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* -------------------------------------------------------------------------
   Motion — scroll reveal & hero imagery (v1.1)
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .lr-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .lr-reveal .lr-reveal-stagger {
    opacity: 1 !important;
    transform: none !important;
  }
}

.lr-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.lr-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.lr-reveal .lr-reveal-stagger {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hero & split sections: stagger columns inside .lr-hero__grid */
.lr-reveal.is-visible .lr-hero__grid > .lr-reveal-stagger:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.06s;
}

.lr-reveal.is-visible .lr-hero__grid > .lr-reveal-stagger:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.14s;
}

/* Feature cards row */
.lr-reveal.is-visible .lr-grid-3--stagger > .lr-reveal-stagger:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.06s;
}

.lr-reveal.is-visible .lr-grid-3--stagger > .lr-reveal-stagger:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.14s;
}

.lr-reveal.is-visible .lr-grid-3--stagger > .lr-reveal-stagger:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.22s;
}

.lr-hero__figure,
.lr-secondary__figure {
  margin: 0;
  border-radius: var(--lr-radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.12);
  line-height: 0;
}

.lr-hero-thumb,
.lr-secondary-thumb {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (min-width: 880px) {
  .lr-hero-thumb {
    aspect-ratio: 5 / 4;
  }
}

.lr-btn {
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.lr-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(8, 106, 216, 0.35);
}

.lr-card--content {
  transition: box-shadow 0.25s ease;
}

.lr-card--content:hover {
  box-shadow: 0 12px 40px rgba(17, 17, 17, 0.09);
}

.lr-feature {
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.lr-feature:hover {
  border-color: rgba(8, 106, 216, 0.35);
  box-shadow: 0 12px 36px rgba(8, 106, 216, 0.12);
  transform: translateY(-3px);
}

/* Reviews section */
.lr-section--reviews {
  background: linear-gradient(180deg, var(--lr-white) 0%, #f6f9fc 45%, var(--lr-white) 100%);
}

.lr-reviews__head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.lr-section--reviews .lr-section__intro {
  margin-inline: auto;
}

.lr-reviews__panel {
  margin-top: 1.5rem;
  max-width: 960px;
  margin-inline: auto;
}

.lr-reviews__inner {
  min-height: 120px;
}

.lr-reviews__widget iframe {
  max-width: 100%;
}

.lr-reviews__fallback {
  text-align: center;
  padding: 0.5rem 0;
}

.lr-stars {
  font-size: 1.35rem;
  letter-spacing: 0.15em;
  color: #f5a623;
  margin-bottom: 1rem;
}

.lr-star {
  display: inline-block;
  animation: lr-star-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.lr-star:nth-child(1) {
  animation-delay: 0.05s;
}

.lr-star:nth-child(2) {
  animation-delay: 0.1s;
}

.lr-star:nth-child(3) {
  animation-delay: 0.15s;
}

.lr-star:nth-child(4) {
  animation-delay: 0.2s;
}

.lr-star:nth-child(5) {
  animation-delay: 0.25s;
}

@keyframes lr-star-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lr-reviews__fallback-text {
  margin: 0 auto 1.25rem;
  max-width: 520px;
  color: var(--lr-muted);
  font-size: 0.95rem;
}

.lr-reviews__cta-wrap {
  margin: 1.5rem 0 0;
  text-align: center;
}

.lr-btn--google {
  border-color: var(--lr-border);
  color: var(--lr-black);
}

.lr-btn--google:hover {
  border-color: var(--lr-primary);
  color: var(--lr-primary);
  background: var(--lr-primary-soft);
}

/* Inner pages: gentle entrance */
.lr-page-surface {
  animation: lr-page-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes lr-page-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
