/* Product Range page — reference layout */

body.page-product-range {
  background: #010810;
}

body.page-product-range .nav {
  background: rgba(1, 8, 16, 0.92);
  backdrop-filter: blur(20px);
}

/* ─── Hero (full reference layout) ─── */
.product-hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 clamp(56px, 8vw, 88px);
  background: #0c1a2a;
}

.product-hero__banner {
  position: relative;
  min-height: clamp(480px, 68vh, 680px);
  padding: 0;
  background: #0c1a2a;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.product-hero__bg {
  position: absolute;
  inset: 0;
  background: #0c1a2a url('../images/product-lineup-hero.jpg') center center / cover no-repeat;
}

.product-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 10, 20, 0.9) 0%, rgba(5, 10, 20, 0.72) 32%, rgba(5, 10, 20, 0.4) 50%, rgba(5, 10, 20, 0.15) 68%, transparent 100%),
    linear-gradient(180deg, rgba(1, 8, 16, 0.4) 0%, transparent 30%, transparent 70%, rgba(1, 8, 16, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

.product-hero__banner::before {
  display: none;
}

.product-hero__banner-inner {
  position: relative;
  z-index: 2;
  display: block;
  min-height: clamp(420px, 58vh, 640px);
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding: calc(var(--nav-h) + clamp(32px, 5vw, 48px)) max(4vw, calc((100vw - min(1280px, 92vw)) / 2)) clamp(32px, 4vw, 48px);
}

.product-hero__header {
  text-align: left;
  max-width: min(520px, 100%);
  padding-right: 0;
  align-self: center;
  position: relative;
  z-index: 2;
}

.product-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.65rem;
}

.product-hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  color: var(--aqua);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid rgba(55, 183, 240, 0.55);
  display: inline-block;
}

.product-hero__lead {
  max-width: 46ch;
  margin: 0;
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}

.product-hero > .container {
  padding-top: clamp(40px, 6vw, 56px);
}

.product-hero__section-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 28px);
  margin-bottom: clamp(24px, 4vw, 36px);
}

.product-hero__section-title::before,
.product-hero__section-title::after {
  content: '';
  flex: 1;
  max-width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(55, 183, 240, 0.55), transparent);
}

.product-hero__section-title--left {
  text-align: left;
  justify-content: flex-start;
  margin-bottom: clamp(18px, 3vw, 24px);
}

.product-hero__section-title--left::before,
.product-hero__section-title--left::after {
  display: none;
}

.product-hero__formats {
  margin-bottom: clamp(48px, 7vw, 72px);
}

.product-hero__formats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.product-hero__format-card {
  background: linear-gradient(160deg, rgba(13, 34, 64, 0.95) 0%, rgba(8, 24, 44, 0.92) 100%);
  border: 1px solid rgba(55, 183, 240, 0.18);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 32px) clamp(16px, 2.5vw, 22px);
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.product-hero__format-card:hover {
  border-color: rgba(55, 183, 240, 0.38);
  transform: translateY(-3px);
}

.product-hero__format-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid rgba(55, 183, 240, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aqua);
  background: radial-gradient(circle at 50% 35%, rgba(55, 183, 240, 0.16) 0%, rgba(55, 183, 240, 0.04) 70%);
  box-shadow: 0 0 24px rgba(55, 183, 240, 0.12);
}

.product-hero__format-icon svg {
  width: 28px;
  height: 42px;
}

.product-hero__format-size {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--aqua);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.product-hero__format-card p {
  font-size: clamp(0.82rem, 1.3vw, 0.9rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.product-hero__duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.product-hero__panel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(55, 183, 240, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  min-height: clamp(260px, 32vw, 320px);
  display: flex;
  align-items: center;
  padding: clamp(28px, 4vw, 40px);
  background-color: #010810;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.product-hero__panel--branding {
  background-image: url('../images/product-branding-hero.png');
}

.product-hero__panel--highlights {
  background-image: url('../images/product-highlights-hero.png');
}

.product-hero__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(1, 8, 16, 0.95) 0%,
    rgba(1, 8, 16, 0.9) 48%,
    rgba(1, 8, 16, 0.74) 74%,
    rgba(1, 8, 16, 0.5) 100%
  );
  pointer-events: none;
}
.product-hero__panel-copy h3,
.product-hero__panel-copy p,
.product-hero__list li { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55); }
.product-hero__panel-copy { max-width: min(560px, 96%) !important; }

.product-hero__panel-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: min(420px, 92%);
}

.product-hero__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-hero__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: clamp(0.84rem, 1.3vw, 0.92rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.product-hero__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--aqua);
  font-weight: 700;
}

.product-hero__list--icons li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 0;
}

.product-hero__list--icons li::before {
  display: none;
}

.product-hero__list-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(55, 183, 240, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aqua);
  background: rgba(55, 183, 240, 0.1);
}

.product-hero__list-icon svg {
  width: 16px;
  height: 16px;
}

/* ─── Sections below hero (unchanged) ─── */
.product-details {
  padding: clamp(56px, 8vw, 88px) 0;
  background: #f4f8fc;
}

.product-details__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.product-details__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 0.65rem;
  border-radius: 2px;
  background: var(--aqua);
}

.product-formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: clamp(28px, 4vw, 40px);
}

.product-format-card {
  background: #fff;
  border-radius: 14px;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 6px 24px rgba(11, 31, 58, 0.06);
  border: 1px solid rgba(11, 31, 58, 0.05);
}

.product-format-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.product-format-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.product-note {
  margin-top: clamp(24px, 4vw, 32px);
  padding: 16px 20px;
  border-radius: 10px;
  background: rgba(55, 183, 240, 0.08);
  border-left: 3px solid var(--aqua);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-style: italic;
}

.product-branding {
  padding: clamp(56px, 8vw, 88px) 0;
  background: #eef4fa;
}

.product-branding__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: clamp(28px, 4vw, 40px);
}

.product-branding__card {
  background: #fff;
  border-radius: 14px;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 6px 24px rgba(11, 31, 58, 0.06);
  border: 1px solid rgba(11, 31, 58, 0.05);
}

.product-branding__card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

body.page-product-range .footer {
  margin-top: 0;
}

/* ─── CTA (dark + wave background) ─── */
.product-cta {
  position: relative;
  padding: clamp(56px, 8vw, 88px) 0 clamp(72px, 10vw, 104px);
  background: #010810 url('../images/product-cta-wave.png') center bottom / cover no-repeat;
  overflow: hidden;
}

.product-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #010810 0%, rgba(1, 8, 16, 0.72) 28%, rgba(1, 8, 16, 0.2) 55%, transparent 100%);
  pointer-events: none;
}

.product-cta .container {
  position: relative;
  z-index: 1;
}

body.page-product-range .product-cta .cta-banner {
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.96) 0%, rgba(13, 36, 64, 0.94) 55%, rgba(18, 50, 88, 0.92) 100%);
  border: 1px solid rgba(55, 183, 240, 0.2);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1024px) {
  .product-hero__formats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-hero__duo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .product-formats,
  .product-branding__grid {
    grid-template-columns: 1fr;
  }

  .product-hero__banner-inner {
    min-height: clamp(380px, 62vh, 520px);
    padding-right: max(4vw, calc((100vw - min(1280px, 92vw)) / 2));
  }

  .product-hero__banner {
    min-height: clamp(420px, 65vh, 560px);
  }

  .product-hero__overlay {
    background:
      linear-gradient(180deg, rgba(5, 10, 20, 0.88) 0%, rgba(5, 10, 20, 0.65) 45%, rgba(5, 10, 20, 0.82) 100%);
  }

  .product-hero__header {
    max-width: 100%;
    padding-right: 0;
  }

  .product-hero__panel {
    min-height: clamp(300px, 48vw, 360px);
  }

  .product-hero__panel-copy {
    max-width: min(380px, 100%);
  }
}

@media (max-width: 600px) {
  .product-hero__formats-grid {
    grid-template-columns: 1fr;
  }
}

/* Product hero — smaller, darker image on mobile so text stays clear */
@media (max-width: 768px) {
  .product-hero__bg {
    background-size: 118% auto;
    background-position: center 78%;
    background-color: #0a1622;
  }
  .product-hero__overlay {
    background:
      linear-gradient(180deg, rgba(4, 10, 20, 0.9) 0%, rgba(4, 10, 20, 0.62) 40%, rgba(4, 10, 20, 0.92) 100%),
      linear-gradient(90deg, rgba(5, 10, 20, 0.82) 0%, rgba(5, 10, 20, 0.55) 60%, rgba(5, 10, 20, 0.35) 100%);
  }
}
