@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/open-sans-latin-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #1e73be;      /* accentronix.co.za primary button blue */
  --deep-blue: #04679a; /* accentronix.co.za deep heading/band blue */
  --text: #535353;      /* accentronix.co.za body text grey */
  --dark: #242424;
  --light: #f5f5f5;     /* accentronix.co.za light section background */
  --line: #d5d5d5;      /* accentronix.co.za hairline grey */
  --white: #ffffff;
  --success: #0da2be;
  --navy: #061b3d;
  --navy-soft: #082952;
  --cyan: #18baf2;
  --page: min(1120px, calc(100% - 32px));
  --shell: 1512px;      /* desktop frame width (red-block guide, 10% narrower) */
  --radius: 3px;
  --shadow: 0 18px 44px rgb(4 103 154 / 0.14);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; }
body {
  min-width: 320px;
  color: var(--text);
  background: var(--white);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Desktop: contain the whole page (colour bands included) in a centred frame the
   width of the red-block guide, with plain white on the edges outside it. The
   frame carries the navy "spine" so the transparent header/footer/support gutters
   still sit on navy. Below --shell the frame is simply 100% wide, so mobile and
   tablet are unchanged. */
.page-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  background: var(--navy);
}
@media (min-width: 1513px) {
  /* Only once the frame is narrower than the viewport: white gutters + a soft
     shadow separating the framed page from the white edges. */
  .page-shell { box-shadow: 0 22px 60px rgb(6 27 61 / .16); }
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { color: var(--white); background: var(--blue); }
:focus-visible { outline: 3px solid rgb(30 115 190 / .45); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--deep-blue);
  text-decoration: none;
}
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 5;
  width: var(--page);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgb(24 186 242 / .22);
}
.brand { display: inline-flex; width: clamp(240px, 30vw, 350px); padding-block: 10px; }
.brand img { width: 100%; }
.quick-nav { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.quick-nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.quick-nav a:not(.nav-cta):not(.nav-ask) { color: var(--white); }
.quick-nav a.nav-home:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--cyan); }

/* Unified nav buttons — identical geometry, modern primary + ghost pairing */
.nav-cta,
.nav-ask {
  height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1.6px solid transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
/* Primary — the marketing call to action */
.nav-ask {
  color: var(--cyan);
  background: transparent;
  border-color: rgb(24 186 242 / .55);
}
.nav-ask:hover {
  color: var(--navy);
  background: var(--cyan);
  border-color: var(--cyan);
  transform: translateY(-1px);
}
/* Secondary — ghost/outline, same size as the primary */
.nav-cta {
  color: var(--cyan);
  background: transparent;
  border-color: rgb(24 186 242 / .55);
}
/* WhatsApp icon inside the ask buttons */
.wa-ico { width: 17px; height: 17px; margin-right: 9px; flex: none; }
.support .support-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.support-actions--email { margin-top: 10px; }
.support .support-actions .support-mobile-only { display: none; }
.nav-cta:hover {
  color: var(--navy);
  background: var(--cyan);
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  padding: clamp(42px, 6vw, 72px) max(32px, calc((100% - 1120px) / 2));
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 46%, rgb(17 129 199 / .24), transparent 34%),
    linear-gradient(145deg, #061b3d 0%, #06234a 58%, #041833 100%);
  border-radius: 0;
  box-shadow: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -160px auto;
  width: min(420px, 52vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(24 186 242 / .07);
}
.hero-copy, .hero-showcase, .trust-strip { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  opacity: .82;
}
.hero h1,
.product-question h2,
.section-heading h2,
.support h2 {
  color: var(--dark);
  font-size: clamp(34px, 5.8vw, 60px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.03;
  text-wrap: balance;
}
.hero h1 { max-width: 720px; color: var(--white); }
.hero h1 span { color: var(--cyan); }
.hero-intro {
  max-width: 660px;
  margin: 18px 0 22px;
  color: rgb(255 255 255 / .92);
  font-size: clamp(16px, 1.7vw, 19px);
}
.hero-actions,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--white); background: var(--blue); border-color: var(--blue); }
.hero .button-primary { color: var(--white); background: transparent; border-color: rgb(255 255 255 / .58); border-radius: 999px; }
.hero .button-primary span { margin-left: 12px; color: var(--cyan); font-size: 17px; }
.button-secondary { color: var(--white); border-color: rgb(255 255 255 / .78); }
.button-light { color: var(--white); border-color: rgb(255 255 255 / .72); }
.button-primary:hover { background: var(--deep-blue); border-color: var(--deep-blue); }
.hero .button-primary:hover { color: var(--navy); background: var(--white); border-color: var(--white); }
.button-secondary:hover,
.button-light:hover { color: var(--deep-blue); background: var(--white); border-color: var(--white); }

.hero-showcase {
  width: min(100%, 540px);
  min-height: 390px;
  justify-self: center;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.orbit {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  border: 1px solid rgb(24 186 242 / .38);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 26px rgb(24 186 242 / .045);
}
.orbit-one {
  width: min(76%, 380px);
  aspect-ratio: 1;
}
.orbit-two {
  width: min(55%, 275px);
  aspect-ratio: 1;
  border-style: dashed;
  opacity: .72;
  transform: translate(-50%, -50%);
}
.orbit-core {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: min(39%, 195px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgb(24 186 242 / .19) 0%, rgb(30 115 190 / .07) 44%, transparent 72%);
  filter: blur(2px);
}
.orbit-node {
  position: absolute;
  z-index: 1;
  width: 7px;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / .74);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgb(24 186 242 / .12), 0 0 16px rgb(24 186 242 / .9);
}
.orbit-node-one { left: 50%; top: 1%; }
.orbit-node-two { right: 10%; top: 50%; }
.orbit-node-three { left: 13%; bottom: 14%; }
.orbit-product {
  position: absolute;
  z-index: 3;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 16px rgb(0 0 0 / .27));
}
.orbit-product-face {
  left: 50%;
  top: 18%;
  width: clamp(135px, 30%, 150px);
  z-index: 4;
}
.orbit-product-intercom {
  left: 25%;
  top: 75%;
  width: clamp(175px, 42%, 210px);
}
.orbit-product-scanner {
  left: 80%;
  top: 39%;
  width: clamp(95px, 21%, 105px);
}
.orbit-product-remotes {
  left: 18%;
  top: 44%;
  width: clamp(117px, 25.5%, 128px);
  z-index: 2;
}
.orbit-product-uhf {
  left: 73%;
  top: 75%;
  width: clamp(200px, 44%, 220px);
  z-index: 2;
}
.trust-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / .36);
  color: rgb(255 255 255 / .9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .055em;
  text-align: center;
  text-transform: uppercase;
}
.trust-strip li { list-style: none; padding-inline: 10px; text-wrap: balance; }
.trust-strip li + li { border-left: 1px solid rgb(255 255 255 / .28); }

.product-question {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(30px, 4.2vw, 48px) max(16px, calc((100% - 1120px) / 2)) clamp(28px, 3.4vw, 40px);
  background:
    radial-gradient(circle at 82% 20%, rgb(30 115 190 / .10), transparent 22%),
    linear-gradient(118deg, #f4f9fd 0%, #ffffff 64%);
  border-top: 1px solid rgb(30 115 190 / .18);
}
.product-question::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: clamp(14px, 2vw, 20px);
  background: var(--blue);
}
.product-question h2 {
  position: relative;
  z-index: 1;
  max-width: 835px;
  color: var(--dark);
  font-size: clamp(31px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.06;
  text-wrap: balance;
}
.product-question h2 span { color: var(--deep-blue); }

.products {
  width: 100%;
  margin: 0 auto;
  padding: clamp(46px, 6vw, 64px) max(16px, calc((100% - 1120px) / 2));
  background: var(--white);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(260px, .7fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}
.section-heading .eyebrow { color: var(--deep-blue); }
.section-heading h2 { max-width: 790px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.product-card {
  min-height: 312px;
  display: grid;
  grid-template-rows: 118px auto auto 1fr auto;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 14px 30px rgb(30 115 190 / .13);
}
.product-card img {
  width: 100%;
  max-height: 118px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 10px rgb(0 0 0 / .10));
}
.card-kicker {
  color: var(--deep-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.product-card h3 {
  color: var(--dark);
  font-size: 21px;
  line-height: 1.12;
}
.product-card h3 .accent { color: var(--blue); }
.product-card p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.43;
}
.product-card > strong {
  align-self: end;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.product-card > strong::after { content: "  →"; }
.product-card--remotes { grid-column: 3; grid-row: 2; }
.product-card--nano { grid-column: 1; grid-row: 3; }
.product-card--howto { grid-column: 2; grid-row: 3; }
.product-card--keypad { grid-column: 3; grid-row: 3; }

/* Intercom + facial cards: let the wide image fill the full card width instead
   of being letter-boxed in the fixed 118px image row (scoped to these cards). */
.product-card--intercom,
.product-card--face { grid-template-rows: auto auto auto 1fr auto; }
.product-card--intercom img,
.product-card--face img {
  max-height: none;
  width: 100%;
  border-radius: calc(var(--radius) + 1px);
}
/* Facial card: show the product photo 30% smaller than full card width, centred. */
.product-card--face img { width: 70%; justify-self: center; }

.cloud-link-screen {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  background: var(--white);
  box-shadow: 0 18px 36px rgb(4 103 154 / .20);
}
.cloud-link-screen-preview {
  display: block;
  text-decoration: none;
}
.cloud-link-screen-preview img { width: 100%; }
.cloud-link-dialog {
  width: min(100% - 24px, 1440px);
  max-width: none;
  max-height: min(100% - 24px, 940px);
  padding: 0;
  color: var(--white);
  background: var(--navy);
  border: 0;
  box-shadow: 0 28px 80px rgb(0 0 0 / .56);
}
.cloud-link-dialog::backdrop { background: rgb(0 0 0 / .72); }
.cloud-link-dialog-close { position: absolute; z-index: 1; top: 10px; right: 10px; width: 38px; height: 38px; padding: 0; color: var(--white); background: rgb(6 27 61 / .86); border: 1px solid rgb(255 255 255 / .7); border-radius: 50%; font: inherit; cursor: pointer; }
.cloud-link-dialog-close span { display: block; font-size: 26px; line-height: 30px; }
.cloud-link-dialog-scroll { overflow: auto; max-height: calc(100vh - 24px); overscroll-behavior: contain; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; background: #e9edf0; }
.cloud-link-dialog-scroll img { width: 1576px; max-width: none; min-width: 100%; height: auto; }

.support {
  width: var(--page);
  margin: clamp(24px, 3vw, 42px) auto 30px;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(340px, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 46px);
  color: var(--white);
  background: var(--deep-blue);
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: var(--radius);
  box-shadow: 0 20px 42px rgb(6 27 61 / .26);
}
.support h2 { max-width: 680px; color: var(--white); font-size: clamp(30px, 4.8vw, 48px); }
.support-copy p { margin-bottom: 18px; color: rgb(255 255 255 / .9); }
.support .button-primary { background: var(--white); border-color: var(--white); color: var(--deep-blue); }
.support .button-primary:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }

footer {
  width: 100%;
  margin: 0 auto;
  padding: 40px max(16px, calc((100% - 1120px) / 2)) 34px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--white);
  border-top: 1px solid rgb(255 255 255 / .16);
}
.footer-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
}
.footer-heading {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 16px;
  color: var(--white);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 9px; font-size: 14px; line-height: 1.5; color: rgb(255 255 255 / .82); }
.footer-col a { color: inherit; text-decoration: none; text-underline-offset: 3px; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-contact strong a { color: var(--white); }
.footer-whatsapp em { color: rgb(255 255 255 / .82); font-style: italic; }
.footer-address {
  margin-top: 18px;
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: rgb(255 255 255 / .82);
}
.footer-bar {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / .12);
}
.footer-brand { width: clamp(240px, 30vw, 320px); flex: none; }
.footer-brand img { filter: none; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
.footer-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}

@media (max-width: 920px) {
  :root { --page: min(100% - 24px, 720px); }
  .hero { grid-template-columns: 1fr; padding: 34px 24px 24px; }
  .hero-showcase { min-height: 390px; }
  .trust-strip { margin-top: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 4px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card--remotes { grid-column: auto; grid-row: auto; }
  .product-card--nano { grid-column: auto; grid-row: auto; }
  .product-card--howto { grid-column: auto; grid-row: auto; }
  .product-card--keypad { grid-column: auto; grid-row: auto; }
  .support { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { min-height: 66px; gap: 8px; }
  .quick-nav { gap: 2px; }
  .brand { width: 240px; }
  .nav-cta { padding-inline: 12px; }
  .quick-nav a.nav-ask, .quick-nav a.nav-home { display: none; }
  .hero { margin-top: 0; padding: 30px 14px 20px; }
  .hero h1 { font-size: clamp(35px, 10vw, 47px); }
  .hero-intro { font-size: 15px; }
  .hero-actions .button { flex: 0 1 auto; }
  .hero-actions .button-secondary { display: inline-flex; }
  .hero-showcase { width: calc(100% + 20px); max-width: none; min-height: 330px; margin: 8px -10px 0; }
  .orbit-one { width: min(86%, 310px); }
  .orbit-two { width: min(61%, 220px); }
  .orbit-product-face { top: 18%; }
  .orbit-product-remotes { left: 17%; top: 45%; }
  .orbit-product-intercom { left: 24%; top: 75%; }
  .orbit-product-scanner { left: 84%; top: 39%; }
  .orbit-product-uhf { left: 74.3%; top: 78%; }
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 0;
    padding-top: 14px;
    font-size: 10.4px;
    line-height: 1.35;
    letter-spacing: .02em;
    text-align: center;
  }
  .trust-strip li { padding-inline: 5px; }
  .trust-strip li + li { border-left: 1px solid rgb(255 255 255 / .28); }
  .products { padding: 36px 14px 40px; }
  .section-heading h2 { font-size: clamp(30px, 9vw, 42px); }
  .product-grid { grid-template-columns: 1fr; }
  .product-card {
    min-height: 0;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 14px;
    padding: 15px;
  }
  .product-card img {
    grid-row: 1 / 5;
    width: 92px;
    height: 98px;
    max-height: none;
    align-self: center;
  }
  .product-card h3 { font-size: 19px; }
  .product-card p { font-size: 13px; }
  .product-card > strong { font-size: 12px; }

  /* Intercom + facial cards on mobile: full-width image on top, text stacked
     below, so the wide photo reads large instead of as a 92px thumbnail. */
  .product-card--intercom,
  .product-card--face {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
  }
  .product-card--intercom img,
  .product-card--face img {
    grid-row: auto;
    width: 100%;
    height: auto;
    max-height: none;
  }
  .product-card--face img { width: 70%; justify-self: center; }

  .cloud-link-dialog { width: 100%; max-height: 100%; height: 100%; }
  .cloud-link-dialog-close { top: 12px; right: 12px; }
  .cloud-link-dialog-scroll { max-height: 100vh; }
  .cloud-link-dialog-scroll img { width: 1576px; }
  .support { padding: 24px 18px; }
  .support h2 { font-size: clamp(28px, 8vw, 38px); }
  .support .support-actions { grid-template-columns: 1fr; }
  .support .support-actions .support-mobile-only { display: flex; }
  .support .support-actions.support-desktop-only { display: none; }
  .support-actions .button { flex: 1 1 180px; }
  footer { flex-direction: column; align-items: stretch; }
  .footer-info { grid-template-columns: 1fr; gap: 28px; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
