/* Apex Door Systems — clean, light, navy + orange from the logo */
:root {
  --navy: #0c2142;        /* logo navy: headings, body text */
  --navy-2: #1b3560;      /* hover / secondary dark */
  --steel: #4c5a70;       /* secondary text */
  --line: #d8dee7;        /* borders */
  --mist: #eef2f6;        /* light section background */
  --paper: #ffffff;
  --orange: #f47a12;      /* logo orange: actions and the arc only */
  --orange-dark: #d9650a;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: 112%;           /* headline width, echoes the wide logo letters */

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);

  --radius-lg: 20px;
  --radius-sm: 8px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-stretch: var(--wide); letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  font: 700 var(--step-0)/1 var(--font); font-stretch: 105%;
  text-decoration: none; border-radius: 999px; border: 2px solid transparent; white-space: nowrap;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: var(--step--1); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.brand img { width: 128px; }
.main-nav { display: flex; gap: 24px; margin-left: auto; white-space: nowrap; }
.main-nav a { text-decoration: none; font-weight: 500; color: var(--steel); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--navy); }
.main-nav a[aria-current="page"] { font-weight: 700; box-shadow: inset 0 -3px 0 var(--orange); }
.menu-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  font: 600 var(--step--1) var(--font); color: var(--navy); background: #fff;
  border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .15s;
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -5px; }
.menu-toggle-bars::after { top: 5px; }
.menu-open .menu-toggle-bars { background: transparent; }
.menu-open .menu-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; font-stretch: 105%; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; fill: var(--orange); }

/* Hero */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-place { font-weight: 600; color: var(--steel); margin-bottom: 20px; }
.hero h1 { font-size: var(--step-4); font-weight: 800; max-width: 13ch; }
.hero-lede { margin-top: 24px; font-size: var(--step-1); color: var(--steel); max-width: 34em; line-height: 1.55; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font-weight: 600; font-size: var(--step--1); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

.hero-media { position: relative; padding: 0 0 0 0; }
.hero-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); }
.hero-arc {
  position: absolute; z-index: 0;
  width: 78%; left: -14%; top: -12%;
  fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: butt;
}
.hero-arc path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-arc 1.4s .25s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw-arc { to { stroke-dashoffset: 0; } }

/* Quick help strip */
.quickhelp { background: var(--navy); color: #fff; }
.quickhelp-inner { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.quickhelp-title { font-weight: 700; font-stretch: var(--wide); }
.quickhelp-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.quickhelp-list a {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28); text-decoration: none; font-size: var(--step--1); font-weight: 500;
}
.quickhelp-list a:hover { background: #fff; color: var(--navy); }

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section h2 { font-size: var(--step-3); font-weight: 800; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.section-head p { color: var(--steel); max-width: 34em; }

/* Services */
.repairs {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
  background: var(--mist); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 64px;
}
.repairs img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.repairs-copy { padding: clamp(28px, 4vw, 52px); }
.repairs-copy h3 { font-size: var(--step-2); font-weight: 800; }
.repairs-copy > p { margin-top: 14px; color: var(--steel); }
.repairs-copy .btn { margin-top: 28px; }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z' fill='%230c2142'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.svc-group { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); }
.svc-group-title { font-size: var(--step-2); font-weight: 800; }
.svc-row { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 16px; }
.svc h4 { font-size: var(--step-1); font-weight: 700; }
.svc p { margin-top: 6px; color: var(--steel); font-size: var(--step--1); line-height: 1.55; }

/* Why */
.why { background: var(--mist); }
.why-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); }
.why-intro p { margin-top: 18px; color: var(--steel); max-width: 30em; }
.why-intro .btn { margin-top: 28px; }
.why-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.why-list div { padding-top: 20px; border-top: 2px solid var(--navy); }
.why-list dt { font-size: var(--step-1); font-weight: 700; font-stretch: var(--wide); }
.why-list dd { margin: 10px 0 0; color: var(--steel); }

/* Area */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.area-copy > p { margin-top: 16px; color: var(--steel); max-width: 32em; }
.area-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-top: 32px; }
.area-lists h3 { font-size: var(--step-0); font-weight: 700; }
.area-lists p { margin-top: 6px; font-size: var(--step--1); color: var(--steel); line-height: 1.6; }
.area-note { margin-top: 28px; font-weight: 600; }
.area-map { margin: 0; }
.area-map svg { width: 100%; height: auto; overflow: hidden; background: var(--mist); border-radius: var(--radius-lg); }
.ring { fill: none; }
.ring-inner { stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 4 6; }
.ring-outer { stroke: var(--orange); stroke-width: 10; }
.ring-label { font: 700 15px var(--font); fill: var(--orange-dark); }
.water { font: italic 400 12px var(--font); fill: #8a9bb4; letter-spacing: .04em; text-anchor: middle; }
.dots circle { fill: var(--navy); opacity: .35; }
.labels text { font: 500 11.5px var(--font); fill: var(--steel); }
.home-dot { fill: var(--orange); stroke: #fff; stroke-width: 3; }
.home-label { font: 800 16px var(--font); font-stretch: var(--wide); fill: var(--navy); }

/* Steps */
.steps { background: var(--navy); color: #fff; }
.steps-list { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.steps-list li { counter-increment: step; position: relative; padding-top: 64px; }
.steps-list li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--orange);
  display: grid; place-items: center; font-weight: 800; color: var(--orange);
}
.steps-list li:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; left: 56px; right: -20px; height: 2px; background: rgba(255, 255, 255, 0.18);
}
.steps-list h3 { font-size: var(--step-1); font-weight: 700; }
.steps-list p { margin-top: 8px; color: rgba(255, 255, 255, 0.75); }

/* Brands */
.brands { border-bottom: 1px solid var(--line); }
.brands-inner { display: flex; align-items: center; gap: 24px 48px; padding-top: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.brands h2 { font-size: var(--step-0); font-weight: 600; color: var(--steel); font-stretch: 100%; letter-spacing: 0; }
.brand-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.brand-list li { font-weight: 800; font-stretch: var(--wide); font-size: var(--step-1); color: var(--navy); opacity: .8; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.review { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.review blockquote { margin: 0; font-size: var(--step-0); line-height: 1.6; }
.review figcaption { font-size: var(--step--1); color: var(--steel); }
.review figcaption strong { display: block; color: var(--navy); font-size: var(--step-0); }
.reviews-more {
  display: inline-block; margin-top: 32px; font-weight: 700; text-decoration: none;
  border-bottom: 3px solid var(--orange); padding-bottom: 2px;
}
.reviews-more:hover { color: var(--orange-dark); }

/* Contact */
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-copy > p { margin-top: 16px; color: var(--steel); max-width: 30em; }
.contact-details { margin: 32px 0 0; display: grid; gap: 14px; }
.contact-details div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; font-size: var(--step--1); }
.contact-details dt { font-weight: 700; }
.contact-details dd { margin: 0; color: var(--steel); }
.contact-ways { display: grid; gap: 16px; }
.contact-way {
  display: grid; gap: 6px; padding: clamp(22px, 3vw, 32px);
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--orange);
  border-radius: var(--radius-lg); text-decoration: none; transition: border-color .15s;
}
.contact-way:hover { border-color: var(--navy); border-left-color: var(--orange); }
.contact-way-label { font-weight: 600; color: var(--steel); font-size: var(--step--1); }
.contact-way-value { font-size: var(--step-3); font-weight: 800; font-stretch: var(--wide); line-height: 1.15; }
.contact-way-email { font-size: clamp(1.125rem, 0.9rem + 1vw, 1.625rem); overflow-wrap: anywhere; }
.contact-way-note { color: var(--steel); font-size: var(--step--1); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.78); padding: 64px 0 24px; font-size: var(--step--1); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 150px; background: #fff; padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.site-footer h2 { font-size: var(--step-0); color: #fff; margin-bottom: 10px; }
.site-footer a { text-decoration: none; color: #fff; }
.site-footer a:hover { text-decoration: underline; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); }

/* Mobile call bar */
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .site-header .header-inner { position: relative; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .main-nav { display: none; }
  .menu-open .main-nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
    box-shadow: 0 16px 24px -16px rgba(12, 33, 66, 0.25);
  }
  .menu-open .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--step-0); }
  .menu-open .main-nav a:last-child { border-bottom: 0; }
  .menu-open .main-nav a[aria-current="page"] { box-shadow: none; color: var(--orange-dark); }
}
@media (max-width: 900px) {
  .hero-grid, .why-grid, .area-grid, .contact-grid, .repairs, .section-head { grid-template-columns: 1fr; }
  .hero-media { margin-top: 8px; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .hero-arc { width: 46%; left: auto; right: -8%; top: -16%; }
  .hero h1 { max-width: 16ch; }
  .svc-group { grid-template-columns: 1fr; gap: 20px; }
  .steps-list { grid-template-columns: 1fr 1fr; }
  .steps-list li::after { display: none; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .area-map { max-width: 520px; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 64px; gap: 12px; }
  .brand img { width: 104px; }
  .header-phone { display: none; }
  .svc-row { grid-template-columns: 1fr; gap: 24px; }
  .svc { display: grid; grid-template-columns: 112px 1fr; gap: 0 16px; align-items: start; }
  .svc img { grid-row: span 2; margin: 0; aspect-ratio: 1; }
  .why-list, .area-lists, .steps-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .quickhelp-inner { gap: 14px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-arc path { animation: none; stroke-dashoffset: 0; }
  * { transition: none !important; }
}

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero .hero-grid { grid-template-columns: 1.05fr 1fr; }
.page-hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 800; max-width: 16ch; }
.page-hero .hero-media img { aspect-ratio: 4 / 3; }
.crumbs { font-size: var(--step--1); color: var(--steel); margin-bottom: 18px; }
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--navy); }

.lead { font-size: var(--step-1); color: var(--steel); max-width: 38em; margin-top: 16px; line-height: 1.55; }

/* Fault / feature grid */
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.feature-grid li { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.feature-grid li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.feature-grid h3 { font-size: var(--step-1); font-weight: 700; }
.feature-grid p { margin-top: 8px; color: var(--steel); font-size: var(--step--1); line-height: 1.6; }
.feature-grid a { font-weight: 600; }

/* Alternating image + text rows */
.rows { display: grid; gap: clamp(56px, 7vw, 96px); margin-top: 48px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.row:nth-child(even) .row-media { order: 2; }
.row-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.row h3 { font-size: var(--step-3); font-weight: 800; }
.row-copy > p { margin-top: 14px; color: var(--steel); max-width: 34em; }
.row .ticks { margin-top: 20px; }
.row-meta { margin-top: 22px; font-size: var(--step--1); color: var(--steel); }
.row-meta strong { color: var(--navy); }

/* Servicing band */
.servicing { background: var(--navy); color: #fff; }
.servicing h2 { color: #fff; }
.servicing .lead { color: rgba(255, 255, 255, 0.78); }
.servicing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); margin-top: 48px; align-items: start; }
.servicing h3 { font-size: var(--step-1); font-weight: 700; }
.servicing .ticks li { color: rgba(255, 255, 255, 0.9); }
.plans { display: grid; gap: 16px; }
.plan { padding: 24px 26px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-lg); }
.plan h4 { font-size: var(--step-1); font-weight: 700; }
.plan p { margin-top: 8px; color: rgba(255, 255, 255, 0.75); font-size: var(--step--1); line-height: 1.6; }
.servicing .btn { margin-top: 32px; }

/* Option chips (non-interactive) */
.option-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.option-list li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: var(--step--1); }

/* Callout band */
.callout { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.callout h2 { font-size: var(--step-3); font-weight: 800; }
.callout p { margin-top: 12px; color: var(--steel); }
.callout-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Compare table */
.compare-wrap { margin-top: 36px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--step--1); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--mist); font-weight: 700; color: var(--steel); }
.compare tbody th { font-size: var(--step-0); font-weight: 800; font-stretch: var(--wide); white-space: nowrap; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td { color: var(--steel); line-height: 1.55; }

/* Remotes page: how-to-identify box */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.split h2 { font-size: var(--step-3); font-weight: 800; }
.split p { margin-top: 14px; color: var(--steel); }

/* Section link under a block */
.more-link { display: inline-block; margin-top: 24px; font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--orange); padding-bottom: 2px; }
.more-link:hover { color: var(--orange-dark); }
.svc-group-title a { text-decoration: none; }
.svc-group-title a:hover { color: var(--orange-dark); }
.svc-group-title .more-link { display: inline-block; margin-top: 12px; font-size: var(--step--1); font-stretch: 100%; }

@media (max-width: 900px) {
  .page-hero .hero-grid, .row, .servicing-grid, .callout, .split { grid-template-columns: 1fr; }
  .row:nth-child(even) .row-media { order: 0; }
  .callout-actions { justify-content: flex-start; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid li, .feature-grid li:not(:nth-child(3n+1)) { padding: 24px 20px 24px 0; border-left: 0; }
  .feature-grid li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid li, .feature-grid li:nth-child(even) { padding: 22px 0; border-left: 0; }
}

/* Homepage links into service pages */
.svc-group-head .more-link { margin-top: 12px; font-size: var(--step--1); }
.remotes-callout { margin-top: 24px; }
.remotes-callout h3 { font-size: var(--step-2); font-weight: 800; }
@media (max-width: 480px) {
  .header-actions .btn-sm { display: none; }
}

/* Service contract frequency */
.plan-frequency { background: rgba(255, 255, 255, 0.06); border-color: rgba(244, 122, 18, 0.6); }
.frequency-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.frequency-list li { display: flex; align-items: center; gap: 8px; padding: 2px 16px 2px 0; color: #fff; font-weight: 700; font-size: var(--step--1); }
.frequency-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* Product photo on a white background (remotes page hero) */
.hero-media img.product-shot { object-fit: cover; object-position: 40% 50%; background: #fff; border: 1px solid var(--line); }

/* Page not found */
.not-found { min-height: 55vh; }
.not-found-links { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 28px; max-width: 900px; }
.not-found-links a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 6px; color: var(--navy); font-weight: 700; text-decoration: none; background: #fff; }
.not-found-links a:hover { border-color: var(--orange); }
