/* ============================================================
   INVAMAX PHILOSOPHY (TRIẾT LÝ INVAMAX)
   Typography & font sizing synchronized with INVAMAX brand standards.
   Scoped to .ivp3. Solves background/text color collision.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('./invamax-tokens.css');

:root {
  --iv-dark: var(--iv-color-dark-green);
  --iv-dark-2: var(--iv-color-deep-green);
  --iv-orange: var(--iv-color-orange);
  --iv-orange-2: var(--iv-color-orange);
  --iv-green: #10b981;
  --iv-blue: #2563eb;
  --iv-cyan: #06b6d4;
  --iv-text: var(--iv-color-text-primary);
  --iv-muted: var(--iv-color-text-secondary);
  --iv-line: var(--iv-color-border);
  --iv-bg: var(--iv-color-light);
}

.ivp3 {
  font-family: var(--iv-font-family) !important;
  color: var(--iv-text);
  background: #ffffff;
  line-height: var(--iv-text-body-line-height);
  font-size: var(--iv-text-body-size);
  overflow-x: hidden;
}

.ivp3 * {
  box-sizing: border-box;
}

.ivp3 h1, .ivp3 h2, .ivp3 h3, .ivp3 p {
  margin-top: 0;
}

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

.ivp3 a {
  text-decoration: none;
}

.ivp3-shell {
  width: min(var(--iv-container-max), calc(100% - 48px));
  margin: 0 auto;
}

/* ============================================================
   COLOR CONFLICT OVERRIDES (Prevent style.css white-on-white)
   ============================================================ */
/* Headings in WHITE sections MUST be dark */
.ivp3-pillars h1, .ivp3-pillars h2, .ivp3-pillars h3,
.ivp3-natural h1, .ivp3-natural h2, .ivp3-natural h3,
.ivp3-relation-cards h3,
.state-card h3 {
  color: #0f172a !important;
}

/* Headings in DARK sections MUST be white */
.ivp3-hero h1, .ivp3-hero h2, .ivp3-hero h3,
.ivp3-human h1, .ivp3-human h2, .ivp3-human h3,
.ivp3-closing h1, .ivp3-closing h2, .ivp3-closing h3,
.ivp3-owner-block h3,
.ivp3-growth-card h3 {
  color: #ffffff !important;
}

/* Orange highlights */
.ivp3 h1 span, .ivp3 h2 span, .ivp3 h3 span,
.ivp3-copy-block h2 span,
.ivp3-human-copy h2 span,
.ivp3-hero-copy h1 span {
  color: var(--iv-orange) !important;
}

/* Green highlight in Section 3 */
.state-card.state-good h3 span {
  color: var(--iv-green) !important;
}

/* Kickers & Section Index */
.ivp3-kicker {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em;
  color: var(--iv-orange) !important;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ivp3-divider {
  width: 44px;
  height: 4px;
  background: var(--iv-orange);
  border-radius: 999px;
  margin: 16px 0 18px;
}

.ivp3-section-index {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.ivp3-section-index span {
  font-size: 40px !important;
  line-height: 1;
  font-weight: 800 !important;
  color: var(--iv-orange) !important;
}

.ivp3-section-index b {
  font-size: 11px !important;
  line-height: 1;
  color: var(--iv-orange) !important;
  letter-spacing: 0.08em;
  font-weight: 800 !important;
}

.ivp3-section-index i {
  font-style: normal;
  color: var(--iv-orange) !important;
  font-weight: 700;
  font-size: 13px;
}

/* Buttons & Links */
.ivp3-btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid var(--iv-orange);
  background: rgba(6, 28, 22, 0.65);
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.ivp3-btn-hero:hover {
  background: var(--iv-orange);
  color: #fff !important;
}

.ivp3-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.ivp3-btn-primary {
  background: var(--iv-orange);
  color: #fff !important;
}

.ivp3-btn-primary:hover {
  background: #d95e14;
}

.ivp3-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--iv-orange) !important;
  font-weight: 700;
  font-size: 13.5px;
  transition: gap 0.2s ease;
}

.ivp3-text-link:hover {
  gap: 10px;
}

.ivp3-text-link.on-dark {
  color: var(--iv-orange-2) !important;
}

.ivp3-section {
  padding: 64px 0;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.ivp3-hero {
  position: relative;
  background-color: #051913;
  background-image: 
    linear-gradient(90deg, 
      #051913 0%, 
      #051913 38%, 
      rgba(5, 25, 19, 0.95) 54%, 
      rgba(5, 25, 19, 0.75) 68%, 
      rgba(5, 25, 19, 0.25) 82%, 
      rgba(5, 25, 19, 0) 94%
    ),
    url('../images/hero-engineer.png');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 52px !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}

.ivp3-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 75%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(90deg, black 0%, black 45%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, black 0%, black 45%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.ivp3-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  align-items: center;
  gap: 24px;
  min-height: 420px;
}

.ivp3-hero-copy {
  color: #fff;
  z-index: 2;
  padding: 36px 0 32px;
}

.ivp3-hero-copy h1 {
  font-size: clamp(38px, 4.2vw, 52px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em;
  margin: 0 0 14px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.ivp3-hero-copy h2 {
  font-size: clamp(20px, 2.2vw, 26px) !important;
  line-height: 1.35 !important;
  margin-bottom: 0 !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.ivp3-hero-copy p:not(.ivp3-kicker) {
  font-size: 14px;
  color: #cbd5e1 !important;
  line-height: 1.7;
  max-width: 510px;
  margin-bottom: 12px;
}

.ivp3-hero-copy p:not(.ivp3-kicker):last-child {
  margin-bottom: 0;
}

.ivp3-hero-media {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.ivp3-quote-box {
  width: min(340px, 100%);
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(6, 26, 20, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  margin-bottom: 10px;
}

.ivp3-quote-box p {
  font-size: 13px !important;
  color: #ffffff !important;
  line-height: 1.6;
  margin-bottom: 8px;
  font-style: italic;
}

.ivp3-quote-box strong {
  display: block;
  font-size: 11.5px;
  color: #ffbe8a !important;
  letter-spacing: 0.05em;
  font-style: normal;
}

/* ============================================================
   SECTION 01: BA YEU TO (Light Background)
   ============================================================ */
.ivp3-pillars {
  background: #ffffff;
}

.ivp3-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 33%) minmax(0, 67%);
  gap: 20px;
  align-items: center;
}

.ivp3-copy-block h2 {
  font-size: clamp(28px, 2.8vw, 36px) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 16px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.ivp3-copy-block h2 span {
  color: var(--iv-orange) !important;
}

.ivp3-copy-block p {
  font-size: 14px;
  color: var(--iv-muted) !important;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Diagram Container */
.ivp3-pillars-diagram-wrap {
  position: relative;
  height: 440px;
  width: 100%;
}

.ivp3-pillars-diagram {
  position: relative;
  width: 100%;
  height: 100%;
}

.ivp3-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.ivp3-pillars-diagram .node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff !important;
  border-radius: 50%;
  z-index: 4;
  cursor: default;
  transition: transform 0.25s ease;
}

.ivp3-pillars-diagram .node:hover {
  transform: translate(-50%, -50%) scale(1.03) !important;
}

.ivp3-pillars-diagram .node small {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.ivp3-pillars-diagram .node b {
  display: block;
  font-size: 12.5px;
  line-height: 1.25;
  font-weight: 700;
  max-width: 85%;
  color: #fff !important;
}

/* Top Node: CHIEN LUOC */
.ivp3-pillars-diagram .strategy {
  width: 136px;
  height: 136px;
  left: 50%;
  top: 68px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 40% 30%, #a4531d 0%, #351706 85%);
  box-shadow: 0 0 0 8px #ffffff, 0 8px 26px rgba(164, 83, 29, 0.25);
}
.ivp3-pillars-diagram .strategy small { color: #ffbe8a !important; }

/* Bottom Left Node: DOI NGU */
.ivp3-pillars-diagram .people {
  width: 136px;
  height: 136px;
  left: 35%;
  top: 310px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 40% 30%, #157955 0%, #06271c 85%);
  box-shadow: 0 0 0 8px #ffffff, 0 8px 26px rgba(21, 121, 85, 0.25);
}
.ivp3-pillars-diagram .people small { color: #a7f3d0 !important; }

/* Bottom Right Node: HE THONG */
.ivp3-pillars-diagram .system {
  width: 136px;
  height: 136px;
  left: 65%;
  top: 310px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 40% 30%, #1a6fd8 0%, #0c2444 85%);
  box-shadow: 0 0 0 8px #ffffff, 0 8px 26px rgba(26, 111, 216, 0.25);
}
.ivp3-pillars-diagram .system small { color: #bae6fd !important; }

/* Center Node: PHAT TRIEN BEN VUNG */
.ivp3-pillars-diagram .center {
  width: 144px;
  height: 144px;
  left: 50%;
  top: 205px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 40% 35%, #082937 0%, #03141d 85%);
  box-shadow: 0 0 0 8px #ffffff, 0 10px 28px rgba(0, 0, 0, 0.2);
  z-index: 5;
}
.ivp3-pillars-diagram .center small { color: #94a3b8 !important; }
.ivp3-pillars-diagram .center b { font-size: 15px !important; font-weight: 800; color: #fff !important; }

/* Side Bullet Notes around Diagram - positioned with safe margins */
.ivp3-side-notes {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--iv-line);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  z-index: 6;
}

.ivp3-side-notes ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.ivp3-side-notes li {
  position: relative;
  padding-left: 14px;
  font-size: 11.5px;
  color: #475569 !important;
  line-height: 1.55;
  font-weight: 500;
}

.ivp3-side-notes li:before {
  content: '›';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--iv-orange) !important;
  font-weight: 800;
  font-size: 14px;
}

.note-right-top {
  right: 0;
  top: 10px;
  width: 215px;
}

.note-left-bottom {
  left: 0;
  bottom: 12px;
  width: 185px;
}

.note-right-bottom {
  right: 0;
  bottom: 12px;
  width: 195px;
}

/* Relation box at bottom of Section 1 */
.ivp3-relation-cards {
  margin-top: 36px;
  padding: 22px 26px;
  border: 1px solid var(--iv-line);
  border-radius: 14px;
  background: #f8fafc;
}

.ivp3-relation-cards h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 16px;
}

.ivp3-relation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ivp3-relation-grid article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ivp3-relation-grid .ic-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.ivp3-relation-grid .ic-wrap.orange {
  background: #fff7ed;
  border: 1.5px solid #fdba74;
  color: #ea580c !important;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.14);
}

.ivp3-relation-grid .ic-wrap.green {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #16a34a !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.14);
}

.ivp3-relation-grid .ic-wrap.blue {
  background: #eff6ff;
  border: 1.5px solid #93c5fd;
  color: #2563eb !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.14);
}

.ivp3-relation-grid .ic-wrap svg,
.ivp3-relation-grid .ic-wrap i {
  width: 24px !important;
  height: 24px !important;
  stroke-width: 2.4 !important;
}

.ivp3-relation-grid b {
  display: block;
  font-size: 13.5px !important;
  line-height: 1.35;
  color: #0f172a !important;
  margin-bottom: 3px;
  font-weight: 700 !important;
}

.ivp3-relation-grid p {
  margin: 0;
  color: #64748b !important;
  font-size: 12.5px !important;
  line-height: 1.5;
}

/* ============================================================
   SECTION 02: TRIET LY CON NGUOI (Dark Background)
   Two-column harmonious grid, no blank gaps!
   ============================================================ */
.ivp3-human {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #051913 0%, #061e17 50%, #051913 100%);
  color: #fff;
  padding: 64px 0 0;
}

.ivp3-human .ivp3-shell {
  width: 100%;
  max-width: 100%;
  padding-left: max(24px, calc((100vw - 1200px) / 2));
  padding-right: 0;
  margin: 0;
}

.ivp3-human-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  gap: 36px;
  align-items: stretch;
}

.ivp3-human-col-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 24px;
}

.ivp3-human-col-left h2,
.ivp3-human-copy h2 {
  font-size: clamp(28px, 2.8vw, 36px) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 16px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.ivp3-human-col-left h2 span,
.ivp3-human-copy h2 span {
  color: var(--iv-orange) !important;
}

.ivp3-human-lead {
  font-size: 14px;
  color: #cbd5e1 !important;
  line-height: 1.75;
  margin-bottom: 18px;
}

.ivp3-owner-block {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ivp3-owner-block h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 6px;
}

.ivp3-owner-block p {
  color: #94a3b8 !important;
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* 5 Owner Cards */
.ivp3-owner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.ivp3-owner-card {
  padding: 12px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
}

.ivp3-owner-card .card-ic {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--iv-orange) !important;
  background: rgba(239, 109, 28, 0.12);
  margin-bottom: 8px;
}

.ivp3-owner-card b {
  display: block;
  font-size: 11.5px !important;
  color: #fff !important;
  font-weight: 700 !important;
  margin-bottom: 3px;
}

.ivp3-owner-card small {
  display: block;
  font-size: 10px;
  color: #94a3b8 !important;
  line-height: 1.35;
}

/* Right Column: Growth card on top + Team photo below */
.ivp3-human-col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ivp3-growth-card {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  margin-right: 28px;
}

.ivp3-growth-card h3 {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #fff !important;
  text-align: center;
  margin-bottom: 16px;
}

.ivp3-growth-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.ivp3-growth-step {
  text-align: center;
  flex: 1;
}

.ivp3-growth-step .step-ic {
  display: flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  border: 1.5px solid currentColor;
}

.ivp3-growth-step:nth-child(1) .step-ic { color: #ea580c; background: rgba(234, 88, 12, 0.12); }
.ivp3-growth-step:nth-child(3) .step-ic { color: #10b981; background: rgba(16, 185, 129, 0.12); }
.ivp3-growth-step:nth-child(5) .step-ic { color: #06b6d4; background: rgba(6, 182, 212, 0.12); }
.ivp3-growth-step:nth-child(7) .step-ic { color: #f59e0b; background: rgba(245, 158, 11, 0.12); }
.ivp3-growth-step:nth-child(9) .step-ic { color: #f97316; background: rgba(249, 115, 22, 0.12); }

.ivp3-growth-step b {
  display: block;
  font-size: 11px !important;
  color: #fff !important;
  line-height: 1.25;
  margin-bottom: 2px;
  font-weight: 700 !important;
}

.ivp3-growth-step small {
  display: block;
  font-size: 9.5px;
  color: #94a3b8 !important;
  line-height: 1.3;
}

.ivp3-growth-flow .flow-arrow {
  color: var(--iv-orange) !important;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Team Photo with Quote - Full-bleed to right and bottom edges with smooth gradient transition */
.ivp3-team-wrap {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 380px;
  width: 100%;
  margin-right: 0;
  margin-bottom: 0;
  display: flex;
}

.ivp3-team-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, 
      #051913 0%, 
      rgba(5, 25, 19, 0.98) 12%, 
      rgba(5, 25, 19, 0.85) 24%, 
      rgba(5, 25, 19, 0.55) 40%, 
      rgba(5, 25, 19, 0.25) 58%, 
      rgba(5, 25, 19, 0.08) 75%, 
      transparent 90%
    ),
    linear-gradient(180deg, 
      #051913 0%, 
      rgba(5, 25, 19, 0.85) 8%, 
      rgba(5, 25, 19, 0.40) 18%, 
      transparent 32%
    );
  z-index: 2;
  pointer-events: none;
}

.ivp3-team-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.ivp3-team-quote-card {
  position: absolute;
  left: 20px;
  bottom: 24px;
  max-width: 440px;
  z-index: 3;
  background: rgba(5, 23, 17, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.ivp3-team-quote-card p {
  font-size: 13px !important;
  line-height: 1.55;
  color: #fff !important;
  margin-bottom: 8px;
  font-style: italic;
}

.ivp3-team-quote-card strong {
  display: block;
  font-size: 11.5px !important;
  color: #ffbe8a !important;
  letter-spacing: 0.04em;
  font-style: normal;
}

/* ============================================================
   SECTION 03: THUAN TU NHIEN (Light Background)
   ============================================================ */
.ivp3-natural {
  background: #ffffff;
  padding: 44px 0 !important;
}

.ivp3-natural .ivp3-shell {
  width: min(1320px, calc(100% - 48px));
}

.ivp3-natural-grid {
  display: grid;
  grid-template-columns: minmax(360px, 31%) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.line-nowrap {
  white-space: nowrap;
  display: inline-block;
  color: #0f172a !important;
}

.ivp3-natural .ivp3-copy-block h2 {
  font-size: clamp(24px, 2.3vw, 32px) !important;
  line-height: 1.25 !important;
  margin-bottom: 16px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.ivp3-natural .ivp3-copy-block h2 span {
  color: #0f172a !important;
}

.ivp3-natural .ivp3-copy-block h2 span span,
.ivp3-natural .ivp3-copy-block h2 span.accent,
.ivp3-natural .ivp3-copy-block h2 .accent {
  color: var(--iv-orange) !important;
}

.ivp3-before-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  width: 100%;
}

.state-arrow {
  font-size: 28px;
  font-weight: 800;
  color: var(--iv-green) !important;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.state-card {
  display: flex;
  flex-direction: column;
}

.state-card h3 {
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.35;
  margin-bottom: 16px;
  color: #0f172a !important;
  letter-spacing: -0.01em;
}

.state-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: center;
}

.state-grid img {
  width: 240px;
  height: 285px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--iv-line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.state-bad .state-grid img {
  filter: brightness(1.06) contrast(1.04);
}

.state-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.state-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px !important;
  line-height: 1.45;
  color: #1e293b !important;
  font-weight: 600;
}

.state-bad li i,
.state-bad li svg {
  color: var(--iv-orange) !important;
  width: 19px !important;
  height: 19px !important;
  flex-shrink: 0;
}

.state-good li i,
.state-good li svg {
  color: var(--iv-green) !important;
  width: 19px !important;
  height: 19px !important;
  flex-shrink: 0;
}

/* ============================================================
   CLOSING / CTA BANNER (Dark Background)
   ============================================================ */
.ivp3-closing {
  background: 
    linear-gradient(90deg, rgba(5, 23, 18, 0.96) 0%, rgba(5, 23, 18, 0.90) 45%, rgba(5, 23, 18, 0.75) 100%),
    url('../images/natural-flow.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 55px 0;
  color: #fff;
}

.ivp3-closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 68%) minmax(0, 32%);
  align-items: center;
  gap: 20px;
}

.ivp3-closing-copy h2,
.ivp3-closing-copy h2 span {
  font-size: clamp(21px, 2.3vw, 32px) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.ivp3-closing-copy p {
  font-size: 14px;
  line-height: 1.7;
  color: #cbd5e1 !important;
  max-width: 560px;
  margin-bottom: 20px;
}

.ivp3-closing-panel {
  border-radius: 14px;
  background: rgba(10, 28, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  padding: 26px 22px;
}

.ivp3-closing-panel span {
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: var(--iv-orange);
  margin-bottom: 16px;
}

.ivp3-closing-panel strong {
  display: block;
  font-size: 21px !important;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 800 !important;
  color: #fff !important;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1080px) {
  .ivp3-hero-grid,
  .ivp3-top-grid,
  .ivp3-human-main-grid,
  .ivp3-natural-grid,
  .ivp3-closing-grid {
    grid-template-columns: 1fr;
  }

  .ivp3-hero {
    background-position: 70% center;
  }

  .ivp3-hero-media {
    min-height: auto;
    justify-content: flex-start;
  }

  .ivp3-pillars-diagram-wrap {
    max-width: 720px;
    margin: 0 auto;
  }

  .ivp3-human .ivp3-shell {
    padding-left: 24px;
    padding-right: 24px;
  }

  .ivp3-growth-card {
    margin-right: 0;
  }

  .ivp3-team-wrap {
    height: 280px;
    border-radius: 14px;
  }

  .line-nowrap {
    white-space: normal;
    display: inline;
  }
}

@media (min-width: 992px) {
  .nowrap-desktop {
    white-space: nowrap !important;
  }
}

@media (max-width: 991px) {
  .nowrap-desktop {
    white-space: normal !important;
  }
}

@media (max-width: 768px) {
  .ivp3-section {
    padding: 44px 0;
  }

  .ivp3-hero {
    padding-top: 52px !important;
    padding-bottom: 36px;
    min-height: auto !important;
  }

  .ivp3-pillars-diagram-wrap {
    height: auto;
  }

  .ivp3-pillars-diagram {
    height: 360px;
    width: 100%;
    position: relative;
  }

  .ivp3-pillars-diagram .strategy {
    width: 110px;
    height: 110px;
    top: 55px;
  }

  .ivp3-pillars-diagram .people {
    width: 110px;
    height: 110px;
    left: 28%;
    top: 270px;
  }

  .ivp3-pillars-diagram .system {
    width: 110px;
    height: 110px;
    left: 72%;
    top: 270px;
  }

  .ivp3-pillars-diagram .center {
    width: 116px;
    height: 116px;
    top: 175px;
  }

  .ivp3-pillars-diagram .node small {
    font-size: 9px;
  }

  .ivp3-pillars-diagram .node b {
    font-size: 11px !important;
  }

  .ivp3-side-notes {
    position: static;
    width: 100%;
    margin: 12px 0 0 0;
    box-sizing: border-box;
  }

  .ivp3-side-notes.note-right-top {
    border-left: 3px solid #ef6d1c;
  }

  .ivp3-side-notes.note-left-bottom {
    border-left: 3px solid #10b981;
  }

  .ivp3-side-notes.note-right-bottom {
    border-left: 3px solid #2563eb;
  }

  .ivp3-relation-cards {
    margin-top: 28px;
  }

  .ivp3-relation-grid {
    grid-template-columns: 1fr;
  }

  .ivp3-closing {
    padding: 44px 0;
  }

  .ivp3-closing-copy h2,
  .ivp3-closing-copy h2 span {
    font-size: 20px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .ivp3-closing-copy p {
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 20px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .ivp3-closing-panel {
    margin-top: 10px;
    padding: 20px 18px;
  }

  .ivp3-closing-panel strong {
    font-size: 18px !important;
  }

  .ivp3-growth-flow {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .ivp3-growth-step {
    flex: 0 0 45%;
  }

  .ivp3-growth-flow .flow-arrow {
    display: none;
  }

  .ivp3-owner-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ivp3-before-after {
    grid-template-columns: 1fr;
  }

  .state-arrow {
    transform: rotate(90deg);
    margin: 6px 0;
  }

  .state-grid {
    grid-template-columns: 150px 1fr;
    gap: 14px;
  }

  .state-grid img {
    width: 150px;
    height: 185px;
  }
}

@media (max-width: 480px) {
  .ivp3-owner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .state-grid {
    grid-template-columns: 1fr;
  }

  .state-grid img {
    width: 100%;
    height: 170px;
  }
}
