/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  padding-top: calc(86px + 88px);
  padding-bottom: 96px;
  background: var(--navy-900);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 460px at 82% 8%, rgba(46, 110, 242, 0.28), transparent 60%),
    radial-gradient(600px 500px at -5% 90%, rgba(18, 63, 160, 0.35), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-300);
}

.hero .lede {
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta .num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
}

.hero-meta .lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero-visual {
  position: relative;
}

/* Page hero (inner pages) — shorter variant */
.page-hero {
  position: relative;
  padding-top: calc(86px + 68px);
  padding-bottom: 68px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(640px 420px at 88% 0%, rgba(46, 110, 242, 0.26), transparent 60%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--blue-300);
}

.page-hero h1 {
  color: var(--white);
  max-width: 780px;
}

.page-hero .lede {
  max-width: 640px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
}

/* -------------------- Orbit visual (SVG signature graphic) -------------------- */
.orbit-art {
  width: 100%;
  height: auto;
}

/* -------------------- Stat strip -------------------- */
.stat-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-150);
}

.stat-strip .grid-4 {
  gap: 0;
}

.stat-item {
  padding: 52px 24px;
  text-align: center;
  border-left: 1px solid var(--gray-150);
}

.stat-item:first-child {
  border-left: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--navy-900);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-num .plus {
  font-size: 1.4rem;
  color: var(--royal-600);
}

.stat-lbl {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--charcoal-500);
  font-weight: 500;
}

@media (max-width: 860px) {
  .stat-item:nth-child(odd) {
    border-left: none;
  }

  .stat-item {
    border-top: 1px solid var(--gray-150);
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-top: none;
  }
}

@media (max-width: 620px) {
  .stat-item {
    border-left: none !important;
    border-top: 1px solid var(--gray-150);
  }

  .stat-item:first-child {
    border-top: none;
  }
}

/* -------------------- Service cards -------------------- */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.service-card .learn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--royal-600);
}

.service-card .learn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.service-card:hover .learn svg {
  transform: translateX(4px);
}

.service-card.compact {
  padding: 26px;
}

.service-list-group {
  margin-bottom: 44px;
}

.service-list-group h4 {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-list-group h4::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.capability-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--charcoal-600);
  margin-bottom: 8px;
}

.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-500);
}

/* -------------------- Solution cards -------------------- */
.solution-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 220px at 90% -10%, rgba(46, 110, 242, 0.4), transparent 70%);
}

.solution-card .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blue-300);
  position: relative;
  z-index: 2;
  margin-bottom: auto;
}

.solution-card h3 {
  color: var(--white);
  position: relative;
  z-index: 2;
  margin-top: 24px;
}

.solution-card p {
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* -------------------- Technology showcase -------------------- */
.tech-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tech-tab {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--gray-200);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--charcoal-600);
  transition: all 0.25s var(--ease);
}

.tech-tab.active,
.tech-tab:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.tech-panel {
  display: none;
}

.tech-panel.active {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.tech-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px;
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal-600);
  text-align: center;
  transition: all 0.25s var(--ease);
}

.tech-chip:hover {
  border-color: var(--royal-600);
  color: var(--royal-600);
  transform: translateY(-3px);
}

.tech-chip svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 860px) {
  .tech-panel.active {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

/* -------------------- Why choose us -------------------- */
.benefit-row {
  display: flex;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--gray-150);
}

.benefit-row:last-child {
  border-bottom: 1px solid var(--gray-150);
}

.benefit-row .icon-tile {
  margin-bottom: 0;
}

.benefit-row h4 {
  margin-bottom: 6px;
}

.benefit-row p {
  font-size: 0.92rem;
}

/* -------------------- Process timeline -------------------- */
.process-track {
  position: relative;
}

.process-line {
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-200);
}

.process-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--royal-600), var(--blue-400));
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.process-dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--royal-600);
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  transition: all 0.3s var(--ease);
}

.process-step:hover .process-dot {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.process-step h4 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 40px;
  }

  .process-line,
  .process-line-fill {
    display: none;
  }
}

@media (max-width: 620px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -------------------- Leadership -------------------- */
.leader-card {
  text-align: left;
}

.leader-photo {
  width: 100%;
  aspect-ratio: 4/4.6;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--navy-800), var(--navy-900));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.leader-photo svg {
  width: 42%;
  opacity: 0.85;
}

.leader-photo .ph-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.leader-card h4 {
  margin-bottom: 4px;
}

.leader-card .role {
  font-size: 0.85rem;
  color: var(--royal-600);
  font-weight: 600;
  margin-bottom: 12px;
}

/* -------------------- CTA band -------------------- */
.cta-band {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 300px at 100% 0%, rgba(46, 110, 242, 0.35), transparent 65%);
}

.cta-band>* {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  color: var(--white);
  max-width: 520px;
}

.cta-band-full {
  border-radius: 0;
  padding-block: var(--section-pad);
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.62);
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand {
  margin-bottom: 20px;
}

.footer-brand .brand-text .name {
  color: var(--white);
}

.footer-plate {
  display: inline-flex;
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
}

.footer-plate img {
  height: 34px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.9rem;
  margin-top: 18px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}

.footer-social a:hover {
  background: var(--royal-600);
  border-color: var(--royal-600);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h5 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.footer-col li {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col .contact-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-col .contact-line svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--blue-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 26px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 44px 28px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* -------------------- Forms -------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-field .req {
  color: var(--royal-600);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--royal-600);
  box-shadow: 0 0 0 4px rgba(23, 73, 192, 0.1);
  outline: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--charcoal-500);
  margin-top: 14px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(23, 73, 192, 0.06);
  border: 1px solid rgba(23, 73, 192, 0.2);
  color: var(--royal-600);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 20px;
}

.form-success.show {
  display: flex;
}

.form-success svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: 1;
  }
}

/* -------------------- Contact info blocks -------------------- */
.contact-info-card {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--gray-150);
}

.contact-info-card:last-child {
  padding-bottom: 0;
}

.contact-info-card h4 {
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.92rem;
}

.map-placeholder {
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  border: 1px dashed var(--gray-200);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--charcoal-500);
  text-align: center;
  padding: 30px;
}

.map-placeholder svg {
  width: 34px;
  height: 34px;
  color: var(--royal-600);
}

/* -------------------- Pricing -------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.price-card.featured {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
  border-color: var(--navy-900);
  transform: scale(1.03);
  box-shadow: var(--shadow-navy);
}

.price-card.featured h3,
.price-card.featured h4 {
  color: var(--white);
}

.price-card .plan-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--royal-600);
  margin-bottom: 14px;
}

.price-card.featured .plan-tag {
  color: var(--blue-300);
}

.price-card h3 {
  margin-bottom: 14px;
}

.price-card .price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.price-card.featured .price {
  color: var(--white);
}

.price-card .price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal-500);
}

.price-card.featured .price span {
  color: rgba(255, 255, 255, 0.5);
}

.price-card .desc {
  font-size: 0.85rem;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-150);
}

.price-card.featured .desc {
  border-color: rgba(255, 255, 255, 0.12);
}

.price-card ul {
  margin-bottom: 28px;
  flex: 1;
}

.price-card ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.87rem;
  margin-bottom: 12px;
}

.price-card ul li svg {
  width: 16px;
  height: 16px;
  color: var(--royal-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.price-card.featured ul li svg {
  color: var(--blue-300);
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------- Careers -------------------- */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.job-card {
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  transition: all 0.3s var(--ease);
}

.job-card:hover {
  border-color: var(--royal-600);
  box-shadow: var(--shadow-sm);
}

.job-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.job-meta span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal-500);
  background: var(--gray-100);
  padding: 5px 12px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.job-meta svg {
  width: 12px;
  height: 12px;
}

.job-skills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.job-skills span {
  font-size: 0.76rem;
  color: var(--royal-600);
  background: rgba(23, 73, 192, 0.07);
  padding: 4px 10px;
  border-radius: 100px;
}

@media (max-width: 700px) {
  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-card .btn {
    width: 100%;
    justify-content: center;
  }
}

.value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Sample tag */
.sample-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-500);
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

/* -------------------- FAQ accordion -------------------- */
.faq-item {
  border-bottom: 1px solid var(--gray-150);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-900);
}

.faq-q svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  color: var(--royal-600);
}

.faq-item.open .faq-q svg {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a p {
  padding: 0 4px 24px;
  font-size: 0.93rem;
}

/* -------------------- Value / mission cards -------------------- */
.value-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  border: 1px solid var(--gray-150);
}

/* -------------------- Image frame with orbit accent -------------------- */
.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -------------------- Table (feature comparison, sitemap) -------------------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-150);
  font-size: 0.9rem;
}

.compare-table th {
  font-family: var(--font-display);
  color: var(--navy-900);
  font-weight: 600;
}

.compare-table td svg {
  width: 16px;
  height: 16px;
  color: var(--royal-600);
}

/* -------------------- Legal pages -------------------- */
.legal-body h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--charcoal-600);
  font-size: 0.96rem;
  margin-bottom: 12px;
}

.legal-body ul {
  padding-left: 6px;
  margin-bottom: 16px;
}

.legal-body li {
  position: relative;
  padding-left: 20px;
}

.legal-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--charcoal-500);
  margin-bottom: 36px;
}

/* -------------------- Application modal -------------------- */
.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.apply-modal.open {
  opacity: 1;
  visibility: visible;
}

.apply-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 24, 0.6);
  backdrop-filter: blur(3px);
}

.apply-modal-box {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.apply-modal.open .apply-modal-box {
  transform: translateY(0) scale(1);
}

.apply-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.apply-modal-box h3 {
  margin-bottom: 6px;
  padding-right: 40px;
}

.apply-modal-box .lede {
  font-size: 0.92rem;
  margin-bottom: 26px;
}

/* -------------------- Real photo panels -------------------- */
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.photo-frame.ratio-4-3 {
  aspect-ratio: 4/3;
}

.photo-frame.ratio-1-1 {
  aspect-ratio: 1/1;
}

.photo-frame.ratio-16-10 {
  aspect-ratio: 16/10;
}

.photo-frame .photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 22px;
  background: linear-gradient(to top, rgba(5, 11, 24, 0.82), transparent);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* CTA with photo background */
.cta-band.with-photo {
  background: var(--navy-900);
}

.cta-band.with-photo .cta-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-band.with-photo .cta-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.cta-band.with-photo::before {
  z-index: 1;
}

.cta-band.with-photo>* {
  position: relative;
  z-index: 2;
}

/* -------------------- Testimonials -------------------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-quote-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(23, 73, 192, 0.08);
  color: var(--royal-600);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.5;
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-150);
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--royal-600), var(--blue-400));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.testimonial-author .name {
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.92rem;
}

.testimonial-author .role {
  font-size: 0.8rem;
  color: var(--charcoal-500);
}

/* -------------------- Responsive overrides for layout blocks -------------------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 460px;
    margin-inline: auto;
  }

  .hero {
    padding-top: calc(86px + 56px);
  }

  .footer-top {
    row-gap: 44px;
  }
}

@media (max-width: 720px) {
  .cta-band {
    padding: 40px 26px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    justify-content: center;
  }
}