/* Boarding Pass Hero Section */
.s2ncr-hero-section {
  padding: 32px 0 42px 0;
  background-color: var(--ncr-cream);
  position: relative;
  overflow: hidden;
}

/* Background travel grid texture */
.s2ncr-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(21, 42, 92, 0.05) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.s2ncr-hero-pass {
  background-color: var(--ncr-white);
  border: 1px solid var(--ncr-line);
  border-radius: var(--ncr-radius-lg);
  box-shadow: var(--ncr-shadow-lg);
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  position: relative;
  overflow: hidden;
}

/* Left Boarding Pass Content */
.s2ncr-pass-main {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.s2ncr-pass-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--ncr-line);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.s2ncr-pass-flight-code {
  font-family: var(--ncr-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ncr-royal);
  letter-spacing: 0.06em;
}

.s2ncr-pass-route-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ncr-font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ncr-charcoal);
  background: var(--ncr-cream);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--ncr-line);
}

.s2ncr-hero-headline {
  font-family: var(--ncr-font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ncr-ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.s2ncr-hero-headline .s2ncr-highlight {
  font-style: italic;
  color: var(--ncr-royal);
  position: relative;
}

.s2ncr-hero-subline {
  font-size: 15px;
  color: var(--ncr-charcoal-muted);
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 20px;
}

/* CTAs & Quick Info */
.s2ncr-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.s2ncr-hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px dashed var(--ncr-line);
  padding-top: 14px;
}

.s2ncr-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ncr-charcoal);
}

.s2ncr-trust-icon {
  color: var(--ncr-green);
  display: inline-flex;
}

/* Perforation Divider */
.s2ncr-pass-perforation {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1px;
  width: 0;
  border-right: 2px dashed var(--ncr-line);
  z-index: 10;
}

.s2ncr-pass-notch-top,
.s2ncr-pass-notch-bottom {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: var(--ncr-cream);
  border-radius: 50%;
  z-index: 12;
  left: 50%;
  transform: translateX(-50%);
}

.s2ncr-pass-notch-top {
  top: -12px;
  box-shadow: inset 0 -1px 2px rgba(21, 42, 92, 0.08);
}

.s2ncr-pass-notch-bottom {
  bottom: -12px;
  box-shadow: inset 0 1px 2px rgba(21, 42, 92, 0.08);
}

/* Right Boarding Stub Photo Card */
.s2ncr-pass-stub {
  background: var(--ncr-ink);
  color: var(--ncr-white);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.s2ncr-stub-badge-wrap {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
}

.s2ncr-boarding-class-tag {
  font-family: var(--ncr-font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--ncr-gold);
  color: var(--ncr-ink);
  padding: 6px 12px;
  border-radius: 4px;
  transform: rotate(-6deg);
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.s2ncr-stub-visual {
  position: relative;
  border-radius: var(--ncr-radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.s2ncr-stub-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.s2ncr-stub-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(21, 42, 92, 0.95), transparent);
}

.s2ncr-stub-degree-title {
  font-family: var(--ncr-font-display);
  font-size: 22px;
  color: var(--ncr-white);
  line-height: 1.2;
}

.s2ncr-stub-degree-sub {
  font-family: var(--ncr-font-mono);
  font-size: 12px;
  color: var(--ncr-gold);
}

/* Stamped Stamp Badge */
.s2ncr-stub-stamp-box {
  border: 1px dashed rgba(227, 169, 61, 0.4);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--ncr-radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.s2ncr-stamp-data-title {
  font-family: var(--ncr-font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.s2ncr-stamp-data-value {
  font-family: var(--ncr-font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ncr-white);
}

/* Barcode Strip */
.s2ncr-barcode-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.s2ncr-barcode-svg {
  height: 28px;
  width: 140px;
  opacity: 0.7;
}

.s2ncr-barcode-text {
  font-family: var(--ncr-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

/* Hero Entrance Animations */
.s2ncr-hero-pass {
  animation: s2ncr-hero-assembly 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes s2ncr-hero-assembly {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Hero */
@media (max-width: 991px) {
  .s2ncr-hero-pass {
    grid-template-columns: 1fr;
  }
  .s2ncr-hero-headline {
    font-size: 32px;
  }
  .s2ncr-pass-main {
    padding: 28px 24px;
  }
  .s2ncr-pass-perforation {
    display: none !important;
  }
  /* Prevent secondary boarding stub from being vertically stacked underneath on mobile/tablet */
  .s2ncr-pass-stub {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .s2ncr-hero-section {
    padding: 16px 0 24px 0;
  }
  .s2ncr-hero-pass {
    border-radius: var(--ncr-radius-md);
  }
  .s2ncr-pass-main {
    padding: 20px 16px;
  }
  .s2ncr-pass-header-strip {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
  .s2ncr-pass-flight-code {
    font-size: 11px;
  }
  .s2ncr-pass-route-badge {
    font-size: 10px;
    padding: 2px 6px;
  }
  .s2ncr-hero-headline {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  .s2ncr-hero-headline br {
    display: none;
  }
  .s2ncr-hero-subline {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .s2ncr-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 16px;
  }
  .s2ncr-hero-actions .s2ncr-btn {
    width: 100%;
    justify-content: center;
  }
  .s2ncr-hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    padding-top: 12px;
  }
  .s2ncr-hero-trust-item {
    font-size: 12px;
    gap: 6px;
  }
}
