/* ================================================================
   RAGHAV POLYMERS GROUP — Brand Design System
   Version 1.0 | 2026
   ================================================================ */

/* ======== 1. DESIGN TOKENS ======== */
:root {
  /* --- Brand Colors --- */
  --rp-red: #c8102e;
  --rp-red-dark: #a00d24;
  --rp-red-light: #e8354d;
  --rp-red-glow: rgba(200, 16, 46, 0.07);

  --rp-black: #111111;
  --rp-charcoal: #1c1c1c;
  --rp-slate: #2a2a2a;

  /* --- Neutrals --- */
  --rp-warm-white: #faf9f7;
  --rp-off-white: #f4f2ef;
  --rp-sand: #ece8e2;
  --rp-grey-mid: #d5d0ca;
  --rp-white: #ffffff;

  /* --- Text --- */
  --rp-text-dark: #1a1a1a;
  --rp-text-body: #444444;
  --rp-text-muted: #6b6863;
  --rp-text-light: #8a8780;

  /* --- Subsidiary Accents --- */
  --sub-bhavya: #C9960C;
  --sub-bhavya-light: #DAA520;
  --sub-bhavya-dark: #9A7209;

  --sub-jay: #006D77;
  --sub-jay-light: #0090A0;
  --sub-jay-dark: #004D55;

  --sub-miranda: #2859A5;
  --sub-miranda-light: #3A6FBD;
  --sub-miranda-dark: #1C4080;

  --sub-polstar: #1B2D5B;
  --sub-polstar-light: #2A4278;
  --sub-polstar-dark: #0F1D3D;

  /* --- Functional --- */
  --whatsapp: #1a9d5c;
  --whatsapp-dark: #158c50;
  --success: #16a34a;
  --warning: #d97706;
  --error: #dc2626;

  /* --- Borders --- */
  --rp-border: rgba(0, 0, 0, 0.07);
  --rp-border-dark: rgba(255, 255, 255, 0.08);

  /* --- Typography --- */
  --font-heading: 'Montserrat', sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;

  /* --- Spacing (8px base) --- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* --- Radius --- */
  --radius: 6px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-red: 0 8px 24px rgba(200, 16, 46, 0.2);

  /* --- Print --- */
  --print-margin: 20mm;
  --print-bleed: 3mm;
}


/* ======== 2. RESET & BASE ======== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-heading);
  background: var(--rp-warm-white);
  color: var(--rp-text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { -webkit-tap-highlight-color: transparent; }
a, button, input, select, textarea { touch-action: manipulation; }
ul, ol { list-style: none; }

/* Subtle grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.018'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
}


/* ======== 3. TYPOGRAPHY SCALE ======== */
h1, .h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2, .h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3, .h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

h4, .h4 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.text-body {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--rp-text-body);
}

.text-small {
  font-size: 13px;
  line-height: 1.65;
  color: var(--rp-text-muted);
}

/* Italic accent — Playfair Display for elegant emphasis */
.accent, .italic-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--rp-red);
  letter-spacing: 0;
}

/* Section overline / label */
.sec-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rp-red);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--rp-red);
}

/* Section heading */
.sec-heading {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  text-wrap: balance;
}

/* Section subtitle / description */
.sec-sub {
  font-size: 15px;
  line-height: 1.8;
  color: var(--rp-text-body);
  max-width: 500px;
  margin-bottom: 52px;
}


/* ======== 4. BUTTON SYSTEM ======== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn:focus-visible {
  outline: 2px solid var(--rp-red);
  outline-offset: 2px;
}

.btn-red {
  padding: 15px 32px;
  background: var(--rp-red);
  color: var(--rp-white);
}
.btn-red:hover {
  background: var(--rp-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-outline {
  padding: 15px 28px;
  background: transparent;
  color: var(--rp-text-dark);
  border: 2px solid var(--rp-text-dark);
}
.btn-outline:hover {
  background: var(--rp-text-dark);
  color: var(--rp-white);
}

.btn-outline-light {
  padding: 15px 28px;
  background: transparent;
  color: var(--rp-white);
  border: 2px solid rgba(255, 255, 255, 0.25);
}
.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.btn-whatsapp {
  padding: 15px 32px;
  background: transparent;
  color: #1a9d5c;
  border: 2px solid #1a9d5c;
}
.btn-whatsapp:hover {
  background: rgba(26, 157, 92, 0.1);
  color: #1da851;
  border-color: #1da851;
  transform: translateY(-2px);
}

/* Solid green variant — use sparingly */
.btn-whatsapp-solid {
  padding: 15px 32px;
  background: var(--whatsapp);
  color: var(--rp-white);
  border: none;
}
.btn-whatsapp-solid:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 157, 92, 0.25);
}

/* WhatsApp floating action button (mobile) */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: rgba(26, 157, 92, 0.1);
  border: 1.5px solid rgba(26, 157, 92, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 8000;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: calc(24px + env(safe-area-inset-right, 0px));
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.whatsapp-fab:hover {
  transform: scale(1.06);
  background: rgba(26, 157, 92, 0.18);
  border-color: #1a9d5c;
}
.whatsapp-fab svg { width: 26px; height: 26px; fill: #1a9d5c; }

/* Arrow icon for buttons */
.arrow-icon { display: inline-block; }


/* ======== 5. LAYOUT UTILITIES ======== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 110px 0;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

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


/* ======== 6. COMPONENT LIBRARY ======== */

/* --- Stats Bar --- */
.stats-section {
  padding: 64px 0;
  background: var(--rp-white);
  border-bottom: 1px solid var(--rp-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-cell {
  text-align: center;
  padding: 12px 24px;
  position: relative;
}
.stat-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--rp-border);
}
.stat-num {
  font-family: var(--font-accent);
  font-size: 42px;
  font-weight: 700;
  color: var(--rp-text-dark);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-num span { color: inherit; }
.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rp-text-muted);
  margin-top: 8px;
}

/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rp-border);
  background: var(--rp-white);
}
.product-cell {
  padding: 40px 32px;
  border-right: 1px solid var(--rp-border);
  border-bottom: 1px solid var(--rp-border);
  position: relative;
  transition: background 0.3s;
  cursor: default;
}
.product-cell:nth-child(3n) { border-right: none; }
.product-cell:nth-last-child(-n+3) { border-bottom: none; }
.product-cell::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--rp-red);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-cell:hover { background: var(--rp-off-white); }
.product-cell:hover::after { width: 100%; }

.prod-num {
  font-family: var(--font-accent);
  font-size: 32px;
  font-style: italic;
  color: var(--rp-sand);
  line-height: 1;
  margin-bottom: 18px;
  transition: color 0.3s;
}
.product-cell:hover .prod-num { color: var(--rp-red); }
.product-cell h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.product-cell p { font-size: 13px; color: var(--rp-text-muted); line-height: 1.65; margin-bottom: 14px; }

/* --- Tags --- */
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid var(--rp-border);
  border-radius: 2px;
  color: var(--rp-text-muted);
  background: var(--rp-white);
}

/* --- Advantage Cards --- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.adv-card {
  padding: 44px 28px;
  border-right: 1px solid var(--rp-border);
  position: relative;
  transition: background 0.3s;
}
.adv-card:last-child { border-right: none; }
.adv-card:hover { background: var(--rp-white); }
.adv-card-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--rp-red);
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}
.adv-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.adv-card p { font-size: 13px; color: var(--rp-text-muted); line-height: 1.7; }

/* --- Group Company Cards --- */
.group-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.group-card {
  background: var(--rp-warm-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.group-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  border-radius: 3px 0 0 3px;
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.group-card:hover {
  border-color: rgba(200, 16, 46, 0.15);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.group-card:hover::before { height: 100%; }

/* Subsidiary accent colors on group cards */
.group-card--raghav::before { background: var(--rp-red); }
.group-card--bhavya::before { background: var(--sub-bhavya); }
.group-card--jay::before { background: var(--sub-jay); }
.group-card--miranda::before { background: var(--sub-miranda); }
.group-card--polstar::before { background: var(--sub-polstar); }

.group-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.group-card--raghav .group-card-tag { color: var(--rp-red); }
.group-card--bhavya .group-card-tag { color: var(--sub-bhavya); }
.group-card--jay .group-card-tag { color: var(--sub-jay); }
.group-card--miranda .group-card-tag { color: var(--sub-miranda); }
.group-card--polstar .group-card-tag { color: var(--sub-polstar); }

.group-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.group-card p { font-size: 12.5px; color: var(--rp-text-muted); line-height: 1.6; }

/* --- Partnership Section --- */
.partner-section {
  background: var(--rp-charcoal);
  color: var(--rp-white);
  overflow: hidden;
  position: relative;
}
.partner-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.06), transparent 60%);
}
.partner-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.partner-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.partner-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Sustainability Split Box --- */
.sustain-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rp-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sustain-dark {
  background: var(--rp-charcoal);
  color: var(--rp-white);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.sustain-dark::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.08), transparent 60%);
}
.sustain-dark h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.sustain-dark p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}
.sustain-light {
  background: var(--rp-white);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Certification Cards --- */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cert-card {
  padding: 20px 18px;
  background: var(--rp-off-white);
  border: 1px solid var(--rp-border);
  border-radius: 4px;
  transition: border-color 0.2s;
}
.cert-card:hover { border-color: rgba(200, 16, 46, 0.2); }
.cert-card h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.cert-card p { font-size: 11.5px; color: var(--rp-text-muted); line-height: 1.5; }

/* --- SAP/Operations Process Flow --- */
.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--sp-7);
  flex-wrap: wrap;
}
.process-step {
  display: flex;
  align-items: center;
  gap: 0;
}
.process-node {
  padding: 10px 20px;
  background: rgba(200, 16, 46, 0.1);
  border: 1px solid rgba(200, 16, 46, 0.2);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rp-white);
  white-space: nowrap;
}
.process-arrow {
  width: 32px;
  height: 1px;
  background: rgba(200, 16, 46, 0.3);
  position: relative;
}
.process-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  border-left: 6px solid rgba(200, 16, 46, 0.3);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

/* --- Operations Feature Cards --- */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.ops-card {
  padding: 36px 28px;
  background: var(--rp-charcoal);
  transition: background 0.3s;
}
.ops-card:hover { background: var(--rp-slate); }
.ops-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
}
.ops-card-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--rp-red);
  stroke-width: 1.5;
  fill: none;
}
.ops-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--rp-white);
  margin-bottom: 8px;
}
.ops-card p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.65;
}


/* ======== 7. HEADER & NAVIGATION ======== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rp-border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo svg { width: 310px; height: auto; transition: width 0.3s ease; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--rp-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--rp-text-dark); }

.nav-cta-btn {
  background: var(--rp-red) !important;
  color: var(--rp-white) !important;
  padding: 10px 22px !important;
  border-radius: 4px;
  transition: background 0.2s !important;
}
.nav-cta-btn:hover { background: var(--rp-red-dark) !important; }

.nav-whatsapp-btn {
  color: #1a9d5c !important;
  padding: 8px 18px !important;
  border-radius: 4px;
  border: 1.5px solid rgba(26, 157, 92, 0.4) !important;
  background: rgba(26, 157, 92, 0.04) !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, border-color 0.2s, color 0.2s !important;
}
.nav-whatsapp-btn:hover {
  background: rgba(26, 157, 92, 0.1) !important;
  border-color: #1a9d5c !important;
  color: #1da851 !important;
}
.nav-whatsapp-btn svg { width: 16px; height: 16px; fill: #1a9d5c; }


/* ======== 8. MARQUEE BAND ======== */
.red-band {
  border-top: 2px solid var(--rp-red);
  padding: 14px 0;
  overflow: hidden;
  background: var(--rp-white);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marqueeScroll 35s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rp-text-dark);
  padding: 0 24px;
  flex-shrink: 0;
}
.marquee-sep {
  width: 1px;
  height: 14px;
  background: var(--rp-border);
  flex-shrink: 0;
}

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


/* ======== 9. ANIMATION SYSTEM ======== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes dashMove {
  to { stroke-dashoffset: -20; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for children */
.stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger.vis > * { opacity: 1; transform: translateY(0); }
.stagger.vis > *:nth-child(1) { transition-delay: 0s; }
.stagger.vis > *:nth-child(2) { transition-delay: 0.06s; }
.stagger.vis > *:nth-child(3) { transition-delay: 0.08s; }
.stagger.vis > *:nth-child(4) { transition-delay: 0.12s; }
.stagger.vis > *:nth-child(5) { transition-delay: 0.16s; }
.stagger.vis > *:nth-child(6) { transition-delay: 0.2s; }

/* Hero-specific animations */
.hero-overline { opacity: 0; animation: fadeUp 0.7s ease 0.1s forwards; }
.hero h1 { opacity: 0; animation: fadeUp 0.7s ease 0.25s forwards; }
.hero-sub { opacity: 0; animation: fadeUp 0.7s ease 0.4s forwards; }
.hero-actions { opacity: 0; animation: fadeUp 0.7s ease 0.55s forwards; }
.hero-trust { opacity: 0; animation: fadeUp 0.7s ease 0.7s forwards; }
.hero-visual { opacity: 0; animation: fadeUp 0.7s ease 0.35s forwards; }


/* ======== 9b. REDUCED MOTION ======== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .stagger > * { opacity: 1; transform: none; }
  .hero-overline, .hero h1, .hero-sub, .hero-actions, .hero-trust, .hero-visual {
    opacity: 1;
    animation: none;
  }
  .marquee-track { animation: none; }
}

/* ======== 10. PRINT STYLES ======== */
@media print {
  body::after { display: none; }
  .whatsapp-fab { display: none; }
  header { position: static; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
  .section { padding: 40px 0; break-inside: avoid; }
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}


/* ======== 11. RESPONSIVE ======== */

/* Tablet */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-cell:nth-child(2n) { border-right: none; }
  .product-cell:nth-child(3n) { border-right: 1px solid var(--rp-border); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-card:nth-child(2n) { border-right: none; }
  .adv-card { border-bottom: 1px solid var(--rp-border); }
  .partner-grid { grid-template-columns: 1fr; gap: 48px; }
  .group-grid { grid-template-columns: repeat(3, 1fr); }
  .sustain-box { grid-template-columns: 1fr; }
  .ops-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .header-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .section { padding: 80px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-cell { border-right: none !important; }
  .adv-grid { grid-template-columns: 1fr; }
  .adv-card { border-right: none !important; }
  .group-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2)::after { display: none; }
  .stat-cell { padding: 16px; }
  .sustain-dark, .sustain-light { padding: 36px 24px; }
  .cert-grid { grid-template-columns: 1fr; }
  .partner-badges { justify-content: center; }
  .ops-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-flow { flex-direction: column; gap: 8px; }
  .process-arrow { width: 1px; height: 20px; }
  .process-arrow::after {
    right: auto;
    top: auto;
    bottom: 0;
    left: -3px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 6px solid rgba(200, 16, 46, 0.3);
    border-bottom: none;
  }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-red, .btn-outline, .btn-whatsapp { width: 100%; justify-content: center; }
  .footer-inner { padding: 0 24px; }
  .hero-float-stat { left: 0; bottom: -12px; }
}

/* Small phones */
@media (max-width: 480px) {
  .stat-num { font-size: 32px; }
  .stat-label { font-size: 9px; }
  h1, .h1 { font-size: 28px; }
  h2, .h2, .sec-heading { font-size: 24px; }
}


/* ======== 12. CTA SECTION ======== */
.cta-section {
  background: var(--rp-warm-white);
  color: var(--rp-charcoal);
  text-align: center;
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.03), transparent 55%);
}
.cta-section .sec-label { justify-content: center; }
.cta-section .sec-heading {
  max-width: 580px;
  margin: 0 auto 14px;
  color: var(--rp-charcoal);
}
.cta-section .sec-sub {
  margin: 0 auto 44px;
  text-align: center;
  color: var(--rp-text-muted);
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.cta-contacts {
  display: flex;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}
.cta-contact { font-size: 13px; color: var(--rp-text-muted); }
.cta-contact a {
  color: var(--rp-charcoal);
  text-decoration: none;
  transition: color 0.2s;
}
.cta-contact a:hover { color: var(--rp-red); }


/* ======== 13. FOOTER ======== */
footer {
  background: var(--rp-black);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 36px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.2);
}
.footer-nav {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-nav a {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(255, 255, 255, 0.6); }


/* ======== 14. HERO ======== */
.hero {
  padding: 140px 0 100px;
  background: var(--rp-white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rp-border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-text { position: relative; z-index: 2; }
.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rp-red);
  margin-bottom: 24px;
}
.hero-overline::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--rp-red);
}
.hero h1 { margin-bottom: 24px; }
.hero-sub {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--rp-text-body);
  max-width: 460px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rp-border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-trust-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rp-text-muted);
  line-height: 1.4;
}
.hero-trust-badge {
  background: var(--rp-off-white);
  border: 1px solid var(--rp-border);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--rp-text-dark);
}

/* Hero visual / map container */
.hero-visual {
  position: relative;
}

/* India map isometric container */
.india-map-wrapper {
  perspective: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.india-map {
  transform: rotateX(12deg) rotateY(-8deg) rotateZ(2deg);
  animation: float 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

/* Map warehouse dots */
.map-dot {
  fill: var(--rp-red);
  transition: r 0.2s;
}
.map-dot-glow {
  fill: var(--rp-red);
  opacity: 0.4;
  animation: pulse 2s ease-in-out infinite;
}
.map-dot-hq {
  fill: var(--rp-red);
}
.map-dot-hq-glow {
  fill: var(--rp-red);
  opacity: 0.3;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Map connecting lines */
.map-connection {
  stroke: var(--rp-red);
  stroke-width: 0.8;
  stroke-dasharray: 4 4;
  opacity: 0.25;
  animation: dashMove 2s linear infinite;
}

/* Map labels */
.map-label {
  font-family: var(--font-heading);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--rp-text-muted);
  opacity: 0;
  transition: opacity 0.2s;
}
.map-dot:hover ~ .map-label,
.map-label:hover {
  opacity: 1;
}

/* Map stats overlay */
.map-stats {
  text-align: center;
  margin-top: var(--sp-5);
}
.map-stats-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rp-text-muted);
}


/* ======== 15. WHATSAPP PRICING SECTION ======== */
.wa-pricing-section {
  background: var(--rp-off-white);
  border-top: 1px solid var(--rp-border);
  border-bottom: 1px solid var(--rp-border);
  padding: 64px 0;
  text-align: center;
}
.wa-pricing-section h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}
.wa-pricing-section p {
  font-size: 14px;
  color: var(--rp-text-muted);
  max-width: 440px;
  margin: 0 auto 28px;
  line-height: 1.7;
}


/* ======== 16. MOBILE NAVIGATION ======== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--rp-text-dark);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 1px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(250, 249, 247, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 100px 40px 40px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile > a {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rp-text-dark);
  padding: 16px 0;
  border-bottom: 1px solid var(--rp-border);
  text-decoration: none;
  text-transform: uppercase;
}
.nav-mobile > a:last-child { border-bottom: none; }
.nav-mobile .nav-mobile-cta {
  margin-top: 24px;
  padding-bottom: 40px;
  text-align: center;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
}


/* ======== 17. PAGE HERO VARIANTS ======== */

/* Page hero — image background */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}
.page-hero--light {
  background: var(--rp-white);
  border-bottom: 1px solid var(--rp-border);
}
.page-hero--dark {
  background: var(--rp-charcoal);
  color: var(--rp-white);
}
.page-hero--dark .sec-sub { color: rgba(255,255,255,0.45); }
.page-hero--dark .hero-overline { color: var(--rp-red); }

.page-hero--image {
  background-size: cover;
  background-position: center;
  color: var(--rp-white);
}
.page-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,28,28,0.85) 0%, rgba(28,28,28,0.6) 100%);
}
.page-hero--image .container { position: relative; z-index: 2; }
.page-hero--image .sec-sub { color: rgba(255,255,255,0.5); }

.page-hero .sec-heading {
  max-width: 640px;
}
.page-hero .sec-sub {
  max-width: 520px;
  margin-bottom: 0;
}


/* ======== 18. EXPANDED FOOTER ======== */
.site-footer {
  background: var(--rp-black);
  color: var(--rp-white);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding: 5px 0;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--rp-white); }
.footer-phone-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin: -2px 0 12px;
}
.site-footer--light .footer-phone-label { color: var(--rp-text-muted); }

.footer-subsidiaries {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-sub-logo { height: 24px; opacity: 0.3; transition: opacity 0.2s; }
.footer-sub-logo:hover { opacity: 0.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.15);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.5); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer { padding: 48px 0 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}


/* ======== 19. FORM STYLES ======== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rp-text-muted);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--rp-text-dark);
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: none;
  border-color: var(--rp-red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.08);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { cursor: pointer; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}


/* ======== 20. CLIENT LOGO STRIP ======== */
.client-strip {
  padding: 48px 0;
  background: var(--rp-white);
  border-top: 1px solid var(--rp-border);
  border-bottom: 1px solid var(--rp-border);
  overflow: hidden;
}
.client-track {
  display: flex;
  gap: 64px;
  align-items: center;
  animation: marqueeScroll 30s linear infinite;
}
.client-logo {
  height: 32px;
  opacity: 0.3;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s;
  flex-shrink: 0;
}
.client-logo:hover { opacity: 0.7; filter: grayscale(0%); }


/* ======== 21. ACCORDION ======== */
.accordion {}
.accordion-item {
  border-bottom: 1px solid var(--rp-border);
}
.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--rp-text-dark);
  text-align: left;
}
.accordion-trigger:focus-visible {
  outline: 2px solid var(--rp-red);
  outline-offset: 2px;
}
.accordion-trigger::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--rp-text-muted);
  transition: transform 0.3s;
}
.accordion-item.open .accordion-trigger::after {
  content: '−';
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-item.open .accordion-content {
  max-height: 600px;
}
.accordion-body {
  padding: 0 0 24px;
  font-size: 14px;
  color: var(--rp-text-body);
  line-height: 1.75;
}


/* ======== 22. COUNTER ANIMATION ======== */
.counter { font-variant-numeric: tabular-nums; }


/* ======== 23. LIGHT FOOTER ======== */
.site-footer--light {
  background: var(--rp-warm-white);
  color: var(--rp-text-dark);
  border-top: 1px solid var(--rp-border);
}
.site-footer--light .footer-brand p { color: var(--rp-text-muted); }
.site-footer--light .footer-col-title { color: var(--rp-text-muted); }
.site-footer--light .footer-col a { color: var(--rp-text-body); }
.site-footer--light .footer-col a:hover { color: var(--rp-text-dark); }
.site-footer--light .footer-bottom { border-top-color: var(--rp-border); }
.site-footer--light .footer-bottom-copy { color: var(--rp-text-light); }
.site-footer--light .footer-bottom-links a { color: var(--rp-text-muted); }
.site-footer--light .footer-bottom-links a:hover { color: var(--rp-text-dark); }


/* ======== 24. FLOATING HERO LOGO ======== */
.hero-logo-float {
  position: fixed;
  z-index: 1002;
  pointer-events: none;
  will-change: transform, width;
}
.hero-logo-float a {
  display: block;
  pointer-events: auto;
}
.hero-logo-float svg { width: 100%; height: auto; }

/* Hide header logo on homepage (the floating logo handles it) */
.header-home .logo { opacity: 0; pointer-events: none; }
.header-home.scrolled .logo { opacity: 0; pointer-events: none; }


/* ======== 25. GROUP COMPANY CARDS — UPSCALE ======== */
.group-card-logo {
  height: 28px;
  width: auto;
  margin-bottom: 18px;
  opacity: 0.85;
}
.group-card:hover .group-card-logo { opacity: 1; }


/* ======== 26. PRODUCT SECTION VISUALS ======== */
.product-section-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.product-section-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--rp-border);
  flex-shrink: 0;
}
.product-section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-section-visual {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-section-visual svg {
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .product-section-header {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .product-section-img { margin: 0 auto; width: 90px; height: 90px; }
  .product-section-visual { margin: 0 auto; width: 80px; height: 80px; }
}

/* ── Media-download deterrents (frontend only) ── */
img, video {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}
