@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --navy-900: #040914;
  --navy-800: #081124;
  --navy-700: #0d1b36;
  --navy-600: #152749;
  --cyan-400: #38bdf8;
  --cyan-500: #00f2fe;
  --cyan-600: #0284c7;
  --orange-500: #ff7a00;
  --orange-400: #ffa800;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f8fafc;
  --white: #ffffff;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-sm: 0 2px 8px rgba(4, 9, 20, 0.06);
  --shadow-md: 0 12px 32px rgba(4, 9, 20, 0.1);
  --shadow-lg: 0 24px 50px -10px rgba(4, 9, 20, 0.18);
  --shadow-glow: 0 0 35px rgba(0, 242, 254, 0.25);
  --shadow-orange: 0 8px 25px rgba(255, 122, 0, 0.3);
  
  --max-width: 1240px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* APAR brochure detail pages */
.catalog-hero {
  padding: 76px 0;
  color: var(--white);
  background: radial-gradient(circle at 85% 20%, rgba(0, 214, 230, 0.18), transparent 34%), var(--navy-900);
}

.catalog-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.catalog-hero h1 { color: var(--white); max-width: 760px; }
.catalog-hero p { color: rgba(255,255,255,.76); font-size: 1.12rem; max-width: 720px; }
.catalog-hero .breadcrumb, .catalog-hero .breadcrumb a { color: rgba(255,255,255,.6); }
.catalog-cover { max-height: 440px; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.15); }
.catalog-cover img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; display: block; }
.catalog-cover.telecom-cover img { object-position: center bottom; }

.catalog-stats { background: var(--white); border-bottom: 1px solid var(--slate-200); }
.catalog-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.catalog-stat-grid div { padding: 24px; border-right: 1px solid var(--slate-200); }
.catalog-stat-grid div:last-child { border-right: 0; }
.catalog-stat-grid span { display: block; color: var(--slate-500); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.catalog-stat-grid strong { display: block; color: var(--navy-900); margin-top: 5px; font-size: 1.05rem; }

.catalog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
/* Related-page links: cards keep a natural width instead of stretching to
   fill a 3-column track when only one or two links exist. */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 380px)); gap: 24px; }
.catalog-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.catalog-card img { width: 100%; height: 220px; object-fit: contain; padding: 16px; background: #f4f7fa; }
.catalog-card-body { padding: 22px; }
.catalog-card-body h3 { margin-bottom: 9px; }
.catalog-card-body p { margin: 0; }
.spec-panel { padding: 34px; border-radius: var(--radius-xl); background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm); }
.catalog-note { margin-top: 22px; padding: 14px 16px; border-left: 3px solid var(--cyan-500); background: var(--slate-100); font-size: .92rem; }
.brochure-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.brochure-gallery figure { margin: 0; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.brochure-gallery img { width: 100%; height: 230px; object-fit: contain; display: block; padding: 10px; background: #f4f7fa; }
.brochure-gallery figcaption { padding: 12px 14px; color: var(--slate-600); font-size: .86rem; }

@media (max-width: 980px) {
  .catalog-hero-grid { grid-template-columns: 1fr; }
  .catalog-cover { max-width: 620px; }
  .catalog-stat-grid, .brochure-gallery { grid-template-columns: repeat(2,1fr); }
  .catalog-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  .catalog-hero { padding: 52px 0; }
  .catalog-stat-grid, .catalog-grid, .brochure-gallery { grid-template-columns: 1fr; }
  .catalog-stat-grid div { border-right: 0; border-bottom: 1px solid var(--slate-200); }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--slate-800);
  background-color: #fbfeff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 16px 0;
  color: var(--navy-900);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

p {
  margin: 0 0 18px 0;
  color: var(--slate-600);
  font-size: 1.05rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--slate-600);
  line-height: 1.65;
  max-width: 750px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan-600);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-400));
  border-radius: 99px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan-500) 0%, var(--cyan-400) 50%, var(--orange-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons & Interactive Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 122, 0, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  color: var(--white);
  box-shadow: 0 8px 25px rgba(8, 17, 36, 0.25);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-700));
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(8, 17, 36, 0.35);
  color: var(--cyan-400);
}

.btn-cyan {
  background: linear-gradient(135deg, #0284c7, var(--cyan-500));
  color: #040914;
  font-weight: 800;
}

.btn-cyan:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--cyan-500);
  color: var(--cyan-500);
  background: rgba(0, 242, 254, 0.08);
  transform: translateY(-3px);
}

.btn-outline-dark {
  border-color: var(--slate-200);
  color: var(--navy-900);
  background: var(--white);
}

.btn-outline-dark:hover {
  border-color: var(--cyan-600);
  color: var(--cyan-600);
  transform: translateY(-3px);
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* Header & Glass Navigation */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-info {
  display: flex;
  gap: 24px;
}

.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-social {
  list-style: none;
  padding: 0 0 0 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.topbar-social a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.topbar-social a:hover {
  color: var(--cyan-400);
}

.topbar-social a:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 9, 20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}

.nav-wrap {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 174px;
  height: 64px;
  object-fit: contain;
  padding: 3px 6px;
  border-radius: 8px;
  background: #ffffff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 6px 0;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-500), var(--orange-400));
  transition: width 0.25s ease;
  border-radius: 99px;
}

.nav a:hover {
  color: var(--white);
}

.nav a:hover::after, .nav a.active::after {
  width: 100%;
}

.nav a.active {
  color: var(--cyan-400);
  font-weight: 700;
}

.menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
}

.menu-btn span {
  display: block;
  width: 28px;
  height: 2.5px;
  background-color: var(--white);
  border-radius: 4px;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 680px;
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-slider {
  height: calc(100vh - 116px);
  height: calc(100svh - 116px);
  min-height: 640px;
  max-height: 760px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide-image, .hero-slide-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide-image {
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 7s ease;
}

.hero-slide.is-active .hero-slide-image { transform: scale(1); }

.hero-slide-shade {
  background: linear-gradient(90deg, rgba(4,9,20,.98) 0%, rgba(4,9,20,.88) 33%, rgba(4,9,20,.48) 58%, rgba(4,9,20,.08) 100%);
}

/* Opt-in heavier scrim, for any hero image light enough that the standard
   gradient cannot hold the headline. Currently unused — every hero image is
   dark enough for the default above. */
.hero-slide-bright .hero-slide-shade {
  background: linear-gradient(90deg, rgba(4,9,20,.97) 0%, rgba(4,9,20,.92) 38%, rgba(4,9,20,.72) 64%, rgba(4,9,20,.42) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 24px;
  padding-bottom: 90px;
}

.hero h1, .hero h2 {
  color: var(--white);
  margin-bottom: 20px;
  max-width: 860px;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  margin-bottom: 28px;
  max-width: 620px;
}

.hero-kicker {
  color: var(--orange-400);
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 99px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--cyan-400);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-500);
  box-shadow: 0 0 10px var(--cyan-500);
  animation: pulseGlow 1.8s infinite alternate;
}

.hero-slider-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hero-slider-dots, .hero-slider-arrows { display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.hero-dot { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.35); cursor: pointer; transition: .3s ease; }
.hero-dot.is-active { width: 64px; background: linear-gradient(90deg, var(--orange-500), var(--cyan-400)); }
.hero-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(4,9,20,.48); color: var(--white); font-size: 1.25rem; cursor: pointer; backdrop-filter: blur(10px); transition: .25s ease; }
.hero-arrow:hover { border-color: var(--cyan-400); background: rgba(0,242,254,.14); transform: translateY(-2px); }

.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, rgba(255, 122, 0, 0.15) 60%, transparent 70%);
  filter: blur(40px);
  animation: floatAnimation 8s infinite ease-in-out;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(13, 27, 54, 0.6);
  backdrop-filter: blur(20px);
  animation: floatAnimation 6s ease-in-out infinite;
}

.hero-image-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.hero-floating-stat {
  position: absolute;
  bottom: -20px;
  right: -15px;
  background: rgba(8, 17, 36, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.hero-floating-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--cyan-400);
  line-height: 1;
}

.hero-floating-stat .stat-label {
  font-size: 0.85rem;
  color: var(--slate-200);
  font-weight: 600;
  line-height: 1.2;
}

/* Page Hero */
.page-hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 720px;
  font-size: 1.2rem;
}

.breadcrumb {
  /* block-level flex so a following inline .eyebrow starts on its own line */
  display: flex;
  width: fit-content;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--cyan-400);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

/* Sections & Layout Grid */
.section {
  padding: 100px 0;
  position: relative;
}

.section-sm {
  padding: 60px 0;
}

.section-pale {
  background-color: #f1f6fb;
}

.section-dark {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
}

.section-dark h2, .section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 600px);
  align-items: end;
  gap: 40px;
  margin-bottom: 54px;
}

.section-head > div {
  min-width: 0;
}

.section-head h2 {
  max-width: 760px;
  margin-bottom: 0;
  text-wrap: balance;
}

.section-head p {
  max-width: 600px;
  margin: 0;
}

.section .grid-2 h2,
.section-dark h2,
.cta-banner h2 {
  text-wrap: balance;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Cards & Components */
.card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 242, 254, 0.3);
}

.glass-card {
  background: rgba(13, 27, 54, 0.75);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 34px;
  color: var(--white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.glass-card h3, .glass-card h2 {
  color: var(--white);
}

.glass-card p {
  color: rgba(255, 255, 255, 0.75);
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.12), rgba(255, 122, 0, 0.12));
  color: var(--cyan-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.card-number {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 850;
  color: var(--orange-500);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

/* Product Cards */
.product-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image-wrap {
  height: 210px;
  overflow: hidden;
  position: relative;
  background: var(--navy-900);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(4, 9, 20, 0.85);
  backdrop-filter: blur(8px);
  color: var(--cyan-400);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid rgba(0, 242, 254, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-body h3 {
  margin-bottom: 10px;
}

.product-body p {
  flex-grow: 1;
  font-size: 0.96rem;
  margin-bottom: 20px;
}

/* Stacked call-to-action pair, pinned to the bottom of the card */
.product-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  padding: 5px 12px;
  border-radius: 99px;
  background: #eef5fc;
  color: var(--navy-700);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #dbe6f3;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--cyan-600);
}

.text-link:hover {
  color: var(--orange-500);
  gap: 12px;
}

/* Guide / article pages */
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
}

.article-meta .article-meta-tag {
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.28);
  color: var(--cyan-400);
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}

.article-body {
  max-width: 760px;
  min-width: 0; /* allow the wide-table wrapper to shrink and scroll */
}

/* The global h2 is sized for section headers; in running copy it needs to sit
   just above the body text, not shout over it. */
.article-body > h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 14px;
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body > h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.article-body p {
  margin: 0 0 18px;
  font-size: 1.04rem;
  line-height: 1.75;
}

.article-body .check-list {
  margin: 20px 0 26px;
}

/* Pull-out note for standards references and cautions */
.article-callout {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--cyan-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 0.96rem;
}

.article-callout strong {
  color: var(--navy-900);
}

.article-table-wrap {
  margin: 26px 0;
  overflow-x: auto;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.article-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}

.article-table th {
  padding: 14px 18px;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  white-space: nowrap;
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: top;
}

.article-table tr:last-child td {
  border-bottom: 0;
}

.article-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.article-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 20px;
}

.article-toc {
  padding: 24px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.article-toc h4 {
  margin: 0 0 14px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.article-toc ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  font-size: 0.93rem;
}

.article-toc a {
  color: var(--navy-700);
}

.article-toc a:hover {
  color: var(--cyan-600);
}

/* Related guides */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

/* Interactive Cable Selector Widget */
.finder-section {
  padding: 56px 0 70px;
}

.cable-finder-card {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-radius: var(--radius-xl);
  padding: 45px;
  color: var(--white);
  border: 1px solid rgba(0, 242, 254, 0.2);
  box-shadow: 0 30px 60px rgba(4, 9, 20, 0.35);
  margin-top: 0;
  position: relative;
  z-index: 20;
}

.finder-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: flex-end;
}

.finder-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.finder-field label {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--cyan-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.finder-field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  transition: 0.25s;
}

.finder-field select:focus {
  border-color: var(--cyan-500);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.finder-field select option {
  background: var(--navy-900);
  color: var(--white);
}

.finder-result {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.finder-result.active {
  display: flex;
  animation: fadeIn 0.4s ease;
}

/* Check Lists & Features */
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.check-list li {
  margin-bottom: 14px;
  padding-left: 32px;
  position: relative;
  font-size: 1.02rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
  color: var(--navy-900);
  font-weight: 900;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Process Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  border: 1px solid var(--slate-200);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--cyan-600);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan-600), var(--navy-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}

/* Customer Reviews */
.review-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 26px;
  margin-bottom: 36px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.review-summary-score {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan-600), var(--navy-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.review-summary-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Exclude .review-stars so it keeps its own colour and size */
.review-summary-meta span:not(.review-stars) {
  color: var(--slate-500);
  font-size: 0.88rem;
}

.review-summary-meta .review-stars {
  font-size: 1.05rem;
}

.review-summary .btn {
  margin-left: auto;
}

.review-stars {
  display: inline-flex;
  gap: 3px;
  color: var(--orange-400);
  font-size: 1rem;
  line-height: 1;
}

.review-grid {
  display: grid;
  /* 3 across on desktop, dropping to 2 before the 768px single-column rule */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
}

/* Oversized decorative quote mark, clipped by .card's overflow: hidden */
.review-card::before {
  content: "\201C";
  position: absolute;
  top: -22px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(2, 132, 199, 0.09);
  pointer-events: none;
}

.review-quote {
  flex: 1;
  margin: 0;
  color: var(--slate-600);
  font-size: 1.02rem;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--slate-200);
}

.review-avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-600), var(--navy-700));
}

.review-author-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 750;
  color: var(--navy-900);
}

.review-author-role {
  display: block;
  color: var(--slate-500);
  font-size: 0.86rem;
}

/* Form Styling */
.quote-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 45px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--navy-900);
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: #ffffff;
  color: var(--slate-900);
  transition: 0.25s;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan-600);
  box-shadow: 0 0 0 4px rgba(0, 242, 254, 0.15);
}

.success-message {
  display: none;
  padding: 18px;
  background: #ecfdf5;
  color: #047857;
  border-radius: var(--radius-md);
  border: 1px solid #a7f3d0;
  font-weight: 600;
  margin-top: 16px;
}

.success-message.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

.error-message {
  display: none;
  padding: 18px;
  background: #fef2f2;
  color: #b91c1c;
  border-radius: var(--radius-md);
  border: 1px solid #fecaca;
  font-weight: 600;
  margin-top: 16px;
}

.error-message.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

.enquiry-form button[disabled] {
  opacity: 0.65;
  cursor: wait;
}

/* Quick-quote popup ------------------------------------------------------- */

.quote-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.quote-popup[hidden] { display: none; }

.quote-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 20, 0.72);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.25s ease;
}

.quote-popup-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 30px 70px rgba(4, 9, 20, 0.45);
  animation: popupIn 0.32s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes popupIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.quote-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--navy-700, #334155);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.quote-popup-close:hover { background: rgba(4, 9, 20, 0.07); }

.quote-popup-panel h3 {
  color: var(--navy-900);
  margin: 6px 0 8px;
}

.quote-popup-lead {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.quote-popup-form .field { margin-bottom: 14px; }

.quote-popup-form textarea { min-height: 88px; }

.quote-popup-form button[type="submit"] {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.quote-popup-alt {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.quote-popup-alt a {
  color: var(--cyan-600);
  font-weight: 700;
}

body.popup-open { overflow: hidden; }

@media (max-width: 560px) {
  .quote-popup-panel { padding: 26px 20px; }
}

/* Call to Action Banner */
.cta-banner {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -50px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--cyan-400);
  padding-left: 4px;
}

/* Floating contact dock pinned to the right edge. Sits below the quote popup
   (z-index 1200) so the modal always covers it. */
.contact-dock {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* App-tile style contact icons — rounded square, brand colour, white glyph */
.app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-icon svg {
  width: 30px;
  height: 30px;
}

.app-icon:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

.app-icon:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
}

.app-icon-whatsapp {
  background: linear-gradient(160deg, #60fc7c 0%, #25d366 48%, #0eb851 100%);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.app-icon-whatsapp:hover {
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5);
}

.app-icon-call {
  background: linear-gradient(160deg, var(--orange-400), var(--orange-500));
  box-shadow: var(--shadow-orange);
}

.app-icon-call:hover {
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.45);
}

/* Sits inside the Quick Navigation column, below its links. */
.footer-social {
  margin-top: 24px;
}

.footer-social-label {
  display: block;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* One shared pill with the icons flush inside it — separate circles always
   leave a visible gap where their edges curve apart. */
.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 40px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  color: var(--navy-900);
  background: var(--cyan-400);
}

.footer-social a:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* GSTIN and the build credit sit together at the right end of the bottom bar. */
.footer-bottom-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}

.footer-credit {
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.6);
}

.footer-credit a {
  color: var(--cyan-400);
  font-weight: 600;
}

.footer-credit a:hover {
  color: var(--orange-500);
}

/* Keyframes & Animations */
@keyframes floatAnimation {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.8deg); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 15px rgba(0, 242, 254, 0.2); }
  100% { box-shadow: 0 0 35px rgba(0, 242, 254, 0.5); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .section-head p {
    max-width: 760px;
  }

  .hero-slider {
    height: 660px;
    min-height: 660px;
    max-height: none;
  }

  .hero-slide-content {
    padding-bottom: 82px;
  }

  .hero h1, .hero h2 {
    font-size: clamp(2.8rem, 6.8vw, 4.4rem);
  }

  .hero-grid, .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Sidebar drops below the article and stops sticking.
     minmax(0, 1fr) — not 1fr — so a wide table scrolls inside its own
     wrapper instead of stretching the grid track and the page with it. */
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .article-aside {
    position: static;
  }
  
  .hero-visual-wrapper {
    margin-top: 20px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .finder-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .cta-banner .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .nav-wrap {
    height: 72px;
  }

  /* Stack the slides in a single grid cell instead of absolutely positioning
     them inside a fixed height. The slider then grows to fit the tallest
     slide, so centred hero copy can never overflow past the top edge and get
     clipped behind the sticky header. */
  .hero { min-height: 0; }

  .hero-slider {
    display: grid;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-slide {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
  }

  .hero-slide-content {
    height: auto;
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    padding-top: 34px;
    padding-bottom: 104px;
  }

  .hero-slide-image { object-position: 64% center; }
  .hero-slide-shade { background: linear-gradient(90deg, rgba(4,9,20,.96), rgba(4,9,20,.72)); }
  .hero-slide-bright .hero-slide-shade { background: linear-gradient(90deg, rgba(4,9,20,.97), rgba(4,9,20,.86)); }
  .hero-badge { font-size: .78rem; gap: 8px; padding: 7px 14px; margin-bottom: 16px; }
  .hero-kicker { font-size: .74rem; letter-spacing: .14em; margin-bottom: 12px; }
  .hero h1, .hero h2 { font-size: clamp(2.05rem, 8.6vw, 2.9rem); line-height: 1.12; margin-bottom: 18px; }
  .hero p { font-size: 1rem; max-width: 100%; margin-bottom: 26px; }
  .hero .actions { width: 100%; gap: 12px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .hero-slider-arrows { display: none; }

  .hero-slider-controls { bottom: 24px; }

  .hero-slider-dots { margin-inline: auto; }

  .brand-logo {
    width: 145px;
    height: 54px;
  }

  .menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-900);
    padding: 30px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .grid-3, .grid-4, .steps, .review-grid, .finder-form-grid, .form-grid {
    grid-template-columns: 1fr;
  }

  .review-summary {
    gap: 14px;
    padding: 20px;
  }

  .review-summary .btn {
    margin-left: 0;
    width: 100%;
  }

  .hero-floating-stat {
    right: 10px;
    bottom: -15px;
    padding: 12px 18px;
  }

  .hero-floating-stat .stat-number {
    font-size: 1.6rem;
  }

  .section-head {
    gap: 14px;
    margin-bottom: 38px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom-meta {
    justify-content: center;
  }

  .contact-dock {
    right: 12px;
    bottom: 14px;
    gap: 10px;
  }

  .contact-dock .app-icon {
    width: 46px;
    height: 46px;
  }

  .contact-dock .app-icon svg {
    width: 26px;
    height: 26px;
  }
}
