/**
 * ============================================================================
 * HERBAL VALLEY PRODUCTS (PALAKKAYAM) LLP
 * PAGE 05: FILTRATION PROCESS & INDUSTRIAL WATER ENGINEERING MASTER STYLESHEET
 * 
 * Visual Direction: International Water Treatment & Industrial Engineering
 * Deep Forest Green (#0F382C), Dark Teal (#006B78), Stainless-Steel Neutrals,
 * Ivory Surfaces (#F8FAF8), Restrained Cyan (#00AFC0 / #2DD4BF), 100% Manrope
 * ============================================================================
 */

/* ----------------------------------------------------------------------------
   01. GLOBAL CSS VARIABLES & DESIGN TOKENS
   ---------------------------------------------------------------------------- */
:root {
  /* Industrial Color Tokens */
  --fp-forest-deep: #061914;
  --fp-forest-dark: #0A241C;
  --fp-forest-primary: #0F382C;
  --fp-forest-mid: #174D3E;
  
  --fp-teal-dark: #123B48;
  --fp-teal-primary: #006B78;
  --fp-teal-accent: #00AFC0;
  --fp-cyan-bright: #2DD4BF;
  --fp-cyan-soft: #E6F8F5;
  
  /* Stainless-Steel Neutrals & Technical Surfaces */
  --fp-steel-50: #F8FAFC;
  --fp-steel-100: #F1F5F9;
  --fp-steel-200: #E2E8F0;
  --fp-steel-300: #CBD5E1;
  --fp-steel-400: #94A3B8;
  --fp-steel-500: #64748B;
  --fp-steel-700: #334155;
  --fp-steel-800: #1E293B;
  --fp-steel-900: #0F172A;
  
  --fp-pure-white: #FFFFFF;
  --fp-ivory-surface: #F8FAF8;
  --fp-ivory-card: #FFFFFF;
  --fp-ivory-alt: #F1F5F2;
  
  /* Hairline Blueprint Borders */
  --fp-border-blueprint: rgba(15, 56, 44, 0.12);
  --fp-border-steel: rgba(226, 232, 240, 0.85);
  --fp-border-dark: rgba(255, 255, 255, 0.14);
  --fp-border-cyan: rgba(45, 212, 191, 0.35);

  /* Typography */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Sizing */
  --container-max: 1320px;
  --container-editorial: 1140px;
  --section-pad-y: clamp(72px, 8vw, 120px);
  --section-pad-sm: clamp(48px, 5vw, 80px);
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s var(--ease-luxury);
}

/* ----------------------------------------------------------------------------
   02. BASE RESETS & UNIVERSAL MANROPE ENFORCEMENT
   ---------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans) !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--fp-ivory-surface);
  color: var(--fp-steel-900);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
}

::selection {
  background-color: var(--fp-cyan-bright);
  color: var(--fp-forest-deep);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ----------------------------------------------------------------------------
   03. LAYOUT CONTAINERS & TYPOGRAPHY PRIMITIVES
   ---------------------------------------------------------------------------- */
.fp-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4.5vw, 48px);
  padding-right: clamp(20px, 4.5vw, 48px);
}

.fp-container-editorial {
  width: 100%;
  max-width: var(--container-editorial);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4.5vw, 40px);
  padding-right: clamp(20px, 4.5vw, 40px);
}

/* Section Header Typography */
.fp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fp-forest-primary);
  margin-bottom: 1rem;
}

.fp-eyebrow-light {
  color: var(--fp-cyan-bright);
}

.fp-heading-hero {
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--fp-pure-white);
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.fp-heading-section {
  font-size: clamp(1.85rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.022em;
  color: var(--fp-steel-900);
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.fp-heading-section-light {
  color: var(--fp-pure-white);
}

.fp-body-lead {
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 400;
  line-height: 1.68;
  color: var(--fp-steel-700);
  margin-bottom: 1.5rem;
}

.fp-body-text {
  font-size: clamp(15px, 1.05vw, 16.5px);
  font-weight: 400;
  line-height: 1.68;
  color: var(--fp-steel-500);
  margin-bottom: 1.25rem;
}

/* Industrial Action Buttons */
.fp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--fp-cyan-bright);
  color: var(--fp-forest-deep);
  padding: 16px 34px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  border: 1px solid var(--fp-cyan-bright);
  box-shadow: 0 4px 18px rgba(45, 212, 191, 0.28);
  transition: transform var(--transition-smooth), background-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.fp-btn-primary:hover {
  background-color: var(--fp-teal-accent);
  border-color: var(--fp-teal-accent);
  color: var(--fp-pure-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 175, 192, 0.35);
}

.fp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--fp-pure-white);
  padding: 16px 32px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  transition: all var(--transition-smooth);
}

.fp-btn-outline:hover {
  background: var(--fp-pure-white);
  border-color: var(--fp-pure-white);
  color: var(--fp-forest-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.fp-btn-forest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--fp-forest-primary);
  color: var(--fp-pure-white);
  padding: 14px 28px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  border: 1px solid var(--fp-forest-primary);
  transition: all var(--transition-smooth);
}

.fp-btn-forest:hover {
  background-color: var(--fp-forest-dark);
  border-color: var(--fp-forest-dark);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------------------------
   04. HERO SECTION – CINEMATIC INDUSTRIAL INTRODUCTION
   ---------------------------------------------------------------------------- */
.fp-hero-section {
  position: relative;
  background-color: var(--fp-forest-deep);
  min-height: clamp(620px, 80vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--fp-border-dark);
  overflow: hidden;
}

.fp-hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.fp-hero-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0.38;
}

.fp-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 80% 20%, rgba(0, 175, 192, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, rgba(6, 25, 20, 0.94) 0%, rgba(10, 36, 28, 0.88) 55%, rgba(15, 56, 44, 0.92) 100%);
  z-index: 2;
}

.fp-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(36px, 4vw, 56px);
}

.fp-hero-wrap {
  max-width: 820px;
}

.fp-hero-lead {
  font-size: clamp(16px, 1.25vw, 19.5px);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin-bottom: 32px;
  font-weight: 400;
}

/* Bottom Hero Telemetry Ribbon (Flows relative on mobile, docked on desktop) */
.fp-hero-meta-bar {
  position: relative;
  z-index: 4;
  width: 100%;
  background: rgba(6, 25, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--fp-border-dark);
}

.fp-hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fp-hero-meta-item {
  padding: 18px 24px;
  border-right: 1px solid var(--fp-border-dark);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fp-hero-meta-item:last-child {
  border-right: none;
}

.fp-hero-meta-num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fp-cyan-bright);
}

.fp-hero-meta-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fp-pure-white);
  line-height: 1.25;
}

.fp-hero-meta-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.3;
}

/* ----------------------------------------------------------------------------
   05. INTRODUCTION – WATER PURIFICATION INFRASTRUCTURE (Split Editorial)
   ---------------------------------------------------------------------------- */
.fp-section-intro {
  padding: var(--section-pad-y) 0;
  background-color: var(--fp-ivory-surface);
  border-bottom: 1px solid var(--fp-border-blueprint);
}

.fp-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.fp-intro-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--fp-border-blueprint);
}

.fp-intro-pillar-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.fp-intro-pillar-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--fp-forest-primary);
  background: var(--fp-cyan-soft);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--fp-border-blueprint);
}

.fp-intro-pillar-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fp-steel-900);
  margin-bottom: 4px;
}

.fp-intro-pillar-item p {
  font-size: 0.9rem;
  color: var(--fp-steel-500);
  line-height: 1.55;
  margin: 0;
}

.fp-media-frame {
  position: relative;
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 56, 44, 0.08);
  border: 1px solid var(--fp-border-steel);
  background-color: var(--fp-steel-100);
}

.fp-media-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-luxury);
}

.fp-media-frame:hover .fp-media-img {
  transform: scale(1.02);
}

.fp-media-caption {
  padding: 14px 18px;
  background-color: var(--fp-pure-white);
  border-top: 1px solid var(--fp-border-steel);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--fp-steel-800);
  font-weight: 700;
}

.fp-media-tag {
  font-size: 0.72rem;
  color: var(--fp-forest-primary);
  background: var(--fp-cyan-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--fp-border-blueprint);
}

/* ----------------------------------------------------------------------------
   06. PURIFICATION PROCESS DIAGRAM – TECHNICAL ENGINEERING SCHEMATIC
   Connected Directional Pipeline Workflow (Desktop: 2-Row 5-Col Connected Grid,
   Mobile: Connected Vertical Timeline)
   ---------------------------------------------------------------------------- */
.fp-section-sequence {
  padding: var(--section-pad-y) 0;
  background-color: var(--fp-forest-dark);
  background: 
    radial-gradient(ellipse at 85% 15%, rgba(0, 175, 192, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, #061914 0%, #0A241C 50%, #0F382C 100%);
  color: var(--fp-pure-white);
  border-top: 1px solid var(--fp-border-dark);
  border-bottom: 1px solid var(--fp-border-dark);
  position: relative;
  overflow: hidden;
}

.fp-sequence-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(40px, 5vw, 60px) auto;
}

/* Process Flow Pipeline Track */
.fp-process-diagram-container {
  position: relative;
  width: 100%;
}

/* Desktop 2-Row Connected Process Grid */
.fp-schematic-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

/* Flow connector conduit between rows */
.fp-schematic-row-divider {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 24px;
  position: relative;
}

.fp-schematic-conduit-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fp-cyan-bright);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid var(--fp-border-cyan);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.fp-schematic-node {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--fp-border-dark);
  border-radius: var(--radius-xs);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.fp-schematic-node:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--fp-cyan-bright);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.fp-node-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.fp-node-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fp-cyan-bright);
  background: rgba(45, 212, 191, 0.14);
  border: 1px solid var(--fp-border-cyan);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.fp-node-step-indicator {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
}

.fp-node-icon {
  width: 32px;
  height: 32px;
  color: var(--fp-cyan-bright);
  margin-bottom: 12px;
}

.fp-node-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fp-pure-white);
  line-height: 1.25;
  margin-bottom: 8px;
}

.fp-node-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.fp-node-spec-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
  text-align: center;
}

/* ----------------------------------------------------------------------------
   07. DETAILED PURIFICATION STAGES – ALTERNATING EDITORIAL CHAPTERS
   ---------------------------------------------------------------------------- */
.fp-section-stages {
  padding: var(--section-pad-y) 0;
  background-color: var(--fp-pure-white);
}

.fp-stage-chapter {
  margin-bottom: clamp(60px, 8vw, 100px);
}

.fp-stage-chapter:last-child {
  margin-bottom: 0;
}

.fp-chapter-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--fp-steel-900);
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.fp-chapter-meta {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fp-forest-primary);
  background: var(--fp-cyan-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--fp-border-blueprint);
}

/* Alternating Editorial Split Layout */
.fp-module-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.5vw, 56px);
  align-items: center;
}

.fp-module-split.reverse {
  direction: rtl;
}

.fp-module-split.reverse > * {
  direction: ltr;
}

.fp-module-media-col {
  position: relative;
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 56, 44, 0.08);
  border: 1px solid var(--fp-border-steel);
  aspect-ratio: 4 / 3;
}

.fp-module-media-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-luxury);
}

.fp-module-media-col:hover img {
  transform: scale(1.02);
}

.fp-module-media-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(6, 25, 20, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--fp-border-dark);
  color: var(--fp-pure-white);
  font-size: 0.74rem;
}

.fp-stage-sub-item {
  margin-bottom: 28px;
}

.fp-stage-sub-item:last-child {
  margin-bottom: 0;
}

.fp-stage-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fp-forest-primary);
  margin-bottom: 8px;
}

.fp-stage-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--fp-steel-900);
  margin-bottom: 12px;
}

/* High-Precision Technical Specifications Table */
.fp-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  background-color: var(--fp-steel-50);
  border: 1px solid var(--fp-border-steel);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.fp-specs-table tr {
  border-bottom: 1px solid var(--fp-border-steel);
}

.fp-specs-table tr:last-child {
  border-bottom: none;
}

.fp-specs-table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fp-steel-700);
  background-color: var(--fp-steel-100);
  width: 38%;
}

.fp-specs-table td {
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--fp-steel-900);
}

/* Full-Width Industrial Machinery Showcase Module (RO Skid) */
.fp-module-showcase {
  position: relative;
  background-color: var(--fp-forest-deep);
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--fp-border-dark);
  box-shadow: 0 20px 48px rgba(6, 25, 20, 0.25);
}

.fp-showcase-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.fp-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.32;
}

.fp-showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 25, 20, 0.94) 0%, rgba(10, 36, 28, 0.9) 60%, rgba(15, 56, 44, 0.85) 100%);
  z-index: 2;
}

.fp-showcase-content {
  position: relative;
  z-index: 3;
  padding: clamp(36px, 5vw, 64px);
}

.fp-showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.fp-showcase-panel {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--fp-border-dark);
  border-radius: var(--radius-xs);
  padding: clamp(24px, 3.5vw, 36px);
}

.fp-telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.fp-telemetry-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-radius: var(--radius-xs);
}

.fp-telemetry-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fp-cyan-bright);
  margin-bottom: 2px;
}

.fp-telemetry-value {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--fp-pure-white);
}

/* Dual Terminal Disinfection Cards Grid */
.fp-module-terminal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3.5vw, 40px);
}

.fp-terminal-card {
  background: var(--fp-pure-white);
  border: 1px solid var(--fp-border-steel);
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 56, 44, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.fp-terminal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 56, 44, 0.1);
  border-color: var(--fp-teal-accent);
}

.fp-terminal-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--fp-steel-100);
}

.fp-terminal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-luxury);
}

.fp-terminal-card:hover .fp-terminal-img-wrap img {
  transform: scale(1.03);
}

.fp-terminal-body {
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

/* ----------------------------------------------------------------------------
   08. QUALITY ASSURANCE SECTION – REFINED TECHNICAL SPECIFICATION MATRIX
   (Replaces Generic Icon Cards with Architectural Laboratory Dossier)
   ---------------------------------------------------------------------------- */
.fp-section-qa {
  padding: var(--section-pad-y) 0;
  background-color: var(--fp-steel-50);
  border-top: 1px solid var(--fp-border-blueprint);
  border-bottom: 1px solid var(--fp-border-blueprint);
}

.fp-qa-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(40px, 5vw, 56px) auto;
}

.fp-qa-hero-frame {
  position: relative;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--fp-border-steel);
  box-shadow: 0 16px 40px rgba(15, 56, 44, 0.08);
  margin-bottom: 40px;
  aspect-ratio: 21 / 9;
  max-height: 480px;
}

.fp-qa-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fp-qa-hero-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(6, 25, 20, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--fp-border-dark);
  color: var(--fp-pure-white);
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Architectural Quality Protocol Matrix */
.fp-qa-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fp-qa-matrix-cell {
  background: var(--fp-pure-white);
  border: 1px solid var(--fp-border-steel);
  border-top: 3px solid var(--fp-forest-primary);
  border-radius: var(--radius-xs);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(15, 56, 44, 0.03);
  transition: all var(--transition-smooth);
}

.fp-qa-matrix-cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 56, 44, 0.08);
  border-top-color: var(--fp-cyan-bright);
}

.fp-qa-cell-id {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fp-forest-primary);
  margin-bottom: 8px;
}

.fp-qa-cell-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--fp-steel-900);
  line-height: 1.25;
  margin-bottom: 10px;
}

.fp-qa-cell-desc {
  font-size: 0.86rem;
  color: var(--fp-steel-500);
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.fp-qa-cell-metric {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--fp-steel-700);
  background: var(--fp-steel-100);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--fp-border-steel);
  display: flex;
  align-items: center;
  gap: 6px;
}

.fp-qa-cell-metric span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--fp-forest-primary);
  display: inline-block;
}

/* ----------------------------------------------------------------------------
   09. PURIFICATION TO PACKAGING (Transition to Bottling)
   ---------------------------------------------------------------------------- */
.fp-section-packaging {
  padding: var(--section-pad-y) 0;
  background-color: var(--fp-pure-white);
  border-bottom: 1px solid var(--fp-border-blueprint);
}

.fp-packaging-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.fp-packaging-steps {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fp-packaging-step-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--fp-border-blueprint);
}

.fp-packaging-step-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fp-packaging-step-num {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--fp-forest-primary);
  background: var(--fp-cyan-soft);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--fp-border-blueprint);
}

.fp-packaging-step-row h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fp-steel-900);
  margin-bottom: 4px;
}

.fp-packaging-step-row p {
  font-size: 0.9rem;
  color: var(--fp-steel-500);
  line-height: 1.55;
  margin: 0;
}

/* ----------------------------------------------------------------------------
   10. FINAL CTA – CLOSING BRAND EXPERIENCES
   ---------------------------------------------------------------------------- */
.fp-section-final-cta {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  background-color: var(--fp-forest-deep);
  color: var(--fp-pure-white);
  text-align: center;
  overflow: hidden;
}

.fp-final-cta-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.fp-final-cta-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.fp-final-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(6, 25, 20, 0.8) 0%, rgba(6, 25, 20, 0.96) 80%);
  z-index: 2;
}

.fp-final-cta-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
}

.fp-final-cta-heading {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fp-pure-white);
  margin-bottom: 1.25rem;
}

.fp-final-cta-desc {
  font-size: clamp(16px, 1.15vw, 18px);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin-bottom: 28px;
}

.fp-final-brand-tags {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.fp-brand-pill {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
}

.fp-brand-pill.purple {
  background: rgba(72, 19, 107, 0.6);
  border: 1px solid rgba(213, 169, 232, 0.4);
  color: #D5A9E8;
}

.fp-brand-pill.turquoise {
  background: rgba(0, 107, 120, 0.6);
  border: 1px solid rgba(0, 175, 192, 0.4);
  color: #00AFC0;
}

/* ----------------------------------------------------------------------------
   11. RESPONSIVE DESIGN & MULTI-VIEWPORT ADAPTATION
   ---------------------------------------------------------------------------- */

/* Laptop & Compact Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
  .fp-schematic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .fp-qa-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  .fp-intro-grid,
  .fp-packaging-grid,
  .fp-module-split,
  .fp-module-split.reverse,
  .fp-showcase-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .fp-module-split.reverse {
    direction: ltr;
  }

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

  .fp-hero-meta-item:nth-child(2) {
    border-right: none;
  }

  .fp-hero-meta-item:nth-child(3) {
    border-top: 1px solid var(--fp-border-dark);
  }

  .fp-hero-meta-item:nth-child(4) {
    border-top: 1px solid var(--fp-border-dark);
    border-right: none;
  }

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

  .fp-module-terminal {
    grid-template-columns: 1fr;
  }
}

/* Mobile & Connected Timeline (< 768px) */
@media (max-width: 768px) {
  .fp-hero-section {
    min-height: auto;
    padding-top: 36px;
  }

  .fp-hero-content {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .fp-hero-meta-bar {
    position: relative;
    border-top: 1px solid var(--fp-border-dark);
  }

  .fp-hero-meta-grid {
    grid-template-columns: 1fr;
  }

  .fp-hero-meta-item {
    border-right: none;
    border-bottom: 1px solid var(--fp-border-dark);
    padding: 14px 20px;
  }

  .fp-hero-meta-item:last-child {
    border-bottom: none;
  }

  /* Connected Vertical Timeline Schematic for Mobile */
  .fp-schematic-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--fp-cyan-bright);
    margin-left: 10px;
  }

  .fp-schematic-row-divider {
    display: none;
  }

  .fp-schematic-node::before {
    content: '';
    position: absolute;
    top: 28px;
    left: -31px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--fp-cyan-bright);
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.25);
  }

  .fp-qa-matrix-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fp-chapter-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .fp-qa-hero-badge {
    position: static;
    margin-top: 8px;
  }

  .fp-qa-hero-frame {
    aspect-ratio: 16 / 10;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .fp-heading-hero {
    font-size: 2.15rem;
  }

  .fp-heading-section {
    font-size: 1.7rem;
  }

  .fp-specs-table th {
    width: 44%;
    font-size: 0.7rem;
  }

  .fp-specs-table td {
    font-size: 0.8rem;
  }

  .fp-telemetry-grid {
    grid-template-columns: 1fr;
  }
}

/* Landscape Mobile (Orientation: Landscape & Max-Height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
  .fp-hero-section {
    min-height: auto;
    padding-top: 24px;
  }
  
  .fp-hero-content {
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .fp-hero-lead {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }

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