/* ============================
   Page: Products Landing
   Scope: .page-products
   ============================ */

.page-products { --accent: #2563eb; --muted:#6b7280; --card-bg:#fff; }

/* ===== HERO SECTION ===== */
.page-products__hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.page-products__hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-products__hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top;
}

.page-products__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 100%);
  z-index: 1;
}

.page-products__hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 2rem;
}

.page-products__title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.page-products__subtitle {
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  color: #f1f1f1;
}

.page-products__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-products__actions .btn {
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.page-products__actions .btn--primary {
  background-color: hsl(var(--accent-blue));
  color: #fff;
}

.page-products__actions .btn--primary:hover {
  background-color: hsl(var(--accent-blue-hover));
  transform: translateY(-2px);
}

.page-products__actions .btn--secondary {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.page-products__actions .btn--secondary:hover {
  background-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  .page-products__actions a {
    width: 100%;
  }
}

/* ===== BRAND STRIP ===== */
.page-products__brand-strip {
  background: #fff;
  padding: 3rem 1rem;
}

.brand-strip__heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.brand-strip__heading h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: hsl(var(--text-dark));
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.brand-strip__heading p {
  color: hsl(var(--text-muted));
  font-size: 1rem;
}

.brand-strip__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  align-items: center;
  justify-items: center;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-strip__logo img {
  max-width: 140px;
  max-height: 55px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.brand-strip__logo img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}

.page-products__brands { padding: 2rem 0; }
.brands-card { 
  background: radial-gradient(900px at 50% 45%, rgba(59, 130, 246, 0.1), rgba(255, 255, 255, 0) 60%);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
 }
.brands-card__title { text-align:center; font-weight:600; color: var(--muted); margin: 0 0 0.75rem; font-size: .95rem; }
.brands-list { display:flex; align-items:center; justify-content: center; gap: 2rem; flex-wrap:wrap; padding: .75rem 0; }
.brands-list__item { display:flex; align-items:center; justify-content:center; max-height:48px; opacity:.7; transition: opacity .18s ease, transform .18s ease; filter: grayscale(1); }
.brands-list__item img { max-height: 40px; display:block; width: auto; }
.brands-list__item:hover { opacity:1; transform: translateY(-4px); filter: none; }

/* ===== OVERVIEW ===== */
.product-intro {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.page-products__intro {
    padding: 0 1rem 3rem;
    background-color: #f9fafb;
}

.page-products__intro-text {
  text-align: center;
  font-size: 1rem;
  color: #4b5563;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* CATEGORIES GRID */
.page-products__categories { 
  padding: 80px 0; 
}
.products-grid { display:grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 760px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

.product-card {
  --card-accent: var(--accent);
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid #eef2f7;
  box-shadow: 0 8px 26px rgba(8,15,30,0.03);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}

.product-card__inner { display:flex; flex-direction:column; gap:.5rem; align-items:flex-start; height:100%; }
.product-card__icon { width:44px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:12px; background:#f8fafc; margin-bottom:.5rem; }
.product-card__icon svg { width:24px; height:24px; display:block; }
.product-card__title { margin:0; font-size:1.05rem; font-weight:700; color:#0f172a; }
.product-card__desc { margin:0; color:#475569; line-height:1.5; font-size:.95rem; }
.product-card__actions { margin-top:8px; }

/* hover effect: subtle lift and spotlight */
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px rgba(8,15,30,0.08); }
.product-card:hover .product-card__title { color:var(--card-accent); }

/* ===== SUBPAGES (CHIPS) ===== */
.product-card__subpages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.product-subpage {
  display: inline-block;
  background-color: #f1f5f9;
  color: #334155;
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.product-subpage:hover {
  background-color: rgba(11,95,255,0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.products-why {
  padding: 80px 0;
  background-color: #f9fafb;
}

/* READY TO SECURE YOUR PROPERTY */
.page-products .about-cta {
  background-color: #063075;
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.page-products .about-cta__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-products .about-cta__heading {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .page-products .about-cta__heading {
    font-size: 2.25rem;
  }
}

.page-products .about-cta__subheading {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.page-products .about-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .page-products .about-cta__actions {
    flex-direction: row;
  }
}

@media (max-width: 767.98px) {
  .page-products .about-cta__actions a {
    width: 100%;
  }
}

/* Primary (filled) button */
.page-products .btn--primary {
  background-color: #fbbf24;
  color: #000;
}

.page-products .btn--primary:hover {
  background-color: #f59e0b;
}

/* Outline (light) button */
.page-products .btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  justify-content: center;
}

.page-products .btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* small screens */
@media (max-width: 640px) {
  .page-products__hero-img { height: 320px; }
  .page-products__hero-inner { padding: 2rem 1rem; text-align:center; }
  .page-products__title { text-align:center; }
  .brands-list { gap:1rem; }
}

/* Accessibility focus outlines */
.page-products a:focus { outline: 3px solid rgba(37,99,235,0.14); outline-offset: 3px; border-radius:6px; }

.page-products-access__hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
}

.page-products-access__hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-products-access__hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-products-access__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 100%);
  background-size: 300% 300%;
  z-index: 1;
}

@keyframes accessOverlayShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.page-products-access__hero-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  width: 100%;
  max-width: var(--max-width);
  padding: 6rem 1rem;
}

.page-products-access__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-products-access__subtitle {
  font-size: 1.125rem;
  color: #f3f4f6;
  max-width: 800px;
  margin: 0 auto;
}

.page-access__intro {
  padding: 3rem 1rem;
  background-color: #f9fafb;
}

.page-access__intro .container {
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

.page-access__intro-text {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 auto;
}

.access-why {
  padding: 80px 1rem;
  background: #fff;
}

.access-solutions {
  padding: 0 0 80px 0;
  background: #fff;
  text-align: center;
}

.access-applications {
  padding: 80px 0;
  background: #f9fafb;
  text-align: center;
}

.access-process {
  padding: 80px 1rem;
  background: #fff;
}

.process-step__list {
  font-size: 0.95rem;
  color: #475569;
  padding-left: 1.2rem;
  text-align: left;
}

.process-step__list li {
  margin-bottom: 0.35rem;
  list-style: disc;
}

.process-step__note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #334155;
  font-style: italic;
}

.access-process__env {
  padding: 0 20px 80px;
}

.access-process__env .grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .access-process__env .grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* WARRANTY AND SUPPORT */
.access-warranty {
  padding: 80px 0;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

/* CTA SECTION */
.access-cta {
  background-color: #063075;
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.access-cta__container {
  max-width: 1024px;
  margin: 0 auto;
}

.access-cta__heading {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.access-cta__text {
  font-size: 1.125rem;
  color: #e5e7eb;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* CTA Buttons */
.access-cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Match your global button design */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background-color: #fbbf24;
  color: #000;
}

.btn--primary:hover {
  background: #f59e0b;
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-products__glance {
  padding: 80px 1rem;
  text-align: center;
  background: #fff;
}

.page-products__glance .section-title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: normal;
  margin-top: 0;
  margin-bottom: 2rem;
}

.page-products__glance-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.glance-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem 1.75rem;
  font-weight: 500;
  color: #1e3a8a;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  z-index: 0;
}

/* Subtle spotlight hover */
.glance-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 200px at var(--x, 50%) var(--y, 50%), rgba(37, 99, 235, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.glance-card:hover::before {
  opacity: 1;
}

.glance-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

/* Keep text above spotlight */
.glance-card span,
.glance-card {
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
  .glance-card {
    flex: 1 1 100%;
  }
}

.page-products__benefits {
  padding: 0 20px 80px;
  background: #fff;
  text-align: center;
}

.page-products__features {
  padding: 0 1rem 80px;
  background: #ffffff;
}

.products-features__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* HD VS IP QUICK ANSWER */
.hd-vs-ip__answer,
.hd-vs-ip__types,
.page-hd-vs-ip__features,
.hd-vs-ip__how {
  padding: 80px 0;
}

.hd-vs-ip__types {
  background: #f9fafb;
}

/* =============================
   HD VS IP FEATURES
   ============================= */
.page-hd-vs-ip__features {
  background: #ffffff;
}

.hd-vs-ip-features__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hd-vs-ip-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--card-bg, hsl(0 0% 100% / 0.05));
  border: 1px solid hsl(0 0% 100% / 0.1);
}

.hd-vs-ip-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px hsl(var(--spotlight-color) / 0.3);
}

.hd-vs-ip-feature-card .card-icon svg {
  width: 24px;
  height: 24px;
  color: hsl(var(--spotlight-color));
}

.hd-vs-ip-feature-card .card-content {
  flex: 1;
}

.hd-vs-ip-feature-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.hd-vs-ip-feature-content p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

/* --- COMPARISON CARDS --- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.comparison-grid div {
  background: #f9fafb;
  padding: 16px;
  border-radius: 8px;
}

.comparison-grid div strong {
  display: block;
  margin-bottom: 6px;
  color: #333;
}

.hd-vs-ip-feature-card .comparison-side {
  background: hsl(0 0% 98% / 0.75);
  transition: background 0.3s ease;
}

.hd-vs-ip-feature-card:hover .comparison-side {
  background: hsl(0 0% 98% / 0.25);
}

/* --- HOW SCES HELPS --- */
#sces-helps ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

#sces-helps li {
  background: #f8f9fa;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-left: 4px solid #004aad; /* SCES accent color */
  border-radius: 8px;
}

/* --- RESPONSIVE --- */
@media (max-width: 767.98px) {
  .access-warranty .services-grid,
  .access-applications .services-grid,
  .page-products-industrial-intercom .access-process .services-grid,
  .page-products-alarm .access-process .services-grid,
  .page-products-access .services-grid,
  .page-products-cctv .services-grid,
  .page-products-ip-cctv .services-grid,
  .page-products-hd-vs-ip .services-grid,
  .page-products-intercom .services-grid,
  .page-products-2-wire-intercom .services-grid,
  .page-products-ip-intercom .services-grid,
  .page-products-gsm-intercom .services-grid,
  .page-products-industrial-intercom .services-grid,
  .page-products-alarm .services-grid,
  .page-products .services-grid {
    margin: 0;
  }

  .access-why {
    padding: 80px 0;
  }

  .access-process .services-grid {
    margin: 20px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 100px 20px 80px;
  }

  .services-heading {
    font-size: 1.6rem;
  }
}

.page-alarm__benefits {
  padding: 80px 0 0 0;
  background: #fff;
  text-align: center;
}

.page-alarm__benefits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.page-inception-alarm__benefits,
.page-xecure-alarm__benefits {
  padding: 80px 0;
  background: #fff;
  text-align: center;
}

@media (max-width: 991.98px) {
  .page-products .brand-strip__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .page-products .services-grid,
  .page-products-access .services-grid,
  .page-products-inception .services-grid,
  .page-products-cctv .services-grid,
  .page-products-ip-cctv .services-grid,
  .page-products-hd-vs-ip .services-grid,
  .page-products-intercom .services-grid,
  .page-products-2-wire-intercom .services-grid,
  .page-products-ip-intercom .services-grid,
  .page-products-gsm-intercom .services-grid,
  .page-products-industrial-intercom .services-grid,
  .page-products-alarm .services-grid {
    margin: 0;
  }

  .service-card a.btn {
    margin-top: auto;
  }

  .page-products-bosch-alarm .access-why{
    padding: 80px 0;
  }
}

@media (max-width: 1199.98px) {
  .brand-strip__logos {
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  }
}