/* ============================================================
   RedSun Solar Industries — Global Stylesheet
   Palette: Solar Red · Deep Navy · Soft Off-White
   Fonts : Outfit (headings) · DM Sans (body)
   ============================================================ */

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

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

body {
  font-family: 'DM Sans', sans-serif;
  color: #1D3557;
  background: var(--warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

/* ---------- CSS Variables ---------- */
:root {
  --red: #E63946;
  --red-dark: #9B1C24;
  --navy: #1D3557;
  --navy-light: #264166;
  --off-white: #F1FAEE;
  --warm-white: #FFFDF7;
  --gold: #F4A261;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-500: #6b7280;
  --shadow-sm: 0 2px 8px rgba(29, 53, 87, .06);
  --shadow-md: 0 8px 30px rgba(29, 53, 87, .10);
  --shadow-lg: 0 16px 50px rgba(29, 53, 87, .14);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
}

/* :root {
  --red: #E63946;
  --red-dark: #9B1C24;
  --navy: #1D3557;
  --navy-light: #264166;
  --off-white: #F1FAEE;
  --warm-white: #FFFDF7;
  --gold: #F4A261;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-500: #6b7280;
  --shadow-sm: 0 2px 8px rgba(29, 53, 87, .06);
  --shadow-md: 0 8px 30px rgba(29, 53, 87, .10);
  --shadow-lg: 0 16px 50px rgba(29, 53, 87, .14);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
} */

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  line-height: 1.7;
  color: var(--gray-500);
}

/* ---------- Utility ---------- */
.container {
  width: min(1200px, 90%);
  margin-inline: auto;
}

.section-pad {
  padding: 100px 0;
}

.accent {
  color: var(--red);
}

.badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(230, 57, 70, .08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--transition), transform .7s var(--transition);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Directional reveals */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px) scale(.97);
  transition: opacity .8s var(--transition), transform .8s var(--transition);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px) scale(.97);
  transition: opacity .8s var(--transition), transform .8s var(--transition);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .25s;
}

.reveal-delay-4 {
  transition-delay: .3s;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 46px;
  width: auto;
  display: block;
  transition: height var(--transition);
}

.header.scrolled .logo img {
  height: 40px;
}

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

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: .5px;
  transition: color var(--transition);
  position: relative;
}

.header.scrolled .nav-links a {
  color: var(--navy);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  background: var(--red);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 100px;
}

.nav-links a.active::after {
  display: none;
}

.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  gap: 5px;
  cursor: pointer;
  z-index: 1002;
  position: relative;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.25s ease, background 0.3s ease;
  transform-origin: center;
}

.header.scrolled .hamburger span {
  background: var(--navy);
}

.hamburger.open span {
  background: #fff !important;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(29, 53, 87, .85) 0%,
      rgba(29, 53, 87, .55) 50%,
      rgba(230, 57, 70, .25) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 640px;
  color: #fff;
}

.hero-content .badge {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero-content h1 span {
  display: block;
  background: linear-gradient(90deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  color: rgba(255, 255, 255, .8);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--red);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(230, 57, 70, .3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
  transform: translateY(-3px);
}

/* Hero decorative blob */
.hero-blob {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230, 57, 70, .18) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .6;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  position: relative;
  z-index: 3;
  margin-top: -70px;
  background: transparent;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.stat-item {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
  transition: background var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(230, 57, 70, .03);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: .85rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ============================================================
   PAYBACK SECTION — light
   ============================================================ */
.payback {
  background: var(--warm-white);
  position: relative;
  overflow: hidden;
}

.payback::before {
  content: '';
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(230, 57, 70, .06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.payback-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* LEFT CARD — dark navy */
.pb-left {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, var(--navy) 0%, #0f1d2e 100%);
  border-radius: var(--radius);
  padding: 52px 44px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pb-left::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(230, 57, 70, .22) 0%, transparent 65%);
  pointer-events: none;
}

.pb-left::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(244, 162, 97, .14) 0%, transparent 65%);
  pointer-events: none;
}

.pb-right {
  display: flex;
  align-items: stretch;
}

.pb-badge {
  background: rgba(255, 255, 255, .1) !important;
  color: rgba(255, 255, 255, .75) !important;
}

.pb-headline {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 14px;
  line-height: 1.2;
}

.pb-hl {
  background: linear-gradient(90deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pb-sub {
  color: rgba(255, 255, 255, .55);
  font-size: .97rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

/* Giant ₹0 */
.pb-stat-block {
  margin-bottom: 28px;
}

.pb-zero {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(5rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #f4c67a 50%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.pb-zero-label {
  font-family: 'Outfit', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
  margin-bottom: 10px;
}

.pb-zero-desc {
  color: rgba(255, 255, 255, .5);
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: 0;
}

/* Chips */
.pb-chips {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.pb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .65);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .3px;
}

.pb-chip svg {
  flex-shrink: 0;
  stroke: #f4c67a;
}

/* 2×2 feature panel */
.pb-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.pb-panel-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 34px 36px;
  text-align: left;
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--transition);
}

.pb-panel-item:hover {
  background: rgba(230, 57, 70, .03);
}

.pb-panel-item:nth-child(2),
.pb-panel-item:nth-child(4) {
  border-right: none;
}

.pb-panel-item:nth-child(3),
.pb-panel-item:nth-child(4) {
  border-bottom: none;
}

.pb-pi-icon {
  font-size: 1.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pb-panel-item strong {
  font-family: 'Outfit', sans-serif;
  font-size: .97rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}

.pb-panel-item p {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   PRODUCTS SECTION — dark
   ============================================================ */
.products {
  background: var(--navy);
}

.products-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.products-header h2 {
  color: #fff;
}

.products-header p {
  margin-top: 14px;
  color: rgba(255, 255, 255, .6);
}

.products .badge {
  color: var(--gold);
  background: rgba(244, 162, 97, .1);
  border: 1px solid rgba(244, 162, 97, .2);
}

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

.product-card {
  position: relative;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.product-card-img {
  height: 220px;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 24px;
}

.product-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}

.product-card-body p {
  font-size: .88rem;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, .6);
}

.card-link {
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.card-link:hover {
  gap: 12px;
}

/* ============================================================
   WHY US — INFINITE CAROUSEL — light
   ============================================================ */
.why-us {
  background: var(--warm-white);
  overflow: hidden;
  position: relative;
}

.why-us-header {
  text-align: center;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.why-us-header .badge {
  color: var(--red);
  background: rgba(230, 57, 70, .08);
  border: 1px solid rgba(230, 57, 70, .2);
}

.why-us-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 10px;
}

.why-us-header p {
  color: var(--gray-500);
  font-size: 1rem;
}

.why-carousel-wrapper {
  overflow: hidden;
  position: relative;
  padding: 8px 0 28px;
  cursor: grab;
}

.why-carousel-wrapper:active {
  cursor: grabbing;
}

.why-carousel-wrapper::before,
.why-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}

.why-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--warm-white) 0%, var(--warm-white) 30px, transparent);
}

.why-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--warm-white) 0%, var(--warm-white) 30px, transparent);
}

.why-carousel-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: why-scroll 38s linear infinite;
}

.why-carousel-wrapper:hover .why-carousel-track {
  animation-play-state: paused;
}

.why-carousel-track.is-dragging {
  transition: none;
}

@keyframes why-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.why-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding: 16px 40px;
  cursor: default;
}

.why-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid rgba(230, 57, 70, .3);
  background: rgba(230, 57, 70, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
  padding: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.why-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.why-item:hover .why-icon-wrap {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 24px rgba(230, 57, 70, .35);
  transform: scale(1.08);
}

.why-item-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
}

.why-item:hover .why-item-label {
  color: var(--red);
}

.why-divider {
  width: 1px;
  height: 44px;
  background: rgba(29, 53, 87, .15);
  flex-shrink: 0;
}

/* ============================================================
   WHY SOLAR / TRUST SECTION
   ============================================================ */
.trust {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.trust::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 57, 70, .12), transparent 65%);
  border-radius: 50%;
}

.trust .badge {
  color: var(--gold);
  background: rgba(244, 162, 97, .1);
}

.trust-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.trust-header h2 {
  color: #fff;
}

.trust-header p {
  color: rgba(255, 255, 255, .6);
  margin-top: 14px;
}

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

.trust-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.trust-card:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .15);
  transform: translateY(-5px);
}

.trust-icon {
  width: 56px;
  height: 56px;
  background: rgba(230, 57, 70, .15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
}

.trust-card h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.trust-card p {
  color: rgba(255, 255, 255, .55);
  font-size: .92rem;
}

/* ============================================================
   SAVINGS CALCULATOR
   ============================================================ */
.calculator {
  background: var(--warm-white);
  position: relative;
  overflow: hidden;
}

.calculator::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(244, 162, 97, .1), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.calc-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.calc-header p {
  margin-top: 14px;
}

.calc-body {
  background: #fff;
  border-radius: var(--radius);
  padding: 52px 52px 44px;
  box-shadow: var(--shadow-lg);
}

/* Input panel */
.calc-input-panel {
  margin-bottom: 48px;
}

.calc-input-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calc-input-label-row label {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.calc-bill-display {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  transition: transform .15s ease, opacity .15s ease;
}

.calc-bill-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-left: 2px;
}

/* Slider */
#billSlider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 7px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(
    to right,
    var(--red) 0%,
    var(--red) var(--fill, 12.82%),
    var(--gray-200) var(--fill, 12.82%),
    var(--gray-200) 100%
  );
}

#billSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid #fff;
  box-shadow: 0 3px 14px rgba(230, 57, 70, .4);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

#billSlider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 20px rgba(230, 57, 70, .55);
}

#billSlider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid #fff;
  box-shadow: 0 3px 14px rgba(230, 57, 70, .4);
  cursor: pointer;
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: .78rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Result cards */
.calc-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.calc-result-card {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 28px 18px 24px;
  text-align: center;
  border: 2px solid transparent;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.calc-result-card:hover {
  border-color: rgba(230, 57, 70, .25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.calc-result-card.highlight {
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
}

.calc-result-card.highlight:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 35px rgba(29, 53, 87, .25);
}

.calc-result-icon {
  font-size: 1.4rem;
  margin-bottom: 12px;
  line-height: 1;
}

.calc-result-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
  transition: transform .18s ease, opacity .18s ease;
}

.calc-result-card.highlight .calc-result-number {
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.calc-result-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calc-result-card.highlight .calc-result-label {
  color: rgba(255, 255, 255, .55);
}

/* CTA row */
.calc-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}

.calc-disclaimer {
  font-size: .78rem;
  color: var(--red);
  max-width: 520px;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
  .calc-results {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .calc-body {
    padding: 32px 24px 28px;
  }

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

  .calc-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .calc-input-label-row {
    flex-direction: column;
    gap: 6px;
  }

  .calc-bill-display {
    font-size: 1.6rem;
  }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, .08), transparent 60%);
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, .8);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 36px;
  position: relative;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: #fff;
  color: var(--red);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0e1e33;
  color: rgba(255, 255, 255, .6);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: .9rem;
  line-height: 1.7;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 8px;
}

.footer h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.footer ul a {
  font-size: .9rem;
  transition: color var(--transition);
}

.footer ul a:hover {
  color: var(--red);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
}

.footer-contact .icon {
  font-size: 1rem;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

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

.footer-bottom a:hover {
  color: var(--red);
}

/* ============================================================
   FLOATING QUOTE BUTTON
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: var(--red);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(230, 57, 70, .35);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: floatBounce 3s ease-in-out infinite;
}

.floating-cta:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 40px rgba(230, 57, 70, .45);
}

@keyframes floatBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .payback-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  /* Header & Navigation */
  .header {
    padding: 14px 0;
  }

  .header.scrolled {
    padding: 10px 0;
  }

  .logo img {
    height: 38px;
  }

  .header.scrolled .logo img {
    height: 34px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--navy);
    align-items: center;
    justify-content: center;
    gap: 22px;
    z-index: 1001;
    padding: 80px 24px 40px;
    overflow-y: auto;
  }

  .nav-links.active a {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
  }

  .nav-links.active .nav-cta {
    margin-top: 10px;
    width: 100%;
    max-width: 240px;
    text-align: center;
    justify-content: center;
  }

  /* Section Padding */
  .section-pad {
    padding: 64px 0;
  }

  /* Hero Section */
  .hero {
    min-height: 100svh;
    padding: 110px 0 60px;
    align-items: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 6.5vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .hero-content p {
    font-size: 1.02rem;
    margin-bottom: 28px;
    line-height: 1.65;
  }

  .hero-btns {
    gap: 12px;
  }

  /* Stats Bar */
  .stats-bar {
    margin-top: -36px;
  }

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

  .stat-item {
    padding: 24px 16px;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--gray-200);
  }

  .stat-item:nth-child(2),
  .stat-item:nth-child(4) {
    border-right: none;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: .8rem;
  }

  /* Payback Section */
  .payback-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pb-left {
    padding: 40px 28px;
  }

  .pb-headline {
    font-size: 1.85rem;
  }

  .pb-sub {
    font-size: .92rem;
    margin-bottom: 24px;
  }

  .pb-zero {
    font-size: clamp(4.2rem, 15vw, 6rem);
  }

  .pb-chips {
    margin-top: 24px;
    gap: 8px;
  }

  .pb-panel {
    grid-template-columns: 1fr;
  }

  .pb-panel-item {
    padding: 22px 20px;
    border-right: none !important;
    border-bottom: 1px solid var(--gray-200);
  }

  .pb-panel-item:last-child {
    border-bottom: none;
  }

  /* Products Grid */
  .products-header {
    margin-bottom: 40px;
  }

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

  .product-card {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  /* Why Us Carousel */
  .why-us-header {
    margin-bottom: 36px;
  }

  .why-carousel-wrapper::before,
  .why-carousel-wrapper::after {
    width: 48px;
  }

  .why-item {
    padding: 12px 24px;
    gap: 12px;
  }

  .why-icon-wrap {
    width: 52px;
    height: 52px;
    padding: 12px;
  }

  .why-item-label {
    font-size: 0.82rem;
  }

  .why-divider {
    height: 32px;
  }

  /* Trust Section */
  .trust-header {
    margin-bottom: 40px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .trust-card {
    padding: 28px 22px;
  }

  /* Calculator Section */
  .calc-header {
    margin-bottom: 40px;
  }

  .calc-body {
    padding: 30px 22px 26px;
  }

  .calc-results {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 28px;
  }

  .calc-result-card {
    padding: 20px 12px 18px;
  }

  .calc-result-number {
    font-size: 1.45rem;
  }

  .calc-result-label {
    font-size: .7rem;
    letter-spacing: .5px;
  }

  .calc-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .calc-cta-row .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .calc-disclaimer {
    max-width: 100%;
    font-size: .74rem;
  }

  /* CTA Section */
  .cta-section {
    padding: 64px 0;
  }

  .cta-section h2 {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .cta-section p {
    font-size: .98rem;
    margin-bottom: 28px;
  }

  .btn-white {
    padding: 14px 30px;
    font-size: .95rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
    margin: 0 auto;
    display: inline-flex;
  }

  /* Footer */
  .footer {
    padding: 56px 0 28px;
  }

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

  .footer h4 {
    margin-bottom: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: .8rem;
  }

  /* Floating CTA */
  .floating-cta {
    bottom: 18px;
    right: 18px;
    padding: 11px 20px;
    font-size: .84rem;
  }
}

@media (max-width: 480px) {
  /* Global */
  .container {
    width: 92%;
  }

  .section-pad {
    padding: 52px 0;
  }

  .logo img {
    height: 34px;
  }

  .header.scrolled .logo img {
    height: 30px;
  }

  /* Hero Section */
  .hero {
    padding: 95px 0 48px;
  }

  .hero-content h1 {
    font-size: 1.85rem;
    line-height: 1.22;
  }

  .hero-content p {
    font-size: .95rem;
    margin-bottom: 24px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
    font-size: .92rem;
  }

  /* Stats Bar */
  .stats-bar {
    margin-top: -20px;
  }

  .stat-item {
    padding: 16px 10px;
  }

  .stat-number {
    font-size: 1.65rem;
  }

  .stat-label {
    font-size: .72rem;
  }

  /* Payback Section */
  .pb-left {
    padding: 28px 18px;
  }

  .pb-headline {
    font-size: 1.55rem;
  }

  .pb-stat-block {
    margin-bottom: 16px;
  }

  .pb-zero {
    font-size: 3.8rem;
  }

  .pb-zero-label {
    letter-spacing: 1.5px;
    font-size: .68rem;
  }

  .pb-chips {
    gap: 6px;
  }

  .pb-chip {
    padding: 5px 10px;
    font-size: .7rem;
  }

  .pb-panel-item {
    padding: 16px 14px;
    gap: 12px;
  }

  .pb-pi-icon {
    font-size: 1.25rem;
  }

  .pb-panel-item strong {
    font-size: .9rem;
  }

  .pb-panel-item p {
    font-size: .8rem;
  }

  /* Products */
  .product-card-img {
    height: 190px;
  }

  .product-card-body {
    padding: 18px 16px;
  }

  /* Why Us Carousel */
  .why-carousel-wrapper::before,
  .why-carousel-wrapper::after {
    width: 32px;
  }

  .why-item {
    padding: 10px 16px;
    gap: 10px;
  }

  .why-icon-wrap {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  .why-item-label {
    font-size: 0.76rem;
  }

  .why-divider {
    height: 26px;
  }

  /* Trust */
  .trust-card {
    padding: 22px 16px;
  }

  .trust-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    margin-bottom: 14px;
  }

  /* Calculator */
  .calc-body {
    padding: 20px 14px 18px;
  }

  .calc-input-panel {
    margin-bottom: 22px;
  }

  .calc-input-label-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .calc-input-label-row label {
    font-size: .88rem;
  }

  .calc-bill-display {
    font-size: 1.45rem;
  }

  .calc-results {
    gap: 8px;
  }

  .calc-result-card {
    padding: 14px 6px 12px;
  }

  .calc-result-icon {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }

  .calc-result-number {
    font-size: 1.25rem;
    margin-bottom: 4px;
  }

  .calc-result-label {
    font-size: .62rem;
    letter-spacing: .2px;
  }

  /* CTA */
  .cta-section h2 {
    font-size: 1.55rem;
  }

  /* Floating CTA */
  .floating-cta {
    bottom: 14px;
    right: 14px;
    padding: 9px 15px;
    font-size: .78rem;
  }
}