/* ════════════════════════════
   PORTION IQ — Premium Website
   Color palette matched to logo:
   Navy: #152238 / #1a2d4a
   Sage:  #6b8e5e / #7faa6b
════════════════════════════ */

:root {
  /* Logo-matched palette */
  --navy:       #152238;
  --navy-deep:  #0e1824;
  --navy-mid:   #1a2d4a;
  --sage:       #6b8e5e;
  --sage-lt:    #8bb47d;
  --sage-pale:  #a8c99c;

  /* Neutrals */
  --ink:        #0e1520;
  --mid:        #5a5f66;
  --sand:       #f3f0e8;
  --paper:      #faf8f4;
  --white:      #ffffff;

  /* Accents */
  --amber:      #c8883a;
  --red-soft:   #c05a4a;

  /* Utility */
  --rule:       rgba(21,34,56,0.10);
  --rule-light: rgba(255,255,255,0.07);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Syne', sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── UTILITY ─── */
.tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 18px;
}

.serif { font-family: 'Cormorant Garamond', serif; }

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.22,.61,.36,1), transform .75s cubic-bezier(.22,.61,.36,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }


/* ════════════════════════════
   NAV
════════════════════════════ */
.hero-nav {
  padding: 28px 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .35s, padding .35s, box-shadow .35s;
}

.hero-nav.scrolled {
  background: rgba(14,24,36,0.96);
  backdrop-filter: blur(12px);
  padding: 16px 72px;
  box-shadow: 0 2px 40px rgba(0,0,0,.2);
}

.logo-link { display: flex; align-items: center; text-decoration: none; }

.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  transition: font-size .35s;
}

.hero-nav.scrolled .logo-text { font-size: 17px; }

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

.nav-link {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-weight: 500;
  transition: color .25s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0;
  height: 1px;
  background: var(--sage-lt);
  transition: width .25s;
}

.nav-link:hover { color: rgba(255,255,255,.9); }
.nav-link:hover::after { width: 100%; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,.7);
  transition: transform .3s, opacity .3s;
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ════════════════════════════
   HERO
════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: .35;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 380px;
  background: linear-gradient(to top, rgba(14,24,36,.7) 0%, transparent 100%);
  pointer-events: none;
}

/* Decorative glow */
.hero .hero-body::before {
  content: '';
  position: absolute;
  top: -120px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(107,142,94,.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 72px 80px;
  position: relative;
  z-index: 10;
  max-width: 820px;
}

.hero-kicker {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sage-lt);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .7s ease .4s forwards;
}

.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 600;
  line-height: 1.02;
  color: #fff;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp .7s ease .55s forwards;
}

.hero-h1 em {
  font-style: italic;
  color: var(--amber);
}

.hero-p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.5);
  font-weight: 400;
  max-width: 560px;
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp .7s ease .7s forwards;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  animation: fadeUp .7s ease .85s forwards;
}

.hero-note {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  font-weight: 400;
}


/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sage);
  color: #fff;
  padding: 17px 36px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .25s, transform .2s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.1) 0%, transparent 50%);
  pointer-events: none;
}

.btn-primary:hover {
  background: var(--sage-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(107,142,94,.3);
}

.btn-primary .arr { transition: transform .25s; }
.btn-primary:hover .arr { transform: translateX(4px); }

.btn-sm { font-size: 11px; padding: 13px 26px; }


/* ─── EQUATION BAND ─── */
.eq-band {
  position: relative;
  z-index: 10;
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 28px 72px;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .6s ease 1s forwards;
}

.eq-part {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  letter-spacing: .5px;
}

.eq-part strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

.eq-op {
  padding: 0 24px;
  font-size: 22px;
  color: rgba(255,255,255,.2);
  font-weight: 300;
}

.eq-result {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-soft);
  font-weight: 600;
}


/* ════════════════════════════
   TRUST BAR
════════════════════════════ */
.trust-bar {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 72px;
  gap: 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 48px;
}

.trust-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--sage-lt);
}

.trust-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  text-align: center;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.08);
}


/* ════════════════════════════
   EQUATION PROBLEM SECTION
════════════════════════════ */
.eq-section {
  padding: 120px 72px;
  background: var(--paper);
}

.eq-section .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.eq-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 24px;
}

.eq-left h2 em { font-style: italic; color: var(--sage); }

.eq-left p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mid);
  font-weight: 400;
  margin-bottom: 20px;
}

.eq-box {
  background: var(--navy);
  padding: 40px 44px;
  color: white;
  margin-top: 36px;
  position: relative;
  overflow: hidden;
}

.eq-box::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(107,142,94,.15) 0%, transparent 60%);
  pointer-events: none;
}

.eq-box-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage-lt);
  margin-bottom: 24px;
}

.formula {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: white;
  line-height: 1.6;
}

.formula .wrong { color: var(--red-soft); text-decoration: line-through; }
.formula .right { color: var(--sage-lt); }
.formula-note {
  color: rgba(255,255,255,.3);
  font-family: 'Syne', sans-serif;
  font-size: 12px;
}

.eq-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  font-family: 'Syne', sans-serif;
}

/* Problem list */
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.problem-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  align-items: start;
}

.problem-item:first-child { border-top: 1px solid var(--rule); }

.prob-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
  padding-top: 2px;
}

.prob-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
}

.prob-body {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 400;
}


/* ════════════════════════════
   YIELD SECTION
════════════════════════════ */
.yield-section {
  background: var(--sand);
  padding: 120px 72px;
}

.yield-section .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.yield-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 24px;
}

.yield-left h2 em { font-style: italic; color: var(--sage); }

.yield-left p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 16px;
}

.yield-card {
  background: white;
  border: 1px solid var(--rule);
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,.06);
}

.yc-header {
  background: var(--navy);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.yc-title {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.yc-badge {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage-lt);
  font-weight: 600;
}

.yc-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}

.yc-row.head { background: var(--sand); }

.yc-cell {
  padding: 16px 20px;
  font-size: 13px;
  color: var(--mid);
  border-right: 1px solid var(--rule);
  line-height: 1.4;
}

.yc-cell:last-child { border-right: none; }
.yc-row.head .yc-cell {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 600;
}

.yc-cell.highlight { color: var(--red-soft); font-weight: 600; }
.yc-cell.good { color: var(--sage); font-weight: 600; }

.yc-footer {
  padding: 20px 24px;
  font-size: 13px;
  color: var(--mid);
  background: var(--sand);
  border-top: 1px solid var(--rule);
  line-height: 1.7;
}

.yc-footer strong { color: var(--red-soft); }


/* ════════════════════════════
   PARETO + FRAMEWORK
════════════════════════════ */
.pareto-section {
  background: var(--paper);
  padding: 120px 72px;
}

.pareto-section .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.pareto-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 24px;
}

.pareto-left h2 em { font-style: italic; color: var(--sage); }

.pareto-left p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 16px;
}

.framework-cards {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fw-card {
  padding: 28px 32px;
  background: var(--sand);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: start;
  transition: background .3s, transform .3s;
}

.fw-card:hover {
  background: var(--navy);
  transform: translateX(4px);
}

.fw-card:hover .fw-title { color: white; }
.fw-card:hover .fw-body { color: rgba(255,255,255,.5); }
.fw-card:hover .fw-icon { color: var(--sage-lt); }

.fw-icon {
  color: var(--sage);
  line-height: 1;
  padding-top: 2px;
  transition: color .3s;
}

.fw-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  transition: color .3s;
}

.fw-body {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.65;
  transition: color .3s;
}


/* ════════════════════════════
   STANDARDISATION
════════════════════════════ */
.std-section {
  background: var(--navy);
  padding: 120px 72px;
  color: white;
}

.std-section .tag { color: var(--sage-lt); }

.std-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.std-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  color: white;
  margin-bottom: 24px;
}

.std-left h2 em { font-style: italic; color: var(--amber); }

.std-left p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}

.std-quote {
  margin-top: 36px;
  padding: 32px 36px;
  background: rgba(255,255,255,.04);
  border-left: 3px solid var(--sage);
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-style: italic;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}

.sop-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sop-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule-light);
  align-items: start;
}

.sop-item:first-child { border-top: 1px solid var(--rule-light); }

.sop-dot {
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
  margin-top: 6px;
  margin-left: 20px;
}

.sop-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 4px;
}

.sop-desc {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
}


/* ════════════════════════════
   DEMAND ORDERING
════════════════════════════ */
.demand-section {
  background: var(--sand);
  padding: 120px 72px;
}

.demand-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.demand-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 24px;
}

.demand-left h2 em { font-style: italic; color: var(--sage); }

.demand-left p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 16px;
}

.vs-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.vs-col {
  padding: 32px 28px;
}

.vs-col.bad { background: white; }
.vs-col.good { background: var(--navy); }

.vs-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}

.vs-col.bad .vs-label { color: var(--mid); }
.vs-col.good .vs-label { color: var(--sage-lt); }

.vs-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vs-items li {
  font-size: 13px;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.vs-col.bad .vs-items li { color: var(--mid); }
.vs-col.good .vs-items li { color: rgba(255,255,255,.6); }

.vs-icon {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 12px;
}

.vs-col.bad .vs-icon { color: var(--red-soft); }
.vs-col.good .vs-icon { color: var(--sage-lt); }


/* ════════════════════════════
   PROCESS STEPS
════════════════════════════ */
.process-section {
  background: var(--paper);
  padding: 120px 72px;
}

.process-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.process-header {
  text-align: center;
  margin-bottom: 72px;
}

.process-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.process-h2 em { font-style: italic; color: var(--sage); }

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

.step-card {
  background: var(--sand);
  padding: 40px 32px;
  position: relative;
  transition: background .3s;
}

.step-card:hover { background: var(--navy); }
.step-card:hover .step-num { color: var(--sage-lt); }
.step-card:hover .step-title { color: white; }
.step-card:hover .step-body { color: rgba(255,255,255,.5); }
.step-card:hover .step-line { background: var(--sage); }

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 20px;
  transition: color .3s;
}

.step-line {
  width: 40px;
  height: 2px;
  background: var(--rule);
  margin-bottom: 20px;
  transition: background .3s;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color .3s;
}

.step-body {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mid);
  transition: color .3s;
}


/* ════════════════════════════
   CTA
════════════════════════════ */
.cta-section {
  background: var(--paper);
  padding: 120px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1480px;
  margin: 0 auto;
}

.cta-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 3.5vw, 54px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 24px;
}

.cta-left h2 em { font-style: italic; color: var(--sage); }

.cta-left p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 32px;
}

.cta-includes {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}

.ci-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  color: var(--mid);
  line-height: 1.5;
}

.ci-row:first-child { border-top: 1px solid var(--rule); }

.ci-dot {
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.cta-right {
  background: var(--navy);
  padding: 60px 52px;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-right::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(107,142,94,.2) 0%, transparent 60%);
  pointer-events: none;
}

.value-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(200,136,58,.3);
  padding: 8px 16px;
  margin-bottom: 28px;
}

.guarantee {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 2.5vw, 34px);
  font-style: italic;
  line-height: 1.4;
  color: white;
  margin-bottom: 20px;
}

.guarantee-sub {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.45);
  margin-bottom: 40px;
}

.no-risk {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255,255,255,.3);
  letter-spacing: .5px;
}


/* ════════════════════════════
   FOOTER
════════════════════════════ */
footer {
  background: var(--navy-deep);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  padding: 56px 72px 40px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-left { max-width: 360px; }

.footer-logo-text {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.3);
}

.footer-right {
  display: flex;
  gap: 72px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color .2s;
}

.footer-col a:hover { color: var(--sage-lt); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 20px 72px;
  font-size: 12px;
  color: rgba(255,255,255,.18);
}


/* ════════════════════════════
   ANIMATIONS
════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}


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

@media (max-width: 960px) {
  .hero-body, .eq-band { padding-left: 32px; padding-right: 32px; }
  .hero-nav { padding: 20px 32px; }
  .hero-nav.scrolled { padding: 14px 32px; }

  .eq-section, .yield-section, .pareto-section, .std-section, .demand-section, .cta-section, .process-section {
    padding: 80px 32px;
  }

  .eq-section .inner,
  .yield-section .inner,
  .pareto-section .inner,
  .std-inner,
  .demand-inner,
  .cta-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .vs-compare { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .trust-inner { flex-wrap: wrap; gap: 24px; }
  .trust-divider { display: none; }

  .nav-link { display: none; }

  .nav-right {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
    z-index: 999;
  }

  .nav-right.open {
    transform: translateX(0);
  }

  .nav-right.open .nav-link {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    width: 100%;
    font-size: 14px;
  }

  .nav-right .btn-primary.btn-sm {
    margin-top: 24px;
    width: 100%;
    justify-content: center;
  }

  .mobile-toggle { display: flex; z-index: 1001; }

  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-right { gap: 48px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 20px 32px; }
  .eq-band { padding: 20px 32px; }
}

@media (max-width: 600px) {
  .hero-h1 { font-size: 38px; }
  .hero-body { padding: 100px 24px 60px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .eq-band { flex-direction: column; gap: 12px; align-items: flex-start; }
  .eq-op { padding: 0; }
  .eq-result { margin-left: 0; }
  .trust-item { padding: 0 24px; }
}


/* ════════════════════════════
   FLOATING WHATSAPP BUTTON
════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.4);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37,211,102,.55);
}

.wa-float svg {
  margin-top: 1px;
}
