/*
Theme Name: Invision Pharma
Theme URI: https://www.invisionpharma.com
Author: Invision Pharma Limited
Author URI: https://www.invisionpharma.com
Description: Custom WordPress theme for Invision Pharma — Private Label Nutraceutical & Cosmetic Manufacturer. Includes Stem Cell Technology, Liposomal, and Keto Protein pages.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: invision-pharma
Tags: pharmaceutical, nutraceutical, cosmetics, private-label, business
*/

/* =========================================
   INVISION PHARMA THEME — DESIGN TOKENS
   ========================================= */
:root {
  --navy:       #0a1628;
  --navy-mid:   #12254a;
  --navy-light: #1e3a6e;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --teal:       #1aada6;
  --teal-light: #22cfc7;
  --white:      #ffffff;
  --offwhite:   #f7f8fc;
  --gray:       #6b7280;
  --gray-light: #e8eaf0;
  --text:       #1a2332;
  --radius:     10px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(10,22,40,0.10);
  --shadow-lg:  0 12px 48px rgba(10,22,40,0.15);
  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Lora', serif;
  --font-ui:      'Montserrat', sans-serif;
  --container:  1200px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }

/* ---- LAYOUT ---- */
.ip-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ip-section { padding: 80px 0; }
.ip-section--light { background: var(--offwhite); }
.ip-section--navy { background: var(--navy); color: var(--white); }

/* ---- TOPBAR ---- */
.ip-topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  padding: 7px 0;
}
.ip-topbar__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.ip-topbar a { color: var(--gold-light); }
.ip-topbar a:hover { color: var(--white); }

/* ---- HEADER ---- */
.ip-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(10,22,40,0.08);
  transition: box-shadow 0.3s;
}
.ip-header.scrolled { box-shadow: 0 4px 24px rgba(10,22,40,0.16); }
.ip-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

/* Logo */
.ip-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ip-logo img { height: 48px; width: auto; }
.ip-logo__text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 300; color: var(--navy); }
.ip-logo__text strong { font-weight: 800; color: var(--teal); }

/* Nav */
.ip-nav ul { display: flex; gap: 2px; align-items: center; }
.ip-nav li { position: relative; }
.ip-nav a {
  font-family: var(--font-ui); font-size: 0.855rem; font-weight: 500;
  color: var(--navy); padding: 8px 13px; border-radius: 6px;
  display: block; white-space: nowrap; transition: all 0.2s;
}
.ip-nav a:hover, .ip-nav li.current-menu-item > a, .ip-nav li.current-menu-ancestor > a {
  background: var(--offwhite); color: var(--teal);
}
.ip-nav a.nav-new-tech { color: var(--teal); font-weight: 700; }
.ip-nav .sub-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 220px; padding: 8px 0; z-index: 200;
}
.ip-nav li:hover > .sub-menu { display: block; }
.ip-nav .sub-menu li a { padding: 10px 18px; border-radius: 0; font-size: 0.84rem; transition: all 0.15s; }
.ip-nav .sub-menu li a:hover { background: var(--offwhite); padding-left: 24px; color: var(--teal); }

.ip-header__actions { display: flex; align-items: center; gap: 12px; }
.ip-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.ip-hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* ---- BUTTONS ---- */
.ip-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius);
  font-family: var(--font-ui); font-size: 0.875rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s; text-align: center;
}
.ip-btn--primary { background: var(--teal); color: var(--white); }
.ip-btn--primary:hover { background: var(--teal-light); color: var(--white); transform: translateY(-1px); }
.ip-btn--secondary { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.ip-btn--secondary:hover { background: var(--navy); color: var(--white); }
.ip-btn--gold { background: var(--gold); color: var(--white); }
.ip-btn--gold:hover { background: var(--gold-light); color: var(--white); }
.ip-btn--outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.45); }
.ip-btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.ip-btn--lg { padding: 15px 36px; font-size: 1rem; }
.ip-btn--sm { padding: 7px 14px; font-size: 0.78rem; }

/* ---- SECTION HEADERS ---- */
.ip-section-header { margin-bottom: 52px; }
.ip-section-header--center { text-align: center; }
.ip-section-header--center .ip-section-subtitle { margin-left: auto; margin-right: auto; }
.ip-eyebrow {
  display: inline-block; font-family: var(--font-ui); font-size: 0.72rem;
  font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
}
.ip-section--navy .ip-eyebrow { color: var(--teal-light); }
.ip-section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--navy); margin-bottom: 16px; }
.ip-section--navy .ip-section-title { color: var(--white); }
.ip-section-subtitle { font-size: 1.05rem; color: var(--gray); max-width: 560px; }
.ip-section--navy .ip-section-subtitle { color: rgba(255,255,255,0.7); }

/* ---- PAGE HERO ---- */
.ip-page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  color: var(--white); padding: 100px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.ip-page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231aada6' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ip-page-hero .ip-eyebrow {
  background: rgba(26,173,166,0.18); color: var(--teal-light);
  border: 1px solid rgba(26,173,166,0.35); padding: 6px 18px; border-radius: 100px; margin-bottom: 20px;
}
.ip-page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 20px; }
.ip-page-hero h1 span { color: var(--gold-light); }
.ip-page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.78); max-width: 620px; margin: 0 auto 32px; }
.ip-page-hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- HOME HERO ---- */
.ip-home-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #0f2d5a 100%);
  color: var(--white); min-height: 88vh; display: flex; align-items: center; position: relative; overflow: hidden;
}
.ip-home-hero::after {
  content: ''; position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,173,166,0.13) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.ip-home-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.ip-hero-eyebrow {
  display: inline-block; background: rgba(201,168,76,0.18); color: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.4); font-family: var(--font-ui); font-size: 0.75rem;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 100px; margin-bottom: 24px;
}
.ip-home-hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.ip-home-hero h1 span { color: var(--teal-light); }
.ip-home-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 480px; }
.ip-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.ip-hero-stats { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.ip-stat .ip-stat__num { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--gold-light); line-height: 1; }
.ip-stat .ip-stat__label { font-size: 0.75rem; color: rgba(255,255,255,0.55); font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; display: block; }

/* Hero card grid */
.ip-hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ip-hero-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px); border-radius: var(--radius-lg);
  padding: 24px 20px; text-align: center; transition: transform 0.3s;
}
.ip-hero-card:hover { transform: translateY(-4px); }
.ip-hero-card .icon { font-size: 2.4rem; margin-bottom: 10px; }
.ip-hero-card h3 { font-size: 0.875rem; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.ip-hero-card p { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.ip-hero-card--teal { background: rgba(26,173,166,0.15); border-color: rgba(26,173,166,0.35); }
.ip-hero-card--gold { background: rgba(201,168,76,0.12); border-color: rgba(201,168,76,0.3); }

/* ---- CERT STRIP ---- */
.ip-cert-strip { background: var(--navy); padding: 26px 0; }
.ip-cert-strip__inner { display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap; }
.ip-cert-badge { display: flex; align-items: center; gap: 7px; font-family: var(--font-ui); font-size: 0.76rem; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,0.65); text-transform: uppercase; }
.ip-cert-badge::before { content: '✓'; width: 18px; height: 18px; background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; color: white; flex-shrink: 0; }

/* ---- CARDS ---- */
.ip-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.ip-card {
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: all 0.25s; box-shadow: var(--shadow);
}
.ip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.ip-card__icon { width: 54px; height: 54px; background: linear-gradient(135deg, rgba(26,173,166,0.12), rgba(26,173,166,0.05)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; }
.ip-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.ip-card p { font-size: 0.92rem; color: var(--gray); }
.ip-card--dark { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.ip-card--dark h3 { color: var(--white); }
.ip-card--dark p { color: rgba(255,255,255,0.65); }

/* ---- PRODUCT CARDS ---- */
.ip-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.ip-product-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.25s; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ip-product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.ip-product-card__img { height: 160px; background: linear-gradient(135deg, var(--offwhite), var(--gray-light)); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.ip-product-card__body { padding: 18px 20px; flex: 1; }
.ip-product-card h3 { font-size: 0.98rem; color: var(--navy); margin-bottom: 6px; }
.ip-product-card p { font-size: 0.84rem; color: var(--gray); }
.ip-product-card__footer { padding: 12px 20px 18px; display: flex; justify-content: space-between; align-items: center; margin-top: auto; }

/* ---- BADGES ---- */
.ip-badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.ip-badge--teal { background: rgba(26,173,166,0.12); color: var(--teal); }
.ip-badge--gold { background: rgba(201,168,76,0.15); color: #8a6d1a; }
.ip-badge--new { background: rgba(220,53,69,0.1); color: #dc3545; }

/* ---- FEATURES LIST ---- */
.ip-features-list li { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--gray-light); font-size: 0.94rem; }
.ip-features-list li:last-child { border-bottom: none; }
.ip-check { width: 22px; height: 22px; min-width: 22px; background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.68rem; margin-top: 2px; }

/* ---- SPLIT LAYOUT ---- */
.ip-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ip-split--reverse { direction: rtl; }
.ip-split--reverse > * { direction: ltr; }
.ip-split-visual { background: linear-gradient(135deg, var(--navy-mid), var(--navy-light)); border-radius: var(--radius-lg); padding: 48px; text-align: center; font-size: 5.5rem; box-shadow: var(--shadow-lg); }
.ip-split-visual p { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-top: 16px; font-family: var(--font-ui); }

/* ---- PROCESS STEPS ---- */
.ip-process { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; position: relative; }
.ip-process::before { content: ''; position: absolute; top: 32px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); z-index: 0; }
.ip-step { text-align: center; position: relative; z-index: 1; padding: 0 10px; }
.ip-step__num { width: 64px; height: 64px; background: var(--white); color: var(--teal); border: 3px solid var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; margin: 0 auto 18px; }
.ip-section--light .ip-step__num { background: var(--offwhite); }
.ip-step h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 7px; }
.ip-step p { font-size: 0.8rem; color: var(--gray); }

/* ---- DATA TABLE ---- */
.ip-table-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.ip-table { width: 100%; border-collapse: collapse; }
.ip-table th { background: var(--navy); color: var(--white); padding: 14px 18px; font-family: var(--font-ui); font-size: 0.82rem; font-weight: 600; text-align: left; letter-spacing: 0.5px; }
.ip-table td { padding: 13px 18px; border-bottom: 1px solid var(--gray-light); font-size: 0.9rem; }
.ip-table tr:last-child td { border-bottom: none; }
.ip-table tr:hover td { background: var(--offwhite); }

/* ---- CTA STRIP ---- */
.ip-cta-strip { background: linear-gradient(135deg, var(--teal) 0%, #0f8a85 100%); padding: 64px 0; text-align: center; color: var(--white); }
.ip-cta-strip h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 12px; }
.ip-cta-strip p { font-size: 1.05rem; color: rgba(255,255,255,0.82); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.ip-cta-strip__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- CLIENTS ---- */
.ip-clients { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center; }
.ip-client { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 15px 24px; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--gray); transition: all 0.2s; }
.ip-client:hover { border-color: var(--teal); color: var(--navy); }

/* ---- CONTACT FORM ---- */
.ip-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.ip-form-group { margin-bottom: 18px; }
.ip-form-group label { display: block; font-family: var(--font-ui); font-size: 0.8rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.ip-form-group input,
.ip-form-group select,
.ip-form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-light); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text); background: var(--white); transition: border-color 0.2s; outline: none;
}
.ip-form-group input:focus, .ip-form-group select:focus, .ip-form-group textarea:focus { border-color: var(--teal); }
.ip-form-group textarea { resize: vertical; min-height: 120px; }
.ip-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- FOOTER ---- */
.ip-footer-wave { line-height: 0; }
.ip-footer-wave svg { width: 100%; display: block; }
.ip-footer-body { background: var(--navy); padding: 60px 0 40px; }
.ip-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.ip-footer-brand-logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 300; color: var(--white); margin-bottom: 14px; }
.ip-footer-brand-logo strong { font-weight: 800; color: var(--teal-light); }
.ip-footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
.ip-footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.ip-footer-socials a { width: 36px; height: 36px; background: rgba(255,255,255,0.07); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55); transition: all 0.2s; }
.ip-footer-socials a:hover { background: var(--teal); color: white; }
.ip-footer-col h4 { font-family: var(--font-ui); font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; }
.ip-footer-col ul li { margin-bottom: 10px; }
.ip-footer-col ul li a { font-size: 0.87rem; color: rgba(255,255,255,0.5); }
.ip-footer-col ul li a:hover { color: var(--teal-light); }
.ip-footer-col address { font-style: normal; }
.ip-footer-col address p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 10px; line-height: 1.6; }
.ip-footer-col address a { color: rgba(255,255,255,0.65); }
.ip-footer-col address a:hover { color: var(--teal-light); }
.ip-footer-bottom { background: #060e1a; padding: 18px 0; }
.ip-footer-bottom .ip-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ip-footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); font-family: var(--font-ui); }
.ip-footer-certs { display: flex; gap: 10px; flex-wrap: wrap; }
.ip-footer-certs span { font-family: var(--font-ui); font-size: 0.68rem; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,0.3); border: 1px solid rgba(255,255,255,0.1); padding: 3px 9px; border-radius: 4px; }

/* ---- WORDPRESS SPECIFIC ---- */
.wp-block-image img { border-radius: var(--radius); }
.entry-content { max-width: 800px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link { position: absolute; top: -100%; left: 0; padding: 10px 20px; background: var(--teal); color: white; font-family: var(--font-ui); font-size: 0.9rem; z-index: 9999; border-radius: 0 0 8px 0; }
.skip-link:focus { top: 0; }

/* Comparison box used in liposomal page */
.ip-compare-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; align-items: center; padding: 10px 14px; background: rgba(255,255,255,0.05); border-radius: 8px; margin-bottom: 8px; }
.ip-compare-row .label { font-size: 0.83rem; color: rgba(255,255,255,0.7); }
.ip-compare-row .bad { font-size: 0.78rem; color: rgba(255,80,80,0.9); }
.ip-compare-row .good { font-size: 0.78rem; color: var(--teal-light); }

/* Macro bar used in keto page */
.ip-macro-bar { background: var(--offwhite); border-radius: 12px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ip-macro-bar .name { font-family: var(--font-ui); font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.ip-macro-bar .val { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .ip-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ip-home-hero__inner { grid-template-columns: 1fr; }
  .ip-home-hero .ip-hero-cards { display: none; }
  .ip-split { grid-template-columns: 1fr; gap: 40px; }
  .ip-split--reverse { direction: ltr; }
  .ip-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ip-nav { display: none; }
  .ip-topbar__inner span:first-child { display: none; }
  .ip-hamburger { display: flex; }
  .ip-nav.open {
    display: block; position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white); padding: 16px; border-top: 1px solid var(--gray-light);
    z-index: 999; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .ip-nav.open ul { flex-direction: column; gap: 2px; }
  .ip-nav.open .sub-menu { position: static; box-shadow: none; border: none; border-radius: 8px; background: var(--offwhite); margin: 4px 0 4px 12px; display: none; }
  .ip-nav.open li.open > .sub-menu { display: block; }
  .ip-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ip-process::before { display: none; }
  .ip-process { grid-template-columns: 1fr 1fr; }
  .ip-form-row { grid-template-columns: 1fr; }
  .ip-section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .ip-process { grid-template-columns: 1fr; }
}
