/* ==========================================================================
   FocusEye Security — Shared Stylesheet
   ========================================================================== */

:root {
  /* Brand colors */
  --navy: #0B2340;
  --teal: #1EB4C4;
  --teal-dark: #158A97;
  --sky-start: #BFD9EC;
  --sky-end: #E9F3F8;
  --gold: #F2C879;
  --text-body: #33455A;
  --white: #FFFFFF;
  --gray-light: #F5F7F9;
  --border-light: #E3E9EF;

  /* Typography */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --section-pad-desktop: 90px;
  --section-pad-mobile: 48px;

  /* Effects */
  --radius-card: 12px;
  --radius-btn: 8px;
  --shadow-card: 0 4px 12px rgba(11, 35, 64, 0.08);
  --shadow-card-hover: 0 10px 24px rgba(11, 35, 64, 0.14);
}

/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--section-pad-desktop) 0; }

@media (max-width: 640px) {
  section { padding: var(--section-pad-mobile) 0; }
}

.section-alt { background: var(--gray-light); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.eyebrow {
  display: inline-block;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-head h2 { font-size: clamp(26px, 4vw, 34px); }

.view-all {
  color: var(--teal);
  font-weight: 600;
  white-space: nowrap;
}
.view-all:hover { color: var(--teal-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Focus states ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- Top Utility Bar ---------- */
.utility-bar {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
}
.utility-tagline {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--sky-start);
}
.utility-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.utility-links a:hover { color: var(--teal); }
.utility-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* ---------- Main Nav ---------- */
.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  color: var(--navy);
}
.logo-text span { color: var(--teal); }
.logo-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.nav-links a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover,
.nav-links a.active { color: var(--teal); border-bottom-color: var(--teal); }

.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-item-dropdown .chevron { transition: transform 0.2s ease; }
.nav-item-dropdown:hover .chevron,
.nav-item-dropdown:focus-within .chevron { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover);
  min-width: 180px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 150;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  border-bottom: none;
  font-weight: 500;
  white-space: nowrap;
}
.dropdown-menu a:hover,
.dropdown-menu a.active { background: var(--gray-light); color: var(--teal); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  display: inline-flex;
}
.icon-btn:hover { color: var(--teal); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 1240px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 600px; }
  .nav-links a {
    width: 100%;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-light);
  }
  .hamburger { display: inline-flex; }
  .nav-actions .btn { display: none; }

  .nav-item-dropdown .chevron { display: none; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    background: var(--gray-light);
  }
  .dropdown-menu a { padding: 12px 24px 12px 40px; border-bottom: 1px solid var(--border-light); }
}

/* ---------- Hero Slideshow ---------- */
.hero-slideshow {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: var(--navy);
  padding: 0;
}
.hero-slides-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}
.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}
.hero-slide.hero-slide-navy {
  background: linear-gradient(135deg, var(--navy) 0%, #123a5e 100%);
}
.hero-slide > .container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-slide-content { position: relative; z-index: 2; max-width: 560px; color: var(--white); }
.hero-slide-content .eyebrow { color: var(--teal); }
.hero-slide-content h1,
.hero-slide-content h2 {
  color: var(--white);
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-slide-content h1 .highlight,
.hero-slide-content h2 .highlight { color: var(--teal); display: block; }
.hero-slide-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-slide-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-slide-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.hero-slide-stats .stat { display: flex; align-items: baseline; gap: 10px; }
.hero-slide-stats .stat .num { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: var(--teal); }
.hero-slide-stats .stat .label { font-size: 14px; color: rgba(255, 255, 255, 0.8); }

.hero-slide-row { justify-content: space-between; gap: 40px; }
.hero-slide-graphic {
  position: relative;
  flex: 0 0 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide-graphic::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(30, 180, 196, 0.35), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}
.graphic-frame {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.graphic-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.graphic-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 180, 196, 0.12) 0%, rgba(11, 35, 64, 0.3) 100%);
}
.floating-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 30px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.floating-badge svg { color: var(--teal); flex-shrink: 0; }
.badge-1 { top: -6px; left: -50px; }
.badge-2 { top: 50%; right: -64px; transform: translateY(-50%); }
.badge-3 { bottom: 20px; left: -36px; }

.hero-slide-graphic.graphic-lg {
  position: absolute;
  top: 40px;
  right: 170px;
  height: 600px;
  width: 720px;
  flex: none;
}
.hero-slide-graphic.graphic-lg::before { display: none; }
.graphic-lg .graphic-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--sky-start) 0%, var(--sky-end) 100%);
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.graphic-lg .graphic-frame img { object-fit: cover; object-position: right top; }
.graphic-lg .graphic-frame::after {
  background: linear-gradient(90deg, rgba(11, 35, 64, 0.92) 0%, rgba(11, 35, 64, 0.55) 28%, rgba(11, 35, 64, 0.1) 52%, rgba(11, 35, 64, 0) 65%);
}

@media (max-width: 1150px) {
  .hero-slide-graphic { display: none; }
}

.hero-slide.hero-slide-image-only { background: #82b6c0; }
.hero-slide-image-only a { display: block; width: 100%; height: 100%; }
.hero-slide-image-only img { width: 100%; height: 100%; object-fit: contain; display: block; }

.hero-dots {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(11, 35, 64, 0.3);
  padding: 12px 8px;
  border-radius: 20px;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, height 0.2s ease, border-radius 0.2s ease;
}
.hero-dots button:hover { background: rgba(255, 255, 255, 0.85); }
.hero-dots button.active { background: var(--teal); height: 26px; border-radius: 6px; }

@media (max-width: 900px) {
  .hero-slideshow { height: 560px; }
  .hero-slide-content { max-width: 100%; }
  .hero-dots { right: 14px; padding: 10px 6px; gap: 9px; }
  .hero-dots button { width: 8px; height: 8px; }
  .hero-dots button.active { height: 20px; }
}

@media (max-width: 560px) {
  .hero-slideshow { height: 520px; }
  .hero-slide-stats { display: none; }
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-header h1 { color: var(--white); font-size: clamp(28px, 4vw, 40px); }
.breadcrumb {
  margin-top: 12px;
  font-size: 14px;
  color: var(--sky-start);
}
.breadcrumb a:hover { color: var(--teal); }

/* ---------- Trust Strip ---------- */
.trust-strip {
  background: var(--navy);
  color: var(--white);
  padding: 32px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.trust-tagline { font-size: 15px; color: var(--sky-start); max-width: 280px; }
.trust-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-stat { text-align: center; }
.trust-stat .num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--teal);
}
.trust-stat .label { font-size: 13px; color: var(--sky-start); }

/* ---------- Deals ---------- */
.deals { padding-top: 40px; padding-bottom: 48px; }
.our-range,
.featured-combos,
.why-choose,
.brand-strip-section { padding-top: 48px; padding-bottom: 48px; }
.news-updates { padding-top: 48px; }

/* ---------- Category Grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 32px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--teal);
}
.category-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--teal);
}
.category-card h3 { font-size: 16px; margin-bottom: 4px; }
.category-card p { font-size: 13px; margin-bottom: 0; color: var(--text-body); }
.category-card-static { cursor: default; }
.category-card-static:hover { transform: none; box-shadow: none; border-color: var(--border-light); }

@media (max-width: 1024px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Product / Combo Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.product-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-light); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .thumb.thumb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky-start) 0%, var(--sky-end) 100%);
}
.product-card .thumb.thumb-icon .icon-wrap {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.product-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 17px; margin-bottom: 6px; }
.product-card .spec { font-size: 13px; color: var(--text-body); margin-bottom: 14px; flex: 1; }
.product-card .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.product-card .price { font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 18px; }
.product-card .badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  align-self: flex-start;
}

@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- Deals Gallery (static images in index.html / deals.html) ---------- */
.deals-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.deals-gallery figure {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--gray-light);
  box-shadow: var(--shadow-card);
  aspect-ratio: 3 / 2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.deals-gallery figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.deals-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.deals-gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-body);
  padding: 40px 0;
}

@media (max-width: 1024px) { .deals-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .deals-gallery { grid-template-columns: 1fr; aspect-ratio: unset; } }
@media (max-width: 640px) { .deals-gallery figure { aspect-ratio: 4 / 3; } }

/* Homepage teaser: fixed at 4 across, since it always shows exactly 4 images */
.deals-gallery-home { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .deals-gallery-home { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .deals-gallery-home { grid-template-columns: 1fr; } }

/* ---------- Deals Lightbox ---------- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(11, 35, 64, 0.9);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-image {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover);
}
.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}
.lightbox-close:hover { color: var(--teal); }

/* ---------- Why Choose Us ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature-item { text-align: center; }
.feature-item .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.feature-item h3 { font-size: 17px; margin-bottom: 8px; }
.feature-item p { font-size: 14px; }

@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- Brand Strip ---------- */
.brand-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
}
.brand-logo {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.brand-logo img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.brand-logo:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); border-color: var(--teal); }

/* ---------- News Cards ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.news-card .thumb { aspect-ratio: 16 / 9; background: var(--gray-light); overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 22px; }
.news-card .date { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); font-weight: 600; margin-bottom: 8px; }
.news-card h3 { font-size: 18px; margin-bottom: 10px; }
.news-card p { font-size: 14px; margin-bottom: 14px; }
.news-card .read-more { color: var(--teal); font-weight: 600; font-size: 14px; }
.news-card .read-more:hover { color: var(--teal-dark); }

@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Dual CTA Banner ---------- */
.dual-cta { display: grid; grid-template-columns: 1fr 1fr; }
.dual-cta .panel {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  justify-content: center;
}
.dual-cta .panel.teal { background: var(--teal); color: var(--white); }
.dual-cta .panel.navy { background: var(--navy); color: var(--white); }
.dual-cta .panel h3 { color: var(--white); font-size: 24px; max-width: 380px; }

@media (max-width: 768px) {
  .dual-cta { grid-template-columns: 1fr; }
  .dual-cta .panel { padding: 48px 24px; }
}

/* ---------- Locations ---------- */
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.location-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.location-card .map-placeholder {
  aspect-ratio: 16 / 9;
  background: var(--gray-light) url("https://placehold.co/600x340/E9F3F8/0B2340?text=Map") center/cover;
}
.location-card .location-map {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--gray-light);
}
.location-card .body { padding: 20px; }
.location-card .meta a { color: inherit; }
.location-card .meta a.view-all { color: var(--teal); }
.location-card h3 { font-size: 17px; margin-bottom: 8px; }
.location-card .meta { font-size: 14px; display: flex; align-items: flex-start; gap: 8px; margin-bottom: 6px; }
.location-card .meta svg { flex-shrink: 0; margin-top: 3px; color: var(--teal); }

@media (max-width: 1024px) { .location-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .location-grid { grid-template-columns: 1fr; } }

/* Single head office: map beside details on wider screens */
.location-grid--single { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .location-grid--single .location-card { display: grid; grid-template-columns: 3fr 2fr; }
  .location-grid--single .location-map { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .location-grid--single .body { padding: 32px; align-self: center; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--sky-start); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 72px 0 48px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--teal); }
.footer-col p { font-size: 14px; margin-bottom: 20px; }
.footer-blurb-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-blurb-logo .logo-text { color: var(--white); }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.social-icons a:hover { background: var(--teal); color: var(--navy); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.payment-icons { display: flex; gap: 10px; }
.payment-icons span {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
}

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; padding: 48px 0 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Generic Two-Column Layout (About / Contact) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-body);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-note { font-size: 13px; color: var(--text-body); margin-top: 12px; }
.form-success {
  display: none;
  background: #E6F7F5;
  border: 1px solid var(--teal);
  color: var(--navy);
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  margin-bottom: 20px;
  font-size: 14px;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  background: #FDECEC;
  border: 1px solid #D64545;
  color: var(--navy);
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  margin-bottom: 20px;
  font-size: 14px;
}
.form-error.show { display: block; }
.form-error a { color: #D64545; font-weight: 600; }

/* ---------- Products Page (sidebar + grid) ---------- */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: flex-start;
}
.filter-panel {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 24px;
}
.filter-panel h3 { font-size: 15px; margin-bottom: 12px; margin-top: 20px; }
.filter-panel h3:first-child { margin-top: 0; }
.filter-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 10px;
  cursor: pointer;
}
.filter-panel input[type="checkbox"] { accent-color: var(--teal); width: 16px; height: 16px; flex-shrink: 0; }
.filter-panel input[type="range"] { width: 100%; accent-color: var(--teal); }
.filter-panel label.brand-filter { gap: 10px; }
.filter-panel label.brand-filter img { height: 16px; max-width: 64px; width: auto; object-fit: contain; flex-shrink: 0; }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.toolbar select {
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-btn);
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
}
.result-count { font-size: 14px; color: var(--text-body); }

@media (max-width: 900px) {
  .products-layout { grid-template-columns: 1fr; }
}

/* ---------- Combo Kit Detail Cards ---------- */
.combo-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
}
.combo-card .thumb { background: var(--gray-light); }
.combo-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.combo-card .thumb.thumb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky-start) 0%, var(--sky-end) 100%);
}
.combo-card .thumb.thumb-icon .icon-wrap {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.combo-card .body { padding: 32px; }
.combo-card h3 { font-size: 22px; margin-bottom: 12px; }
.combo-card ul.includes { margin-bottom: 18px; }
.combo-card ul.includes li,
ul.checklist li {
  font-size: 14px;
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.combo-card ul.includes li::before,
ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
ul.checklist { margin-bottom: 0; }

/* ---------- Service Detail Blocks ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--border-light);
}
.service-detail:first-of-type { border-top: none; padding-top: 0; }
.service-detail .service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-detail h2 { font-size: 26px; margin-bottom: 14px; }
.service-detail > div:first-child p { margin-bottom: 20px; }
.service-steps > h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 20px;
}
.service-steps .timeline { margin-top: 4px; }
.service-steps .timeline-item:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
}
.combo-value-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.combo-value-row .was { text-decoration: line-through; color: #8A97A6; font-size: 15px; }
.combo-value-row .now { font-family: var(--font-heading); font-weight: 700; font-size: 26px; color: var(--navy); }
.combo-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .combo-card { grid-template-columns: 1fr; }
}

/* ---------- Configurator ---------- */
.configurator {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.configurator .step { margin-bottom: 24px; }
.configurator .step label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 10px;
}
.configurator select,
.configurator input[type="range"] { width: 100%; }
.configurator select {
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-btn);
  font-size: 15px;
}
.config-summary {
  background: var(--gray-light);
  border-radius: var(--radius-card);
  padding: 28px;
}
.config-summary h3 { margin-bottom: 16px; }
.config-summary .line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
}
.config-summary .total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--navy);
}
.config-summary .total .amount {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 900px) {
  .configurator { grid-template-columns: 1fr; }
}

/* ---------- Brand Grid Page ---------- */
.brand-grid-page {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.brand-grid-page .brand-logo { padding: 36px 24px; min-height: 120px; }
.brand-grid-page .brand-logo img { max-height: 56px; }

@media (max-width: 1024px) { .brand-grid-page { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .brand-grid-page { grid-template-columns: repeat(2, 1fr); } }

/* ---------- About Timeline ---------- */
.timeline { border-left: 3px solid var(--teal); padding-left: 32px; margin-left: 8px; }
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-item .year {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal);
  font-size: 14px;
  margin-bottom: 4px;
}
.timeline-item h3 { font-size: 18px; margin-bottom: 6px; }
.timeline-item p { font-size: 14px; margin-bottom: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Chat Widget (Contact page) ---------- */
.support-hours {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 24px;
}
.support-hours .row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.support-hours .row:last-child { border-bottom: none; }

/* ---------- Misc / Utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }
.badge-todo {
  display: inline-block;
  font-size: 11px;
  color: #B23B3B;
  background: #FBEAEA;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}

/* ---------- Landing Pages (CCTV Installation Auckland) ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.faq-list { max-width: 820px; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  margin-bottom: 12px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 48px 18px 22px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--teal);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 22px 20px; margin: 0; }

/* ---------- Legal pages ---------- */
.legal-text { max-width: 820px; }
.legal-text h2 { font-size: 22px; margin: 36px 0 12px; }
.legal-text p, .legal-text ul.checklist { margin-bottom: 14px; }
.legal-text a { color: var(--teal); }

/* Keep dropdown open while the pointer crosses the gap below its parent link */
@media (min-width: 1241px) {
  .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
}
.news-card h2.news-title { font-size: 18px; margin-bottom: 10px; }
.explore-card {
  display: block;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.explore-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.explore-card .read-more { color: var(--teal); font-weight: 600; font-size: 14px; }
