/* ============================================================
   PIP HOMEPAGE — index.html
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: var(--bg);
  padding: 80px 48px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--navy-light);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice);
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 14px;
}

.hero-support {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; }

.hero-img-card {
  background: linear-gradient(135deg, #e8f4fd 0%, #d0eaf9 100%);
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--border);
}

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

.hero-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--navy);
  opacity: .35;
}

.hero-img-placeholder svg { width: 64px; height: 64px; }

.hero-img-placeholder span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
}

.hero-stat-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0,43,91,.92);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 12px 18px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-stat-badge svg { width: 18px; height: 18px; color: var(--ice); flex-shrink: 0; }
.hero-stat-badge-inner { display: flex; flex-direction: column; }
.hero-stat-badge-label { font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; opacity: .6; }
.hero-stat-badge-val   { font-family: 'Montserrat', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--lime); }

/* ── TRUST BAR ────────────────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 24px 48px;
}

.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
}

.trust-item svg { width: 18px; height: 18px; color: var(--navy); flex-shrink: 0; }

.trust-divider { width: 1px; height: 20px; background: var(--border); }

/* ── WHO WE ARE ───────────────────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 56px;
}

.who-text p { font-size: .97rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.who-text p:last-child { margin-bottom: 0; }

.who-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(86,199,242,.1);
  border: 1px solid rgba(86,199,242,.3);
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
}

.who-badge svg { width: 16px; height: 16px; color: var(--navy-light); }

.who-cards { display: flex; flex-direction: column; gap: 16px; }

.who-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.who-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.06); }

.who-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,43,91,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.who-card-icon svg { width: 22px; height: 22px; color: var(--navy); }

.who-card-body h3 { font-family: 'Montserrat', sans-serif; font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.who-card-body p  { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.how-section { background: var(--surface); }

.how-header { text-align: center; margin-bottom: 64px; }
.how-header .section-label { justify-content: center; }

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

.how-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--ice), var(--border));
  z-index: 0;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.how-step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.how-step:nth-child(2) .how-step-num { background: var(--navy-light); }
.how-step:nth-child(3) .how-step-num { background: var(--ice); color: var(--navy); }
.how-step:nth-child(4) .how-step-num { background: var(--lime); color: var(--navy); }

.how-step h3 { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.how-step p  { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* ── BENEFITS ─────────────────────────────────────────────── */
.benefits-header { text-align: center; margin-bottom: 56px; }
.benefits-header .section-label { justify-content: center; }

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

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.07); }

.benefit-card:nth-child(3) {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0,43,91,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit-card:nth-child(3) .benefit-icon { background: rgba(86,199,242,.15); }

.benefit-icon svg { width: 20px; height: 20px; color: var(--navy); }
.benefit-card:nth-child(3) .benefit-icon svg { color: var(--ice); }

.benefit-card h3 { font-family: 'Montserrat', sans-serif; font-size: .92rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.benefit-card:nth-child(3) h3 { color: #fff; }

.benefit-card p { font-size: .83rem; color: var(--muted); line-height: 1.6; }
.benefit-card:nth-child(3) p { color: rgba(255,255,255,.65); }

.benefits-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.stat-card {
  background: var(--navy);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  text-align: center;
  color: #fff;
}

.stat-card .stat-num   { font-family: 'Montserrat', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--lime); line-height: 1; margin-bottom: 4px; }
.stat-card .stat-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); }

/* ── LEADERSHIP ───────────────────────────────────────────── */
.leadership-section {
  background-color: var(--surface);
  position: relative;
}

.leadership-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/watermark-PIP.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  opacity: .1;
  pointer-events: none;
  z-index: 0;
}

.leadership-section .section-inner { position: relative; z-index: 1; }

.leadership-header { text-align: center; margin-bottom: 56px; }
.leadership-header .section-label { justify-content: center; }

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
}

.leader-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .2s ease, box-shadow .2s ease;
}

.leader-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.07); }

.leader-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  flex-shrink: 0;
  border: 3px solid var(--border);
}

.leader-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.leader-card h3    { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }

.leader-title      { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ice); margin-bottom: 16px; }

.leader-card p     { font-size: .88rem; color: var(--muted); line-height: 1.7; }

.leader-accent     { display: inline-block; width: 32px; height: 3px; background: var(--lime); border-radius: 2px; margin-bottom: 20px; }

.leader-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: border-color .15s, background .15s;
}

.leader-email svg { width: 14px; height: 14px; flex-shrink: 0; }
.leader-email:hover { border-color: var(--navy); background: rgba(0,43,91,.05); }

/* ── FOOTER CTA ───────────────────────────────────────────── */
.footer-cta {
  background: linear-gradient(135deg, #f0f7ff 0%, #e4f0fa 100%);
  border-top: 1px solid var(--border);
  padding: 100px 48px;
  text-align: center;
}

.footer-cta-inner { max-width: 680px; margin: 0 auto; }
.footer-cta .section-heading { margin-bottom: 16px; }
.footer-cta .section-body    { margin: 0 auto 36px; }

/* ── CONTACT FORM DRAWER ──────────────────────────────────── */
.contact-drawer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s cubic-bezier(.4,0,.2,1), opacity .4s ease;
  opacity: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-drawer.open { max-height: 700px; opacity: 1; }

.contact-drawer-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 48px;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }

.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-field { display: flex; flex-direction: column; gap: 7px; }

.contact-field label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  height: 50px;
}

.contact-field textarea { height: 110px; resize: vertical; }

.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #b0bac8; }

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--ice);
  box-shadow: 0 0 0 3px rgba(86,199,242,.15);
  background: var(--surface);
}

.contact-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6678' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.contact-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(23,163,74,.07);
  border: 1px solid rgba(23,163,74,.2);
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--success);
  margin-top: 16px;
}

.contact-success svg { width: 18px; height: 18px; flex-shrink: 0; }

.contact-error {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(220,38,38,.07);
  border: 1px solid rgba(220,38,38,.2);
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--error);
  margin-top: 16px;
}

.contact-error svg { width: 18px; height: 18px; flex-shrink: 0; }

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

.hero-content { animation: fadeUp .6s ease both; }
.hero-visual  { animation: fadeUp .6s .15s ease both; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .benefits-grid  { grid-template-columns: 1fr; }
  .how-steps      { grid-template-columns: repeat(2, 1fr); }
  .how-steps::before { display: none; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
}

@media (max-width: 768px) {
  .hero           { grid-template-columns: 1fr; padding: 48px 20px; gap: 40px; }
  .hero-visual    { order: -1; }
  .trust-bar      { padding-left: 20px; padding-right: 20px; }
  .footer-cta     { padding-left: 20px; padding-right: 20px; }
  .who-grid       { grid-template-columns: 1fr; }
  .how-steps      { grid-template-columns: 1fr 1fr; }
  .benefits-stats { grid-template-columns: 1fr; }
  .leadership-section::before { background-attachment: scroll; }
  .contact-drawer-inner { padding: 40px 20px; }


}

@media (max-width: 640px) {
  .leadership-grid    { grid-template-columns: 1fr; }
  .contact-form-row   { grid-template-columns: 1fr; }

  /* Prevent iOS Safari auto-zoom in the contact form */
  .contact-field input,
  .contact-field select,
  .contact-field textarea { font-size: 1rem; }
  .contact-field input,
  .contact-field select   { height: 52px; }
}

@media (max-width: 480px) {
  .how-steps     { grid-template-columns: 1fr; }
  .trust-inner   { gap: 20px; flex-direction: column; }
  .trust-divider { width: 40px; height: 1px; }

  /* Full-width CTAs so they're easy to tap one-handed */
  .hero-ctas      { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Contact drawer: allow extra height for stacked single-column fields */
  .contact-drawer.open { max-height: 1100px; }
}
