@import url('../styles/style.css');

.pilot-program-cta{--black:#0A0A0A;position:relative;overflow:hidden;background:var(--black);padding:3.5rem 1.5rem;}
.upcoming-program{background:#f7f8fa;border-top:1px solid #e2e6eb;border-bottom:1px solid #e2e6eb;padding:clamp(3rem,6vw,5.5rem) 1.5rem;}
.upcoming-program__layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);gap:clamp(2rem,5vw,5rem);align-items:start;max-width:1080px;margin:0 auto;}
.upcoming-program__status{display:inline-flex;align-items:center;min-height:28px;margin:0 0 1rem;padding:0 .7rem;border-radius:999px;background:#fce8ea;color:#9f1021;font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;}
.upcoming-program__intro h2{max-width:18ch;margin:0;color:#171b24;font-size:clamp(2rem,4vw,3.15rem);line-height:1.08;text-wrap:balance;}
.upcoming-program__summary{max-width:58ch;margin:1.25rem 0 0;color:#3e4858;font-size:1.04rem;line-height:1.7;text-wrap:pretty;}
.upcoming-program__points{display:grid;gap:.8rem;margin:1.75rem 0 0;padding:0;list-style:none;color:#202936;}
.upcoming-program__points li{position:relative;padding-left:1.65rem;line-height:1.5;}
.upcoming-program__points li::before{content:'\2713';position:absolute;left:0;color:#b00020;font-weight:900;}
.waitlist-form{background:#fff;border:1px solid #d9dee6;border-radius:12px;padding:clamp(1.4rem,3vw,2.25rem);box-shadow:0 6px 8px rgba(20,28,40,.06);}
.waitlist-form__heading h3{margin:0;color:#171b24;font-size:1.35rem;text-wrap:balance;}
.waitlist-form__heading p{margin:.5rem 0 1.5rem;color:#4c5666;font-size:.92rem;line-height:1.55;}
.waitlist-form__fields{display:grid;gap:1rem;}
.waitlist-form .form-group{margin:0;}
.waitlist-form label{display:block;margin-bottom:.4rem;color:#252d39;font-size:.88rem;font-weight:700;}
.waitlist-form input{width:100%;min-height:44px;box-sizing:border-box;border:1px solid #aeb8c5;border-radius:7px;padding:.65rem .75rem;color:#171b24;font:inherit;}
.waitlist-form input:focus{outline:3px solid rgba(200,16,46,.2);outline-offset:1px;border-color:#b00020;}
.waitlist-form__submit{width:100%;margin-top:1.25rem;}
.waitlist-form__note{margin:.85rem 0 0;color:#4c5666;font-size:.78rem;line-height:1.55;}
.waitlist-form__feedback{min-height:1.35em;margin:.8rem 0 0;color:#8f0d1e;font-size:.84rem;font-weight:700;}
@media(max-width:760px){.upcoming-program{padding-inline:1rem;}.upcoming-program__layout{grid-template-columns:1fr;gap:2rem;}.upcoming-program__intro h2{max-width:100%;}.waitlist-form{padding:1.35rem;}}
@media(prefers-reduced-motion:reduce){.waitlist-form input{transition:none;}}
.pilot-program-cta::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 70% 60% at 80% 30%, rgba(232,35,26,.18) 0%, transparent 70%),radial-gradient(ellipse 50% 50% at 20% 80%, rgba(155,0,0,.12) 0%, transparent 70%);pointer-events:none;}
.pilot-program-cta .container{position:relative;z-index:1;}
.pilot-program-cta__grid{display:grid;grid-template-columns:1fr;justify-items:center;gap:1.5rem;text-align:center;max-width:960px;margin:0 auto;}
.pilot-program-cta__title{margin:0;color:#fff;font-size:clamp(2rem,4vw,3.25rem);font-weight:900;line-height:1.15;}
.pilot-program-cta__title span:first-child{color:var(--primary-color);}
.pilot-program-cta__button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.85rem 2rem;border:2px solid var(--primary-color);border-radius:8px;background:var(--primary-gradient);color:#fff;font-family:'DM Sans',sans-serif;font-size:1rem;font-weight:800;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;box-shadow:var(--shadow-red);transition:background .2s,transform .2s,box-shadow .2s;}
.pilot-program-cta__button:hover,.pilot-program-cta__button:focus-visible{background:linear-gradient(135deg, #f0001f 0%, #c2001a 100%);color:#fff;transform:translateY(-2px);box-shadow:0 12px 28px rgba(215,0,30,.3);}
.pilot-program-cta__button:focus-visible{outline:2px solid #fff;outline-offset:3px;}
@media(max-width:640px){.pilot-program-cta{padding:2.5rem 1rem;}.pilot-program-cta__button{width:100%;max-width:320px;}}

.mission-badge{display:inline-block;border:2px solid #FFCD00;color:#FFCD00;padding:5px 15px;font-weight:800;font-size:.8rem;letter-spacing:2px;margin-bottom:20px;border-radius:4px;text-transform:uppercase;}
.rl-trust-strip{background:#F8F9FA;border-top:1px solid #E5E7EB;border-bottom:1px solid #E5E7EB;padding:1.25rem 1.5rem;text-align:center;}
.rl-trust-badge{display:inline-block;border:1.5px solid #a50017;color:#fff;padding:3px 14px;border-radius:4px;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;margin:0 auto 1rem;background:var(--primary-gradient);box-sizing:border-box;max-width:1200px;}
.rl-trust-stats{display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap;max-width:1200px;width:100%;margin:0 auto;box-sizing:border-box;}
.rl-tstat{text-align:center;flex:1 1 0;}
.rl-tstat-num{display:block;font-size:2rem;font-weight:900;color:#C0392B;line-height:1;}
.rl-tstat-label{font-size:.72rem;color:#6B7280;margin-top:3px;}
.rl-journey{padding:3.5rem 1.5rem;background:#fff;border-top:4px solid #d7001e;}
.rl-journey-header{text-align:center;max-width:640px;margin:0 auto 2.5rem;box-sizing:border-box;}
.rl-journey-kicker{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#fff;margin-bottom:.5rem;background:var(--primary-gradient);padding:3px 12px;border-radius:4px;}
.rl-journey-header h2{font-size:1.55rem;font-weight:800;color:#1A1A2E;margin:.5rem 0 .4rem;}
.rl-journey-header p{font-size:.9rem;color:#6B7280;}
.rl-journey-track{display:grid;grid-template-columns:repeat(4,1fr);gap:0;position:relative;max-width:1200px;margin:0 auto 2rem;box-sizing:border-box;}
.rl-jtrack-line{position:absolute;top:28px;left:12.5%;right:12.5%;height:2px;background:#E5E7EB;z-index:0;}
.rl-jstage{text-align:center;padding:0 .5rem;cursor:pointer;}
.rl-jstage-circle{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto .75rem;font-size:1.4rem;position:relative;z-index:1;border:3px solid #E5E7EB;background:#fff;transition:transform .2s,border-color .2s,box-shadow .2s;}
.rl-jstage:hover .rl-jstage-circle,.rl-jstage.active .rl-jstage-circle{transform:scale(1.1);box-shadow:0 4px 16px rgba(0,0,0,.12);}
.rl-js1.active,.rl-jstage[data-stage="1"].active .rl-jstage-circle{border-color:#d7001e;background:#FDECEA;}
.rl-js2.active,.rl-jstage[data-stage="2"].active .rl-jstage-circle{border-color:#d7001e;background:#FDECEA;}
.rl-js3.active,.rl-jstage[data-stage="3"].active .rl-jstage-circle{border-color:#d7001e;background:#FDECEA;}
.rl-js4.active,.rl-jstage[data-stage="4"].active .rl-jstage-circle{border-color:#d7001e;background:#FDECEA;}
.rl-jstage-label{font-size:.82rem;font-weight:700;color:#1A1A2E;margin-bottom:.25rem;}
.rl-jstage-tag{font-size:.68rem;color:#6B7280;line-height:1.4;}
.rl-jdetail{max-width:1200px;margin:0 auto 2rem;background:#F8F9FA;border-radius:12px;padding:1.75rem 2rem;display:flex;align-items:flex-start;gap:1.25rem;transition:background .3s;border-left:4px solid #d7001e;box-sizing:border-box;width:100%;}
.rl-jdetail.stage2{border-left-color:#d7001e;}
.rl-jdetail.stage3{border-left-color:#d7001e;}
.rl-jdetail.stage4{border-left-color:#d7001e;}
.rl-jdetail-icon{font-size:2rem;flex-shrink:0;}
.rl-jdetail h3{font-size:1rem;font-weight:800;color:#1A1A2E;margin-bottom:.4rem;}
.rl-jdetail p{font-size:.875rem;color:#555;line-height:1.65;margin-bottom:.75rem;}
.rl-jdetail-certs{display:flex;gap:.5rem;flex-wrap:wrap;}
.rl-jdetail-certs span{background:#fff;border:1px solid #E5E7EB;border-radius:4px;padding:2px 9px;font-size:.72rem;font-weight:700;color:#1A1A2E;}
.rl-journey-cta{text-align:center;box-sizing:border-box;}
.rl-jcta-btn{display:inline-block;background:var(--primary-gradient);color:#fff;text-decoration:none;padding:.85rem 2rem;border-radius:8px;font-weight:800;font-size:1rem;transition:background .2s,transform .2s;}
.rl-jcta-btn:hover{background:linear-gradient(135deg, #f0001f 0%, #c2001a 100%);transform:translateY(-2px);}
.rl-jcta-sub{font-size:.78rem;color:#6B7280;margin-top:.6rem;}
@media(min-width:641px){.rl-journey-header h2{white-space:nowrap;}}
@media(max-width:640px){.rl-trust-stats{justify-content:center;}.rl-tstat{flex:0 1 auto;}.rl-journey-track{grid-template-columns:1fr 1fr;gap:1.25rem;}.rl-jtrack-line{display:none;}.rl-jdetail{flex-direction:column;}}
.glocal-calculator{padding:3rem 1.5rem;background:var(--primary-gradient);}
.calc-card{max-width:1200px;margin:0 auto;background:#F8F9FA;border:1px solid #E5E7EB;border-radius:0;padding:2rem;box-sizing:border-box;text-align:center;}
.calc-card h3{font-size:1.55rem;font-weight:800;color:#1A1A2E;margin:0 0 .5rem;}
.calc-card>p{font-size:.95rem;color:#6B7280;margin:0 0 1.5rem;}
.calc-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:.75rem;align-items:center;margin-bottom:1.5rem;}
.calc-local,.calc-global{background:#fff;border:1px solid #E5E7EB;border-radius:0;padding:1.5rem;box-sizing:border-box;}
.calc-tag{display:inline-block;padding:.35rem .75rem;border-radius:999px;font-size:.78rem;font-weight:800;margin-bottom:.85rem;}
.calc-tag.local{background:#FDECEA;color:#a50017;}
.calc-tag.global{background:#EEF2FF;color:#1D4ED8;}
.amount{font-size:2rem;font-weight:900;line-height:1.1;margin-bottom:.35rem;}
.local-amt{color:#C0392B;}
.global-amt{color:#1A1A2E;}
.calc-lbl{display:block;font-size:.85rem;color:#6B7280;line-height:1.5;}
.calc-arrow{font-size:2rem;font-weight:900;color:#C0392B;}
.calc-select-wrap{margin-bottom:1rem;display:flex;flex-direction:column;align-items:center;}
.calc-select-wrap label{display:block;font-size:.9rem;font-weight:700;color:#1A1A2E;margin-bottom:.5rem;}
.calc-select-wrap select{width:100%;max-width:360px;padding:.8rem 2.75rem .8rem 1rem;border:1px solid #D1D5DB;border-radius:10px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;background-size:12px 8px;color:#1A1A2E;font-size:.95rem;appearance:none;-webkit-appearance:none;-moz-appearance:none;}
.calc-note{font-size:.85rem;color:#6B7280;line-height:1.6;margin:0 0 1.5rem;}
.btn-cta{display:inline-block;background:var(--primary-gradient);color:#fff;text-decoration:none;padding:.85rem 2rem;border-radius:8px;font-weight:800;font-size:1rem;transition:background .2s,transform .2s;}
.btn-cta:hover{background:linear-gradient(135deg, #f0001f 0%, #c2001a 100%);transform:translateY(-2px);}
@media(max-width:640px){.glocal-calculator{padding:2rem 1rem;}.calc-card{padding:1.5rem;}.calc-grid{grid-template-columns:1fr;}.calc-arrow{transform:rotate(90deg);}.amount{font-size:1.65rem;}}

/* ============================================================
   TEAM CARD — Bio Preview Truncate
   ============================================================ */

.team-bio-preview {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.7;
}

.section-title[data-i18n="ourTeam"] + .grid-3 {
  align-items: stretch;
}

.section-title[data-i18n="ourTeam"] + .grid-3 .card {
  background: #1c1c1c;
  height: 100%;
}

.section-title[data-i18n="ourTeam"] + .grid-3 .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section-title[data-i18n="ourTeam"] + .grid-3 .card-title,
.section-title[data-i18n="ourTeam"] + .grid-3 .card-text {
  color: #ffffff;
}

.section-title[data-i18n="ourTeam"] + .grid-3 .btn-read-more {
  align-self: center;
  background: #c8102e;
  color: #ffffff;
  margin-top: auto;
}

.section-title[data-i18n="ourTeam"] + .grid-3 .btn-read-more:hover,
.section-title[data-i18n="ourTeam"] + .grid-3 .btn-read-more:focus-visible {
  background: #ffffff;
  color: #c8102e;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid #c8102e;
  color: #c8102e;
  padding: 6px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  margin-top: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-read-more:hover,
.btn-read-more:focus-visible {
  background: #c8102e;
  color: #ffffff;
  outline: none;
}

/* ============================================================
   TEAM BIO MODAL
   ============================================================ */

.team-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.team-modal-overlay.active {
  display: flex;
}

.team-modal {
  background: #1c1c1c;
  border: 1px solid #333333;
  border-radius: 12px;
  max-width: 580px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 36px 32px 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: modalSlideIn 0.25s ease;
}

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

.team-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #888888;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

.team-modal-close:hover,
.team-modal-close:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.team-modal-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  padding-right: 28px;
}

.team-modal-role {
  color: #c8102e;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.team-modal-body {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.78;
}

.team-modal-body p {
  margin-bottom: 12px;
}

.team-modal-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .team-modal {
    padding: 28px 20px 24px;
  }
  .team-modal-name {
    font-size: 1.2rem;
  }
}
