/* =========================================
   SUDHIR BROTHERS — products-services.css
   ========================================= */

/* ── Active nav link ── */
.nav-active {
  color: var(--blue) !important;
  background: rgba(88,109,166,0.07) !important;
  border-radius: 4px;
}

/* ==============================
   PAGE HERO
   ============================== */
.page-hero {
  position: relative;
  height: 340px;
  background:
    linear-gradient(105deg, rgba(13,27,46,0.92) 0%, rgba(88,109,166,0.70) 100%),
    url('/assets/images/static.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  margin-top: 72px; /* navbar height */
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  /* subtle grid texture matching GPI section */
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero-content .section-label {
  color: rgba(255,255,255,0.60);
  margin-bottom: 8px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 14px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.page-hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 20px;
  animation: fadeUp 0.7s 0.2s ease both;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  animation: fadeUp 0.7s 0.3s ease both;
}
.breadcrumb a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ==============================
   STICKY PRODUCT NAV
   ============================== */
.prod-nav {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: var(--white);
  border-bottom: 2px solid var(--grey-light);
  box-shadow: 0 2px 12px rgba(11,31,58,0.06);
}
.prod-nav-list {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.prod-nav-list::-webkit-scrollbar { display: none; }
.prod-nav-link {
  display: block;
  padding: 16px 22px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--grey-mid);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.prod-nav-link:hover { color: var(--blue); }
.prod-nav-link.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 600;
}

/* ==============================
   PRODUCT SECTIONS
   ============================== */
.products-main { background: var(--white); }

.prod-section {
  padding: 80px 0;
  background: var(--white);
}
.prod-section--alt {
  background: var(--off-white);
}

/* Section header — clean, no label */
.prod-section-header {
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-light);
}
.prod-section-header .section-title { margin: 0; }

/* ── LSAW full-width specs layout ── */
.lsaw-sub .sub-product-inner {
  margin-bottom: 48px;
}
.lsaw-specs-row {
  width: 100%;
}
.lsaw-specs-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.lsaw-specs-heading svg { stroke: var(--blue); flex-shrink: 0; }
.sub-product {
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--grey-light);
}
.sub-product:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.sub-product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.sub-product--flip .sub-product-inner {
  direction: rtl;
}
.sub-product--flip .sub-product-inner > * {
  direction: ltr;
}

.sub-product-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}
.sub-product-text p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--grey-dark);
  margin-bottom: 14px;
}
.sub-product-text p:last-of-type { margin-bottom: 20px; }

.sub-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.sub-product-tags span {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(88,109,166,0.09);
  color: var(--blue);
  border-radius: 40px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid rgba(88,109,166,0.2);
}

/* Special equipment types grid */
.special-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}
.special-type-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--off-white);
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--grey-dark);
  border-left: 3px solid var(--blue);
  transition: all var(--transition);
}
.special-type-item:hover {
  background: rgba(88,109,166,0.06);
  color: var(--navy);
  transform: translateX(3px);
}
.special-type-item svg {
  width: 18px; height: 18px;
  stroke: var(--blue);
  flex-shrink: 0;
}

/* ==============================
   IMAGE CAROUSEL
   ============================== */
.sub-product-carousel-wrap {
  position: relative;
}
.carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.carousel-track {
  display: flex;
  /* no transition by default — set via JS */
}
.carousel-slide {
  flex: 0 0 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.carousel:hover .carousel-slide img { transform: scale(1.03); }

/* Prev / Next buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(13,27,46,0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 3;
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-50%) scale(1.08);
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}
.cdot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.cdot.active {
  background: var(--white);
  width: 20px;
  border-radius: 4px;
}

/* Counter */
.carousel-counter {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(13,27,46,0.55);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 3;
  letter-spacing: 0.06em;
}

/* ==============================
   SPECS TABLE
   ============================== */
.specs-table-wrap {
  margin-top: 28px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-light);
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.specs-table thead {
  background: var(--navy);
}
.specs-table thead th {
  padding: 13px 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: none;
}
.specs-table tbody tr {
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
}
.specs-table tbody td {
  padding: 14px 16px;
  color: var(--grey-dark);
  line-height: 1.6;
  vertical-align: top;
}
.specs-table tbody td strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 4px;
}
.spec-badge {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}
.specs-note-row td {
  background: rgba(88,109,166,0.05);
  color: var(--grey-dark);
  font-size: 0.83rem;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: none;
}
.specs-note-row td svg {
  flex-shrink: 0;
  stroke: var(--blue);
  margin-top: 1px;
}
.specs-note-row td strong { display: inline; color: var(--navy); }

/* ==============================
   CTA BAND
   ============================== */
.cta-band {
  background: var(--blue);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cta-band-sub {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 960px) {
  .sub-product-inner { grid-template-columns: 1fr; gap: 36px; }
  .sub-product--flip .sub-product-inner { direction: ltr; }
}

@media (max-width: 768px) {
  .page-hero { height: 280px; }
  .page-hero-title { font-size: 2.2rem; }
  .prod-nav-link { padding: 14px 16px; font-size: 0.79rem; }
  .sub-product { margin-bottom: 48px; padding-bottom: 48px; }
  .special-types { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .prod-section { padding: 56px 0; }
  .carousel-btn { width: 34px; height: 34px; }
  .carousel-btn svg { width: 15px; height: 15px; }
}
